all groups > macromedia flash sitedesign > march 2005 >
You're in the

macromedia flash sitedesign

group:

Open Movie At Specific Frame


Re: Open Movie At Specific Frame timberfish
3/16/2005 12:40:16 PM
macromedia flash sitedesign: On 2005-03-16 10:22:08 -0800, "Richard Shaw"
<webforumsuser@macromedia.com> said:

[quoted text, click to view]

Look into using the new FlashVars parameter and you can pass in a whole
string of data that you can break up analyze and then jump to a
particular frame of your Flash movie as needed.
--
The Grass Apple - { www.grassapple.com } news?
Re: Open Movie At Specific Frame Carlo
3/16/2005 2:21:34 PM
Yes you can. Just use a key frame at frame 15 and then you can use the
behaviors to load an external movie or a movie clip located inside the flash
project.



"Richard Shaw" <webforumsuser@macromedia.com> escribió en el mensaje
news:d19tgg$8qg$1@forums.macromedia.com...
[quoted text, click to view]

Open Movie At Specific Frame Richard Shaw
3/16/2005 6:22:08 PM
I wish to build a store with Flash to work with Google's Froogle. That is only
possible if I can provide Froogle with a link to each separate product "page",
each of which would be in a separate frame in the movie. Is is possible to
pass any parameters in a hyperlink from a webpage to open a Flash movie
anywhere in the movie. For example, can I open a flash movie at frame 15
instead of at frame 1.

Thanks.
Re: Open Movie At Specific Frame timberfish
3/17/2005 1:28:22 AM
On 2005-03-16 21:47:48 -0800, "Richard Shaw"
<webforumsuser@macromedia.com> said:

[quoted text, click to view]

Okay, well I already answered part of this question - the part about
how to direct yourself to a specific area of your Flash movie. The
other details you added about the links via Google are a little odd
though. But I'll let you worry about that part and how Google indexes
links etc...

Regardless, as I said before you can easily jump to a keyframe in your
movie by using FlashVars or by using the old method of passing in value
pairs by using the query string directive.

If you want to just link directly to the SWF and jump to a frame then
you'd have the link like this...
http://mydomain.com/myflash.swf?goframe=20

Then on the first keyframe of your Flash timeline you can reference the
variable "goframe" (this can be any variable name you choose) and then
jump to the frame that it specifies.

Like this on frame 1 of your flash timeline:
gotoAndStop(goframe);

In the case above this would be the same as saying gotoAndStop(20);

FlashVars works the same way, but relies on you having your Flash file
embedded in an html file and then you'd have to link to that html file,
passing value pairs to it and then to the FlashVars parameter.
--
The Grass Apple - { www.grassapple.com } news?
Re: Open Movie At Specific Frame Richard Shaw
3/17/2005 5:47:48 AM
I don't think this is the solution. Perhaps I misunderstand. To elaborate my
hypothetical scenario. let's say I have 5 products (A, B, C, D, and E), each
advertised separately on say Google, so that when the visitor to the search
engine clicks on my advertisement for product A, or B, or C, or D or E (just
one product per advertisement), that URL would go to the appropriate keyframe
within the Flash movie. The frame would STOP, of course, and wait for User
input. If product A were at frame 15, B at frame 20, C at 25, D at 30 and E at
35, for example, can I create a link in a separate standard HTML page for each
product (as would be the case with the Google advertisement) that would open
the Flash movie at the appropriate frame for the product of interest to the
Visitor? The key is that there is no loaded Flash movie at the outset, the
HTML link from the search engine advertisement would call and launch the movie
and hopefully open it to the correct frame for the product of interest, instead
of opening at frame 1.
AddThis Social Bookmark Button