Click to See Complete Forum and Search --> : fscommand support
stuffofalan
02-08-2004, 09:35 AM
KoolMoves looks exceptional value for money.
Are there any plans for fscommand support? That would be way cool.
Is it possible to transmit data from client-side javascript to a KoolMoves .swf? More specifically, could it be used to create .swfs to work with the FlashSoundApi (http://www.flashsoundapi.com/)? I think I'm basically asking if you can call actionscript functions from javascript like you can with MM Flash?
Thanks in advance,
Alan Hill
necromanthus
02-09-2004, 04:37 AM
There's no need to use JavaScript to add backing music,interactive sound and streaming voice for flash movies.
Flash (and KoolMoves) is able to embed or stream any kind of sounds by default.
After that,you can manipulate each sound with buttons,frame scripts,external events,etc.
p.s.
Try to avoid using FScommands (are rejected in mostly cases)
;)
stuffofalan
02-09-2004, 09:19 AM
Well, I was referring to creating hybrid HTML/Flash sites where the .swf provides the sound. I mean KoolMoves is very cool but I still need combo boxes and document display. Thus I still could use an answer.
As regards fscommands, I didn't understand your answer at all. Who rejects FSCommands? KoolMoves, the Flash Player, the browser? Please explain. FSCommands work with IE on the PC, Mozilla, Firbird, Netscape 6+, Safari 1.2, Opera 7, and then you have stuff like Screenweaver and MDM Flash Studio Pro which harnesses them. Does Koolmoves support them, or are there plans to make it so?
necromanthus
02-09-2004, 09:36 AM
Originally posted by stuffofalan
1) I was referring to creating hybrid HTML/Flash sites where the .swf provides the sound.
2) As regards fscommands, I didn't understand your answer at all. Who rejects FSCommands? KoolMoves, the Flash Player, the browser? Please explain.
1) I can't see any reason to do that.
But YES,KoolMoves supports JavaScript and FS Commands (goto View/Actions/+/ )
2) The most important FS command exec is rejected (for security reasons) by the visitors OS.
Anyway,it's easy enough to emulate this "ancient" method (FS command) using other (and better) techniques.
;)
stuffofalan
02-09-2004, 10:04 AM
>>>>>Originally posted by necromanthus
1) I can't see any reason to do that.
You can't see any reason why someobody might want to trigger a sound if a form validation routine fails? You might even want to trigger an animation. You may not even want any flash graphics at all but just a sound api that works well. Put simply, if I have HTML and Flash in a web app I want them to be able to communicate if possible. That's just good sense.
>>>>>But YES,KoolMoves supports JavaScript and FS Commands (goto View/Actions/+/
Right. Found it. Excellent, thanks.
>>>>>2) The most important FS command exec is rejected (for security reasons) by the visitors OS.
Well, exec is a command for projectors. Are you saying Windows rejects Screenweaver apps tha use 'exec'?
>>>>Anyway,it's easy enough to emulate this "ancient" method (FS command) using other (and better) techniques.
;)
Well I'd please like to hear more about these better techniques, becuase offhand I'm sure the only real way to communicate between the browser and flash player is fscommands. I suppose one could use cookies, but I'm not sure that could be considered better technique. I suppose one could also transmit data from the client to the server then to the flash player, but again I sincerely doubt this could be labelled as an improvement, especially in terms of MVC or MVP.
Cheers,
Alan Hill
necromanthus
02-09-2004, 10:19 AM
Hi Alan,
Originally posted by stuffofalan
You can't see any reason why someobody might want to trigger a sound if a form validation routine fails? You might even want to trigger an animation. You may not even want any flash graphics at all but just a sound api that works well.
You can embed everything inside of the SWF file !
And don't forget that HTML is a STATIC page (you can't exchange variables with a SWF file).
To do that you need ACTIVE pages: PHP,CGI,ASP,etc
Originally posted by stuffofalan
Well, exec is a command for projectors. Are you saying Windows rejects Screenweaver apps tha use 'exec'?
I was talking about ONLINE applications (not about screensavers ...LOL)
Originally posted by stuffofalan
Well I'd please like to hear more about these better techniques, becuase offhand I'm sure the only real way to communicate between the browser and flash player is fscommands.[/B]
The best technique to communicate between the "browser" and the SWF file is to use ACTIVE pages and to send/receive variables (strings,arrays).
Visit my site to see some "samples".
A real PRO doesn't use FS commands ...
cheers
stuffofalan
02-09-2004, 11:38 AM
Originally posted by necromanthus
Hi Alan,
You can embed everything inside of the SWF file !
And don't forget that HTML is a STATIC page (you can't exchange variables with a SWF file).
To do that you need ACTIVE pages: PHP,CGI,ASP,etc
I was talking about ONLINE applications (not about screensavers ...LOL)
cheers
Er, you can exhange variables between javascript and flash (and HTML is not static if you know how to manipulate the DOM, seeing that the browser actually has an interpreter it is actually potentially more flexible than any flash player) You don't *need* server-side stuff. Obviously if you want to use a database you do, but simple variable exchange is quite possible.
http://www.moock.org/webdesign/flash/fscommand/ (see here)
As for you laughing out loud at me mentioning screensavers, I don't really see the joke. Of course, the 'exec' command isn't going to work on browsers. That would completely break os browser security. I really don't see the big deal.
The best technique to communicate between the "browser" and the SWF file is to use ACTIVE pages and to send/receive variables (strings,arrays). Visit my site to see some "samples".
A real PRO doesn't use FS commands ...
Hmmmm, I'm not sure they use Flash intros in 2004 either. What you are saying here makes no real sense. I know I can transmit data from flash player to server using URL variables or what have you, but I'm not interested in that right now. I want the client to handle its own affairs. Why would FSCommands be so much lamer than making a server call, just so you can send the info back to the same client? That's ridiculous. I know lots of Flash developers who are PROS in every sense of the word, and I sincerely doubt any one of them would consider the architecture you're advocating to be professional.
Besides, if I'm working in a Flash projector built-in IE, I wouldn't have a server to call upon necessarily!
Cheers,
Alan Hill
necromanthus
02-09-2004, 11:46 AM
Whatever ...
As I said, KoolMoves is able to work with JavaScript and FS Commands.
It's up to you.
:mrpimp:
stuffofalan
02-09-2004, 12:01 PM
Thanks for that info. I wasn't looking for a flame war or anything. I think we'll be seeing more Flash/HTML hybrid web applications in the future, for various reasons, and thus I honestly believe that fscommands will be useful. I'm glad KoolMoves supports them. If nothing else, together with MDM Flash Studio, and say Python, it creates quite an inexpensive solution for creating multimedia desktop apps.
gusmus
02-09-2004, 09:15 PM
Is this guy serious or what?,, jeeeezzzz,,, with all that jargon he should build his own program (with APS.GSC,PSH.GTF.UFA,,, and anything else that comes to mind.. Talk about picking holes..... ¿¿Who are you working for brother??
stuffofalan
02-10-2004, 08:51 AM
To be fair, all I did was ask a couple of pertinent questions about the capabilities of the .swf files KoolMoves produces.
What I then got was two non-answers, and a comment about "most" fscommands being rejected. I was genuinely interested in that comment, so I pursued it further. It turned out that fscommands specifically documented as being for the projector wouldn't work in a browser. Hardly a big deal.
On being told that FSCommands were not for "real PROS", I was genuinely interested to see an alternative. But the alternative was a hack! Now yes, pros do use hacks, but rarely in preference to a documented system that is architecturally superior.
Basically, this guy necromanthus was a little bit mocking in tone, which is fine if you can back it up and provide a better way of doing things. I'm always interested in that. But when these "pro" methods turn out to be a little silly, I have every right to turn back that acidity on him LOL.:mrpimp:
Oh, and if you don't know what MVC is, and you aspire to be a real PRO, then you needs to be finding out!
necromanthus
02-10-2004, 11:07 AM
I think that's enough (for this topic).
Alan didn't know that KoolMoves is able to work with JavaScript and FS Commands.
Let's leave him to play with FS Commands (in his way).
The End.
gusmus
02-10-2004, 08:55 PM
Maniatic Virtual Cremation
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.