  | |  | Passing data to JavaScript | Passing data to JavaScript
2004-02-20 - By Morten Barklund
Back Just to specify (as I 've spent hundreds of hours on the cross
browser/platform issues).
I will not guarantee the following, but believe it is true :)
Calling javascript from Flash via getURL works on:
Windows/IE4+
Windows/NS4.* (with liveconnect)
Windows/NS6+
Windows/Mozilla (including FireBird)
Mac/IE5+
Opera (both platforms) and Safari (on mac) I cannot remember at present. But
I 'm pretty sure, that it works just fine.
LiveConnect was only necessary with the "old " netscape plugin model, that
existed up until 4.7. Thereafter Netscape is actually Mozilla (NS6 is Moz0.9
AFAIK).
The other way around (from javascript to flash) only Windows/IE and the old
netscape plugin model works (nobody has ns4.7 though).
Personnaly, I 've hacked it through javascript refreshing a hidden frame with
the custom parameters including a swf file doing feedback to main swf file
via LocalConnection - quite brilliant (if I may say so), but only Flash6+.
// Morten Barklund
// DKMMUG Manager
> -- --Original Message-- --
> From: Brian M Riley [mailto:bmriley@(protected)]
> Sent: Friday, February 20, 2004 4:02 PM
> To: flashcoders@(protected)
> Subject: Re: [Flashcoders] Passing data to JavaScript
>
>
>
>
>
>
> make sure u add the liveConnect html param for NN -- here 's a MM technote
> on issues with NN too:
>
> http://www.macromedia.com/support/flash/ts/documents/mozilla_fscommand.htm
>
> -riley
>
>
>
>
>
>
> "Serge "
>
>
> <snikiforovski@(protected) To:
> <flashcoders@(protected) >
>
> gers.com > cc:
>
>
> Subject: Re:
> [Flashcoders] Passing data to JavaScript
> 02/20/2004 09:56
>
>
> AM
>
>
> Please respond to
>
>
> flashcoders
>
>
>
>
>
>
>
>
>
> Hi,
>
> Does getURL( "javascript:_doSubmit( ' "+data " '); "); works in Netscape,
> Mozilla?
>
> Serge
>
>
> -- -- Original Message -- --
> From: "Abdul Qabiz " <abdulq@(protected) >
> To: <flashcoders@(protected) >
> Sent: Friday, February 20, 2004 5:35 AM
> Subject: [Flashcoders] Passing data to JavaScript
>
>
> Hi,
>
> We have a flash file, which has lot of text, that is passed to javascript
> function using getURL( "javascript:_doSubmit( ' "+data " '); ");
>
> There are some technical reasons that 's why we are using javascript.
>
> But when data is huge, javascript function is not called.
>
> Is there any limit for data that can be passed to javascript from flash?
>
> Regards,
> Abdul
>
> -- --Original Message-- --
> From: Martin Klasson [mailto:Martin.Klasson@(protected)]
> Sent: Thursday, January 22, 2004 3:14 PM
> To: 'flashcoders@(protected) '
> Subject: SV: SV: SV: [Flashcoders] Macromedia is wrong ? [ video ]
>
>
>
> Flashcomm has some advantages..
> And I couldnt agree more..
> It should be a part of the FlashMX/2004-product.
> Not as an additional tool.
>
> And there licensing prices is huge, as well as I
> really dont like having bandwidth/user limit because
> of scalability and/or multiple projects using flashcomm services.
>
> Very well.. Macromedia wants to have income of course..
> .. We could all wish for open source-products in the future
> to replace flashComm if not it will be a part of the flash-product
>
>
> -- --Ursprungligt meddelande-- --
> Från: Cedric Muller [mailto:flashcoder@(protected)]
> Skickat: den 22 januari 2004 10:35
> Till: flashcoders@(protected)
> Ämne: Re: SV: SV: [Flashcoders] Macromedia is wrong ? [ video ]
>
>
> Martin + Fodor ;)
>
> this more has to do with the 'marketing/financialTool ' FlashComm ...
> you know, the one that could be for free and that could integrate all
> these technologies for the good of the users ... but here, we are in a
> different equilibrum ;)
>
> truely reminds me of Generator ....
>
> -btw: what is the point of having that option if the user NEEDS to wait
> until the WHOLE video has been downloaded ?
> Rich Media, but poor experience ... ;) unless you pay the price :) and
> here we meet our new friend Flash Comm ... hehe.... some are being
> fooled ...
>
> Pro users do know that....
>
> > (22/01/04 10:11) Hello Martin Klasson,
> >
> > Oh, Ok...
> > Then : Is MM wrong on that matter? Yes. ;-) This is the basis of
> > undocumentation. :D
> > >
> > >
> > > There is no problem,
> > > The reason I started this thread was to point out
> > > that I didnt agree with the video-Whitepaper.
> > > As you can see in the bottom of this mail
> > >
> > >
> > > -- --Ursprungligt meddelande-- --
> > > Från: FODOR [mailto:fodor@(protected)]
> > > Skickat: den 22 januari 2004 09:50
> > > Till: flashcoders@(protected)
> > > Ämne: Re: SV: [Flashcoders] Macromedia is wrong ? [ video ]
> > >
> > >
> > > (22/01/04 9:26) Hello Martin Klasson,
> > >
> > > Flash 7 wouldn 't bring you more on that matter. Once you have your
> > > flv file (exported with the last version of the exporter) you stream
> > > it like
> > > usual.
> > > Where is the problem?
> > >
> > > >
> > > > Hi Cedric
> > > >
> > > > This is a flash 6 production.
> > > > I convert from qt to flv with Sorensson compression suite. Then I
> > > > import the flv into flash, and exports it as an flv.
> > > >
> > > > What better can I do with MX ? .. If I were running mx2004 and had
> > > > the flash 7 plugin as a demand for the project, then I surely could
> > > > do other solutions.
> > > >
> > > > I am streaming that swf-file.. I just preload like 10% and then it
> > > > starts to play...
> > > >
> > > > .. I didnt really understand your reply Cedric :(
> > > >
> > > > / martin
> > > >
> > > >
> > > > -- --Ursprungligt meddelande-- --
> > > > Från: Cedric Muller [mailto:flashcoder@(protected)]
> > > > Skickat: den 22 januari 2004 09:22
> > > > Till: flashcoders@(protected)
> > > > Ämne: Re: [Flashcoders] Macromedia is wrong ? [ video ]
> > > >
> > > >
> > > > truely Martin,
> > > >
> > > > you have a SWF with a Video in it... who wins ????
> > > > man, look at loading a streaming swf, nothing else .... what is
> > > > inbetween, it is up to you ;)
> > > >
> > > > hth,
> > > > Cedric
> > > >
> > > > > Hey Martin, that can 't be right. I just did a site where there are
> > > > > 2 FLV video 's that are embedded into swf 's being served up that are
> > > > > well over a meg or 2 and they start nearly instantly over DSL.
> > > > >
> > > > > I don 't know why that would be the case for an FLV embedded if by
> > > > > design SWF 's load progressively and can play whatever frames have
> > > > > been loaded.
> > > > >
> > > > > Any MM guys have the definitive world on this?
> > > > >
> > > > > John Grden
> > > > > AcmeWebWorks.com
> > > > > www.acmewebworks.com
> > > > >
> > > > >
> > > > > -- --Original Message-- --
> > > > > From: Martin Klasson [mailto:Martin.Klasson@(protected)]
> > > > > Sent: Wednesday, January 21, 2004 11:13 PM
> > > > > To: 'flashcoders@(protected) '
> > > > > Subject: [Flashcoders] Macromedia is wrong ? [ video ]
> > > > >
> > > > >
> > > > > Embedding Video within Flash Player Movies.
> > > > > -However, this approach is not without limitations:
> > > > > "For web delivery, the entire video file must be downloaded from
> > > > > the web server in order for playback to begin. "
> > > > >
> > > > > That cant be right ? Surely I can start playing it earlier then
> > > > > that ? Flash is streaming by nature ?
> > > > >
> > > > > I have read the avove in the macroimedia whitepaper located at:
> > > > > http://www.macromedia.com/devnet/mx/flash/articles/flash_flv.pdf
> > > > >
> > > > > / martin
> > > > >
> > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> > > > > -
> > > > > -
> > > > > -
> > > > > -
> > > > > Supported by Fig Leaf Software
> > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> > > > > -
> > > > > ---
> > > > > Be sure to check the archives and the wiki:
> > > > > http://chattyfig.figleaf.com/
> > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> > > > > ---
> > > > > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101433
> > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> > > > > ---
> > > > > To unsubscribe send a blank e-mail to:
> > > > > Normal Mode: flashcoders-unsubscribe@(protected)
> > > > > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> > > > >
> > > > >
> > > > >
> > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> > > > > -
> > > > > -
> > > > > -
> > > > > -
> > > > > Supported by Fig Leaf Software
> > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> > > > > -
> > > > > ---
> > > > > Be sure to check the archives and the wiki:
> > > > > http://chattyfig.figleaf.com/
> > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> > > > > ---
> > > > > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101436
> > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> > > > > ---
> > > > > To unsubscribe send a blank e-mail to:
> > > > > Normal Mode: flashcoders-unsubscribe@(protected)
> > > > > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> > > > -
> > > > -
> > > > -
> > > > Supported by Fig Leaf Software
> > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> > > > -
> > > > --
> > > > Be sure to check the archives and the wiki:
> > > > http://chattyfig.figleaf.com/
> > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
> > > > --
> > > > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101437
> > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
> > > > --
> > > > To unsubscribe send a blank e-mail to:
> > > > Normal Mode: flashcoders-unsubscribe@(protected)
> > > > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> > > >
> > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> > > > -
> > > > -
> > > > -
> > > > Supported by Fig Leaf Software
> > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> > > > -
> > > > --
> > > > Be sure to check the archives and the wiki:
> > > > http://chattyfig.figleaf.com/
> > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
> > > > --
> > > > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101438
> > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
> > > > --
> > > > To unsubscribe send a blank e-mail to:
> > > > Normal Mode: flashcoders-unsubscribe@(protected)
> > > > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> > > >
> > >
> > > -- ---- ---- ---- ---- ---- ---- ---- ----
> > > Pascal FODOR
> > >
> > > -- ---- ---- ---- ---- ---- ---- ---- ----
> > > fodor@(protected) // flash@(protected)
> > >
> > > ******************************************
> > > Visit: http://fodor.liane.net
> > >
> > > Flash AV Players can be seen at:
> > > http://fodor.liane.net/flash_AV_players/
> > > ******************************************
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
> > > -
> > > -
> > > Supported by Fig Leaf Software
> > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
> > > -
> > > -
> > > Be sure to check the archives and the wiki:
> > > http://chattyfig.figleaf.com/
> > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > > -
> > > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101440
> > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > > -
> > > To unsubscribe send a blank e-mail to:
> > > Normal Mode: flashcoders-unsubscribe@(protected)
> > > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> > >
> > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
> > > -
> > > -
> > > Supported by Fig Leaf Software
> > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
> > > -
> > > -
> > > Be sure to check the archives and the wiki:
> > > http://chattyfig.figleaf.com/
> > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > > -
> > > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101441
> > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > > -
> > > To unsubscribe send a blank e-mail to:
> > > Normal Mode: flashcoders-unsubscribe@(protected)
> > > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> > >
> >
> > -- ---- ---- ---- ---- ---- ---- ---- ----
> > Pascal FODOR
> >
> > -- ---- ---- ---- ---- ---- ---- ---- ----
> > fodor@(protected) // flash@(protected)
> >
> > ******************************************
> > Visit: http://fodor.liane.net
> >
> > Flash AV Players can be seen at:
> > http://fodor.liane.net/flash_AV_players/
> > ******************************************
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > -
> > Supported by Fig Leaf Software
> > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > -
> > Be sure to check the archives and the wiki:
> > http://chattyfig.figleaf.com/
> > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101444
> > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > To unsubscribe send a blank e-mail to:
> > Normal Mode: flashcoders-unsubscribe@(protected)
> > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> >
> >
> >
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101447
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:101450
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104842
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104850
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
>
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104851
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
>
>
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104854
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |