Re: [Flashcoders] Design pattern?

2010-01-18 Thread Paul Andrews

Greg Ligierko wrote:

If I did, then for sure there is a better method :)

I did not play with the onBeforeUnload JS event and don't know whether
overriding its handler could work with ExternalInterface. Perhaps you
already considered this. The JS dialog might be annoying but this
could be another alternative.
http://pro-thoughts.blogspot.com/2006/03/onbeforeunload-event.html
  

Hmm. Interesting, but I wouldn't rely on it. Thanks for the link though.

I think I'm about done with the whole thing now - I will implement the 
timer.


Thanks for the heads-up.

Paul

g

Monday, January 18, 2010 (6:29:08 PM) Paul Andrews wrote:

  

Greg Ligierko wrote:


I do not have the feeling how user interacts with the buttons. I am
just guessing that each button will be clicked many times in one
sequence and after reaching the desired state (a,b,c,...c,d,a,B) user
will move the cursor to a next button (or close the window).

If this is the scenario, then maybe a mixture of - on roll out event -
and timer would be effective (still low traffic and save guarantee).
  
  

You've more or less described my original plan!


g


  



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Design pattern?

2010-01-18 Thread Greg Ligierko
If I did, then for sure there is a better method :)

I did not play with the onBeforeUnload JS event and don't know whether
overriding its handler could work with ExternalInterface. Perhaps you
already considered this. The JS dialog might be annoying but this
could be another alternative.
http://pro-thoughts.blogspot.com/2006/03/onbeforeunload-event.html

g

Monday, January 18, 2010 (6:29:08 PM) Paul Andrews wrote:

> Greg Ligierko wrote:
>> I do not have the feeling how user interacts with the buttons. I am
>> just guessing that each button will be clicked many times in one
>> sequence and after reaching the desired state (a,b,c,...c,d,a,B) user
>> will move the cursor to a next button (or close the window).
>>
>> If this is the scenario, then maybe a mixture of - on roll out event -
>> and timer would be effective (still low traffic and save guarantee).
>>   
> You've more or less described my original plan!
>> g
>>
>>


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Exporting a movie file

2010-01-18 Thread jonathan howe
I recommend Macromedia Generator!*

-jonathan

*joking. I spent a lot of time messing around with Generator as a way to
streamline image production about 10 years ago. I'm glad it can be a
punchline now.


On Mon, Jan 18, 2010 at 2:59 PM, Barry Hannah  wrote:

> This is much more complicated than you might imagine.
>
> To export video from dynamic elements (such as your textfield) Flash has
> to export the entire movie as a bitmap sequence frame by frame. Then you
> stitch those bitmaps (pngs or whatever) together server side using
> something like FFMPEG.
> There is no easy way to accomplish any of this.
>
> Have a look at Animoto.com, it's doing something similar, though more
> complex. They take users images/text/music and stitch it all up.
> Hopefully one day they release an "export to video" API!
> Also, they've open sourced a "filmstrip" project which is more geared to
> applying motion blur to actionscript based animations and exporting them
> as video, but there might be something you can use:
> http://labs.animoto.com/2009/06/07/presenting-filmstrip/
>
> Barry.
>
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr,
> Ross (N-SGIS)
>  Sent: Tuesday, 19 January 2010 8:04 a.m.
> To: Flash Coders List
> Subject: RE: [Flashcoders] Exporting a movie file
>
> Here's the scenario.  I have a .swf with a movie clip and a text box.  I
> want to allow a user to add whatever kind of text he wants in the text
> box, he clicks a button, and flash will make a Quicktime of the movie
> with his text that the user can use anywhere.
>
> Thanks
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
> Jason
> Sent: Monday, January 18, 2010 1:43 PM
> To: Flash Coders List
> Subject: RE: [Flashcoders] Exporting a movie file
>
> >> but can flash export a movie clip to a video file (.mov)?
>
> File > Export > Movie > select Quicktime
>
>
> Jason Merrill
>
>  Bank of  America  Global Learning
> Learning & Performance Soluions
>
> Join the Bank of America Flash Platform Community  and visit our
> Instructional Technology Design Blog
> (note: these are for Bank of America employees only)
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
-jonathan howe
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Exporting a movie file

