PDA

View Full Version : SWF Buttons / Actions


Florian Loeffler
04-27-2004, 03:40 PM
Hi together,

i am currently evaluating AMS 5.0 and i just have one problem. I`ve a swf movie i want to integrate in a project. This movie only contains buttons. What actions should i apply to the buttons to have a Jump.Page action in AMS? I know it should be done with FS Comman. But is it maybe possible that someone posts a project containing a flash movie with buttons that have these action? What should the FS Command in the swf file should look like, so that i don`t have to script anything in AMS? Is this possible?

Thanks for your answers!
Florian

Stefan_M
04-27-2004, 04:04 PM
take a look at

Flash Menu launching videos (http://www.indigorose.com/forums/showthread.php?t=7030)



Stefan

Desmond
04-27-2004, 04:05 PM
Hi,

You'll definitely have to at least script a Page.Jump action into AutoPlay. The easiest way I can think of for you to do this is as follows:

1. In your flash movie, make each button send an FS command identical to the page name you wish to jump to (i.e. the button jumping the page named "Page3" should return an FSCommand "Page3").

2. In your autoplay application, insert the following script into the On FSCommand event of your flash object:
Page.Jump(e_FSCommand);

With a little luck, that'll do what you want. Play around with it though, have some fun!

Corey
04-27-2004, 06:19 PM
Yep, Desmond's right, that's the easiest way.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Florian Loeffler
04-28-2004, 01:17 AM
Thank you everyone for the reply! I`ve successfully integrated my flash buttons - and they work...


Florian

Corey
04-28-2004, 01:26 AM
Excellent! :yes

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)