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

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post February 20th, 2008, 9:40 am

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?
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 20th, 2008, 9:40 am

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post February 20th, 2008, 11:03 am

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
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post February 20th, 2008, 11:49 am

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.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post February 20th, 2008, 12:20 pm

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
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post February 20th, 2008, 12:26 pm

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
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post February 20th, 2008, 12:30 pm

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.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post February 20th, 2008, 12:37 pm

very interesting read graphixboy
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post February 20th, 2008, 12:54 pm

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
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 47 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.