2010-01-18 Thread Barry Hannah
This is much more complicated than you might imagine.

To export video from dynamic elements (such as your textfield) Flash has
to export the entire movie as a bitmap sequence frame by frame. Then you
stitch those bitmaps (pngs or whatever) together server side using
something like FFMPEG.
There is no easy way to accomplish any of this.

Have a look at Animoto.com, it's doing something similar, though more
complex. They take users images/text/music and stitch it all up.
Hopefully one day they release an "export to video" API!
Also, they've open sourced a "filmstrip" project which is more geared to
applying motion blur to actionscript based animations and exporting them
as video, but there might be something you can use:
http://labs.animoto.com/2009/06/07/presenting-filmstrip/

Barry.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr,
Ross (N-SGIS)
Sent: Tuesday, 19 January 2010 8:04 a.m.
To: Flash Coders List
Subject: RE: [Flashcoders] Exporting a movie file

Here's the scenario.  I have a .swf with a movie clip and a text box.  I
want to allow a user to add whatever kind of text he wants in the text
box, he clicks a button, and flash will make a Quicktime of the movie
with his text that the user can use anywhere.

Thanks

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: Monday, January 18, 2010 1:43 PM
To: Flash Coders List
Subject: RE: [Flashcoders] Exporting a movie file

>> but can flash export a movie clip to a video file (.mov)?

File > Export > Movie > select Quicktime


Jason Merrill 

 Bank of  America  Global Learning
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Exporting a movie file

2010-01-18 Thread Merrill, Jason
Nope - that's not going to work.  The Flash player renders dynamic text,
not the Quicktime player.  Quicktime does not support Actionscript.


Jason Merrill 

 Bank of  America  Global Learning 
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr,
Ross (N-SGIS)
Sent: Monday, January 18, 2010 2:04 PM
To: Flash Coders List
Subject: RE: [Flashcoders] Exporting a movie file

Here's the scenario.  I have a .swf with a movie clip and a text box.  I
want to allow a user to add whatever kind of text he wants in the text
box, he clicks a button, and flash will make a Quicktime of the movie
with his text that the user can use anywhere.

Thanks

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: Monday, January 18, 2010 1:43 PM
To: Flash Coders List
Subject: RE: [Flashcoders] Exporting a movie file

>> but can flash export a movie clip to a video file (.mov)?

File > Export > Movie > select Quicktime


Jason Merrill 

 Bank of  America  Global Learning
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Exporting a movie file

2010-01-18 Thread Lehr, Ross (N-SGIS)
Here's the scenario.  I have a .swf with a movie clip and a text box.  I want 
to allow a user to add whatever kind of text he wants in the text box, he 
clicks a button, and flash will make a Quicktime of the movie with his text 
that the user can use anywhere.

Thanks

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Monday, January 18, 2010 1:43 PM
To: Flash Coders List
Subject: RE: [Flashcoders] Exporting a movie file

>> but can flash export a movie clip to a video file (.mov)?

File > Export > Movie > select Quicktime


Jason Merrill 

 Bank of  America  Global Learning
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our Instructional 
Technology Design Blog
(note: these are for Bank of America employees only)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Exporting a movie file

2010-01-18 Thread Merrill, Jason
>> but can flash export a movie clip to a video file (.mov)?

File > Export > Movie > select Quicktime


Jason Merrill 

 Bank of  America  Global Learning 
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Exporting a movie file

2010-01-18 Thread Henrik Andersson

Nathan Mynarcik wrote:

I know you can export a frame of a movie clip to an image, but can flash export 
a movie clip to a video file (.mov)?



