This is a discussion on "when this frame loads in flash, print this text in html..." within the Flash & Multimedia Forum section. This forum, and the thread "when this frame loads in flash, print this text in html... are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
when this frame loads in flash, print this text in html...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
when this frame loads in flash, print this text in html...
hi guys, its probably the most simple thing but when you're a simpleton these things seem so complex the first time round!!
basically, I want to have a series of photos transition in flash. as the photos come in I have the photo display the comments for it. its not search engine friendly though and i need to take the text from the flash file and have it print on the page as the pic comes in. i'm thinking as it hits a certain frame on the flash timeline, the actionscript sends a javascript message to the page to change the property of a div from invisible to visible or something like that, so that when the search engine scrolls the code it can pick it all up. any help would be greatly appreciated... links or direct advice! cheers! |
|
|
|
|||
|
Re: when this frame loads in flash, print this text in html...
You can use
Where function is the name of the javascript function you want to execute. What that javascript would actually look like. I have no clue. Cheers, Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: when this frame loads in flash, print this text in html...
Beautiful! Thanks heaps man I'm pretty sure I should be able to do everything beyond that!!!
|
|
|||
|
Re: when this frame loads in flash, print this text in html...
brilliant. got it working! cheers!
|
|
|||
|
Re: when this frame loads in flash, print this text in html...
actually.. works great in safari... but when I do the following from the flash file in firefox :
Is there something I am missing? I tried:
I don't have internet explorer so I'm not sure if its just firefox thats playing up. Any clues? |
|
|||
|
Re: when this frame loads in flash, print this text in html...
To summarise, the following code works in Safari, but not Firefox
Last edited by cosmicbdog; Jun 6th, 2007 at 06:35. Reason: <strong> to [b] |
|
|||
|
Re: when this frame loads in flash, print this text in html...
Here is what it looks like....
![]() |
|
|||
|
Re: when this frame loads in flash, print this text in html...
Additionally (and please keep in mind this is my clients site) the page I'm currently working on is http://triumphantevents.co.uk/local-index.php which should show the erroneous code in action. If you let it load for a bit the flash images rotation thing will come up and the text will meet the image to match or it will load the javascript page in the window incorrectly.
Thanks for your time! |
|
|||
|
Re: when this frame loads in flash, print this text in html...
Same thing is happening in IE7...
Not sure what is causing that...and I am pretty sure you need the 'inline' piece there for it to work...so.... Give me a bit, never seen this before.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: when this frame loads in flash, print this text in html...
Oh, Internet Explorer as well?
I have looked across 50 different sites of ways to do this javascript code using the getURL and it seems everywhere says to do it this way. Will keep trying. Thanks for your input sgaspar |
|
|||
|
Re: when this frame loads in flash, print this text in html...
Got it! I hope this is not a sign of disloyal behaviour in the cosmic dog, but I got some extra help over at http://www.actionscript.org/forums/s....php3?p=617595
The solution (with flash 8) is:
|
|
|||
|
Re: when this frame loads in flash, print this text in html...
Cool, have you tried using it with the getURL feature and changing it from inline to none?
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: when this frame loads in flash, print this text in html...
Yeah, I tried geturl with 'none' instead of 'inline' and it still did the same thing
Geturl is more code efficient then flash.external stuff I'm imagining? |
|
|||
|
Re: when this frame loads in flash, print this text in html...
I'm not sure I guess I've just never seen it done that way.
It just reinforces my point that there are 20 ways to do the same thing. I don't know which one is more efficiant though.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| actionscript, flash, html, javascript |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a HTML frame inside a Flash? Is this possible? | toenick | Starting Out | 1 | Mar 30th, 2008 12:03 |
| HTML frame development! | FNG | Web Page Design | 8 | Jan 19th, 2008 13:34 |
| EASY PEASY Displaying frame address in another frame question | molotov | JavaScript Forum | 3 | Nov 20th, 2007 17:29 |
| using html text ads in flash animation | DinoDenver | Flash & Multimedia Forum | 0 | Dec 7th, 2005 07:14 |
| html form nested frame target | sj700 | Web Page Design | 1 | Nov 30th, 2005 08:51 |