Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Telling a pop up window .swf file what frame to go to...
From: Tom Wolfe
Date: Thu, 27 Apr 2000 00:25:12 +0100

Having a heck of a time accomplishing this... Tried setting a variable with
a button then calling a javascript to open a new window then sending the
variable to be picked up by the javascript on the new window to go to the
frame wanted once all frames are loaded. The new javascript isn't picking up
the variable sent and I'm not sure how to get with the new windows
javascript (or if it's possible for that matter)... Button code is:

On (Release)
Set Variable: "Test" = 6
Get URL ("javascript:doitNewsRoom()", vars=POST)
End On

If I can grab the variable "Test" with the javascript of my pop-up window
I'm off to the races...

Can anyone help me a bit?

Thanks.

Tom

-----Original Message-----
From: Marc Hoffman, Poison Dart Frog Media
[mailatdartfrogmedia [dot] com (mailto:mailatdartfrogmedia [dot] com)]
Sent: Thursday, April 20, 2000 12:05 PM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Telling a pop up window .swf file what frame to go
to...


At 11:01 AM 4/19/00 , you wrote:

>I open a pop-up html windows with a .swf file using a button and javascript
>from my original movie. Can I tell the new flash movie what frame to go to
>within the new movie with my javascript or something to that affect?
>

yes but you will need to be sure the movie has loaded to the targeted
frame, otherwise the JS "go-to) cannot succeed. Might need a
cross-communication: loading movie loops in a few blank frames while it
uses "if frame is loaded" to determine if the (potentially) targeted frame
is ready, then uses FS Command to trigger the JS function that calls the
appropriate frame. This way you could name the JS function the same but
modify it in different contexts (different pop-up windows) to make Flash go
to different frames.

Marc Hoffman

Poison Dart Frog Media
http://www.dartfrogmedia.com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]