Do note that said video will miss several features, most importantly any 
actionscript used.


Use some 3rd party converter instead, the built in exporter can best be 
described with one word: useless.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Exporting a movie file

2010-01-18 Thread Nathan Mynarcik
You can save the fla as an avi file in your publish settings. Is this what you 
are looking to do?


--Original Message--
From: Lehr, Ross (N-SGIS)
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] Exporting a movie file
Sent: Jan 18, 2010 12:18 PM

I know you can export a frame of a movie clip to an image, but can flash export 
a movie clip to a video file (.mov)?

Thanks
Ross
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Exporting a movie file

2010-01-18 Thread Lehr, Ross (N-SGIS)
I know you can export a frame of a movie clip to an image, but can flash export 
a movie clip to a video file (.mov)?

Thanks
Ross
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] external interface-Lightbox in flash (solved)

2010-01-18 Thread Gustavo Duenas
Thanks for the help, I've just edit the lightbox++.js, because it  
appears that it is not working with the regular lightbox.js, there was  
a function to hide the flash and I've just erased, now everything is  
working as normal.


On Jan 18, 2010, at 12:21 PM, Bob Wohl wrote:


This line:


should just be





On Mon, Jan 18, 2010 at 8:25 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

so I change it for the regular lightbox.js or you meant inside of  
the js

file?
Gustavo

On Jan 16, 2010, at 1:33 AM, amol wrote:

It is because of your js   just chang this lightbox++.js   and check



- Original Message - From: "Gustavo Duenas" <
gdue...@leftandrightsolutions.com>
To: "Flash Coders List" 
Sent: Saturday, January 16, 2010 5:09 AM
Subject: Re: [Flashcoders] external interface


solved I did as you mentioned and also I put a folder named images

without seems not to work.
But now I have a problem, when I click and the lightbox is  
launched,  the

flash movie disappear and when I click close on the lightbox img,
the movie appears again, is that normal?


Gustavo
On Jan 15, 2010, at 3:54 PM, Bob Wohl wrote:

Also, just took a quick peep at your code, I'm pretty certain  
your  call

should look like:

  ExternalInterface.call("LightboxDelegate","images/  
cocoabutter.png" ,

"Cocoa Butter by COFINA SA'");

first param is the function name, second 2 would be the params  
you are
passing. I would probably clean this up a little on the JS side  
and

have a
function that accepts the call from flash and handle the call to  
the

lightbox script from there. But that's just my opinion. :)

hth

On Fri, Jan 15, 2010 at 1:47 PM, Bob Wohl   
wrote:


Are you able to get a simple alert to show from a button call?   
Also,

what
browser are you using?



On Fri, Jan 15, 2010 at 11:13 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

Thanks for your reply, I have the allow script access like this:



   var flashvars = {};
   var params = {};
   params.allowscriptaccess = "always";

var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",
"10.0.0",false,flashvars,params, attributes);



I'm testing it over the internet, on my test site.
but it is still not working, I don't get it...there is something
wrong
with my as3? I don't know I didn't realize this matter should  
be so

difficult

Gustavo

On Jan 15, 2010, at 12:57 PM, Bob Wohl wrote:

If you are testing localy you may need to go here and change  
your

privacy

settings to allow the directory you are testing from to   
communicate

with
JS:
<


http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html




Also, you need to make sure your embed script is properly  
set up.

Look at
allowScriptAccess.

B.

On Fri, Jan 15, 2010 at 10:43 AM, Gustavo Duenas <
gdue...@leftandrightsolutions.com> wrote:

Hi, Coders, I've been trying to use External interface to   
activate a



lightbox code I have on my web page, here is the html

EN" "

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>


/>
Untitled Document



var attributes={id:"menuCofina"};
swfobject.embedSWF("menucofina2.swf", "content", "100%", "100%",
"10.0.0",null,null,null, attributes);




script>