On 2005-03-16 21:47:48 -0800, "Richard Shaw"
<webforumsuser@macromedia.com> said:
[quoted text, click to view] > 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.
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?