Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
Hi Octane. (get it? ) your code is correct. Just make sure in AMS you are inserting the page jump inside the Flash object's "ON FSCommand" event area and you should be fine. Also make sure your Flash movie is being played to the point in the timeline where your fscommand action exists. Other than that you should be fine. :yes
Just a thought. Could it be "Page1" you meant to type instead of "page1"?
Re: AutoPlay Media Studio 4.0 and Flash Interaction
[img]/ubbthreads/images/icons/smile.gif[/img] HIgh praise from yourself, thanks. Yep we own Swish so I figured it's high time I got with the program. [img]/ubbthreads/images/icons/smile.gif[/img]
Re: AutoPlay Media Studio 4.0 and Flash Interaction
Corey,
You - providing Swish source files ?
Its good to see you pandering to the mere mortals, and all without a lecture on how good Macromedia Flash MX is...
[img]/ubbthreads/images/icons/laugh.gif[/img]
As always, excellent advice and a download
this forum is wonderful, and you are omnipresent, maybe the two are connected ?
If you were to need any encouragement please consider this as such.
Re: AutoPlay Media Studio 4.0 and Flash Interaction
Well that's a correct way too, but it just depends on what you need. If your needs are simple, keep the buttons and code simple. If your needs start to getmore complex, then you might want to use arguments and IF statements. As a rule I generally try to keep all my stuff as tiny and simple as possible because it's easier on my brain when I have to go back and edit things, etc...
Re: AutoPlay Media Studio 4.0 and Flash Interaction
Yes!
I was trying to make it too complicated....using "arguments". Your version used the basic idea of a property....any property, in this case a single digit number in the "command" area of swish's ADD ACTION with NO argument. And it worked great. You used the AMS Flash command, "get.property".
Actually, just prior to reading the post, I was working on making this work with:
%Command% = FlashObject[Flash1].GetProperty ("Last FSCommand Args")
AND
IF.....IF END statements, similar to what Argo referenced in Brett's posting. And......that worked too.
Okay. That's so helpful. Thanks for the visual and the files.
Re: AutoPlay Media Studio 4.0 and Flash Interaction
OK just to show you how easy it is I whipped up a swish file and an AMS project which uses it, took less than 5 minutes... OK so I built some simple buttons in swish (Swish source file is included in the zip file) and then exported as .swf then added it as a flash object in AMS and set it up. Check out the AMS source file. I kept it real simple, there's only two actions in the entire project and they can be found on the flash object's OnFSCOmmand event (on page "swish") File is here:
Re: AutoPlay Media Studio 4.0 and Flash Interaction
+sorry still need help.
Corey wrote: "Ok so simply setup an action here which gets the last fscommand arg value and then use that to trigger a page jump (or whatever)... SO for example if "OnFSCommand" the "LastFSCommandArg" is "page1" then you would jump to page 1 with a page jump action, etc. "
I'm not sure how to set this last part up. I've got the "Last....Arg" and then a page jump....but can't get the next button to fire a different page.
Re: AutoPlay Media Studio 4.0 and Flash Interaction
Hi. Ok if you attach an fscommand to a button, you notice it is two part, i.e.
fscommand ("exec","file1");
The first bit "exec" is the name of the fscommand and the second bit "file1" is the fscommand arg (argument) in this example.
OK so let's say you export a .swf from Swish which contains 3 buttons and each of those buttons has an fscommand on it, and then you import that into AMS as a flash object. You would want to set up the fscommands before exporting from swish as such for example:
Then you simply double-click on the flash object to enter it's actions editor and look for the OnFSCommand event. That means whenever that .swf fires an fscommand (button pushed) the objcet will react by executing all actions in this event area.
Ok so simply setup an action here which gets the last fscommand arg value and then use that to trigger a page jump (or whatever)... SO for example if "OnFSCommand" the "LastFSCommandArg" is "page1" then you would jump to page 1 with a page jump action, etc.
Use page inheritance if you wish to have your navbar appear on all 3 pages by setting up a master page with the flash object and then setting your 3 pages to "inherit from page" background...
working within Swish 2.0 to create a swf object with a list of buttons. used fscommand "exec" and simple "argument" (name) for each button. In this example, I have three (eventually more) buttons assigning a different argument to each. Once I import to AMS, I'm not sure how to get the buttons to fire separate commands.
I have read the tutorial but not sure (yet) how to set the firing of the buttons to simply change pages in AMS. Also not sure of the use of "last fscommand" "args" etc. for this simple purpose. ( IF statements seem necessary here too.)
Any help appreciated to figure this out and get this button list to connect to separate page jumps.
Leave a comment: