Question about <!--text used in the movie-->

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

Quote:
<!--url's used in the movie-->
<!--text used in the movie-->


I basically know how to use those lines and what to do with them, but say my movie has maybe 50 pages of text content (one main "container" movie that loads external swf's for content). Is there a more efficient way than pasting all that content in the comments?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

If you've got it setup so that sections of the movie can be bookmarked with a browser by adding #hashes to the URL, you can have PHP/etc decide which content to place there when the request is made.

For example,
//dead link

The way that one's setup, Flash knows to load a certain video when the page loads because Flash and the browser communicate with ExternalInterface class (Flash 8+)
The server could pluck that #hash & know which content to add to the page.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

That's a bit more elaborate than I had in mind, however, making a mental note of it for future reference. This is primarily to improve SEO for my company's existing flash website. http://www.alaron-nuclear.com I don't want to make "major" changes to it because I'm organizing a complete makeover of the site to begin with. But I do want to get some things in place for SEO. The site never really has been very well optimized.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

How about somthing like this.

Make the front page take a GET variable.
Code: [ Select ]
index.html?page=1 ... 50


Rig it to change the contents between those comments depending on what's recieved.
mod_rewrite the section titles into some links
Code: [ Select ]
/p23-nuclear-waste-disposal.html

Code: [ Select ]
RewriteRule ^p(\d+)- /index.html?page=$1


Then on every page, include those links right above the content.
Code: [ Select ]
<!--url's used in the movie-->
<a href="/p23-nuclear-waste-disposal.html">Nuclear Waste Disposal</a>
<!--text used in the movie-->
<?php include(intval($_GET['page']) . '.xml'); ?>
  1. <!--url's used in the movie-->
  2. <a href="/p23-nuclear-waste-disposal.html">Nuclear Waste Disposal</a>
  3. <!--text used in the movie-->
  4. <?php include(intval($_GET['page']) . '.xml'); ?>
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

Here's another system thats quite complex and in-depth to impliment. However, "FAUST" seems to be more of a long term solution to the real reason for using the included text/urls stuff...

http://blog.space150.com/2007/1/11/faust-flash-augmenting-standards
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

I appreciate the ideas.

2 problems.

1) the site runs on a Windows server on IIS 6 so mod_rewrite is out.
2) if you look at http://www.alaron-nuclear.com/main.html you'll see how the site works. main.html loads the container movie. The remaining content of the entire flash site are all individual flash files that load the content where the animation is, via the navigation links. Maybe I'm not entirely understanding your suggestions, but the way I'm reading it, I don't think I can do it with the way the site is designed right now. At least not without a lot of effort that I don't want to waste the time on since I'm going to redo it anyway.

However, your suggestions are definitely things I hadn't thought of that I'll keep in mind for the redo.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

very interesting read graphixboy
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

Yeah it made my head hurt the first time I read it. But after further attempts to wrap our heads around it all, the interactive shop were I work is actually considering implementing at least a few of the principles

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 8 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.