Re: [Flashcoders] converting .mov to .flv

2007-06-18 Thread master
Hi, Jim it is easy to convert your mov files to flv using Flash Video MX at http://www.flash-video-mx.com/video_to_flash_web/ Best regards! master 2007-06-18 From: Jim Greiner Sent: 2007-06-16 02:13:30 To: flashcoders@chattyfig.figleaf.com CC: Subject: [Flashcoders] converting .mov

[Flashcoders] Input field bug in firefox when embedding swf with WMODE as transparent og opaque

2007-06-18 Thread Martin Baltzer Hennelund
Hi, I just finished creating af website where various swf files is embedded transparently. This is done in order to be able to place javscript popup wondows on top of the flash. Unfortunately I discovered that this causes a weird bug in firefox. Apparently no special characters (produces by the

[Flashcoders] custom mouse pointer using Actionscript 3.0

2007-06-18 Thread Digg Yeah
Hi All, I tried the example for custom mouse pointer as shown in Flash cs3 documentation. It works fine. But when the pointer graphics is added from library, it works in a weird way. Mouse gets over the pointer graphics resulting in flickering and choppy animation. I have posted the source

[Flashcoders] Gaia v1.0.3 Update!

2007-06-18 Thread Steven Sacks
The Gaia Framework for Adobe Flash v1.0.3 Update is available now. http://www.gaiaflashframework.com/forum/index.php?topic=48.0 New in 1.0.3: On-Demand Assets - Assets can now be set to not preload with their Page and instead you control when they load using the simple assets API, and the

[Flashcoders] AS to UML tool

2007-06-18 Thread Pedro Taranto
which tools do you use/recommend to generate a diagram classes FROM AS2 code ??? --Pedro Taranto ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Flash8 Remoting 2.0

2007-06-18 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Has anyone been able to install the Flash8 Flash Remoting 2 components from adobe's website. I have a new computer with XP Pro and when I try to install this MSI it gives me an error message of InstallScript is either missing or a newer version needs

[Flashcoders] wmode performance headache

2007-06-18 Thread Martin Klasson
Hi Everyone, I got a campaign which is using some intense animations, and everything works well and fast as usual in the flash IDE. but in the browser it doesnt reach the same speed, as usual, BUT, in Firefox, when setting wmode to opaque, than it really goes great, the fps-counter I have

[Flashcoders] External preloader using loadClip() - is it a good idea?

2007-06-18 Thread Alexander Farber
Dear flash coders, I wonder, if it is a good idea at all and surprisingly can't find any related discussions in the archive - I have a bigger Main.swf (224 KB, because of playing card pictures + v2 components) and for preloading it I've created this (only 400 bytes small) Load.swf of the same

[Flashcoders] Re: External preloader using loadClip() - is it a good idea?

2007-06-18 Thread Alexander Farber
Sorry, a small copy-paste typo - the function below is onLoadProgress On 6/18/07, Alexander Farber [EMAIL PROTECTED] wrote: function onLoadInit(target_mc:MovieClip, loaded:Number, total:Number):Void { load_txt.text = Math.ceil(loaded * 100 / total) + '%'; }

Re: [Flashcoders] wmode performance headache

2007-06-18 Thread Digg Yeah
In normal situation, flash player draws directly to the rectangular area of screen it resides in . But when wmode is set, the job is routed through browser. So basically, the setting wmode value puts performance at the mercy of the browser . If the browser has a bad implementation of wmode, then

RE: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-18 Thread Merrill, Jason
That is a nice solution, but it leaves me with the problem that starting from one point (3,2) it only produces a set of points of ring directly around the selected point. I am looking for a solution to get _all_ the points, from a certain point and the move in a ring towerds the outside of a

RE: [Flashcoders] wmode performance headache

2007-06-18 Thread John Dowdell
I don't have full details about changes in each browser version. There are two performance hits described here: (a) running things in a browser (Projectors (and presumably Apollo) are fastest; different browsers have different strategies in allocating processor cycles to plugins); (b)

RE: [Flashcoders] Input field bug in firefox when embedding swf withWMODE as transparent og opaque

2007-06-18 Thread John Dowdell
Re: Some version of Firefox apparently stops ALT-key characters entered in SWF textfields when WMODE is used. That might be true. First step would be the Firefox documentation -- check OS browser version against known issues, and either ask your audience to upgrade or just stopping trying to

[Flashcoders] Masks and components

2007-06-18 Thread ben gomez farrell
Hey everyone, So this is especially because I want to try Flex out (always been doing Flash). I recently had some Flash CS3 training and got to play for a bit with the button component in Flash. Unfortunately, in the tutorial, I put the button component behind a mask in the demo. Of course,

[Flashcoders] Slow Audio on Mac, but not PC??

2007-06-18 Thread Jay Carlson
I'm still trying to work on this slow audio thing: I've created a flash file with audio that follows text on the screen. but when I put it on the web, every time the page loads on a mac, the animation lags a bit while the audio is right on. however, I viewed the page on a PC this weekend

Re: [Flashcoders] Re: External preloader using loadClip() - is it a good idea?

2007-06-18 Thread Alexander Farber
Thank you, but unfortunately this: On 6/18/07, Digg Yeah [EMAIL PROTECTED] wrote: [to prevent cacheing, ToolsInternet optionstemporary internet files settingscheck every visit to page ] won't clear the flash cache for me: I don't see my preloader Load.swf anymore, I see the Main.swf

Re: [Flashcoders] Re: External preloader using loadClip() - is it a good idea?

2007-06-18 Thread Digg Yeah
To see the preloader: Test the movie in flash ide itself. Control Test movie This will publish and open your swf. From View Download settings choose a very small value [or you can set your own value ] Now try ViewStimulate download. On 6/18/07, Alexander Farber [EMAIL PROTECTED] wrote:

RE: [Flashcoders] Re: External preloader using loadClip() - is it a good idea?

2007-06-18 Thread Merrill, Jason
On 6/18/07, Digg Yeah [EMAIL PROTECTED] wrote: _root is a reference to the root timeline of a swf. Its not a movieclip. That is an incorrect statement. _root is a reference to a MovieClip. _level0 is also a reference to a MovieClip. The timeline is only a Flash IDE visual representation of a

Re: [Flashcoders] Re: External preloader using loadClip() - is it a good idea?

2007-06-18 Thread Alexander Farber
Hello all again, I've solved my problem of the loadClip('Main.swf', ...) delivering the same old version of the Main.swf by the standard trick of appending a random string. The minor problem left is that I have to copy my authentication variables manually by doing: target_mc.userid =

Re: [Flashcoders] converting .mov to .flv

2007-06-18 Thread Jim Greiner
Thank you. It seems that this requires a Windows compatible system, though, and I'm on a Mac. I'll look into it more thoroughly. Best, Jim On 18/06/2007, at 2:25 AM, master wrote: Hi, Jim it is easy to convert your mov files to flv using Flash Video MX at

Re: [Flashcoders] converting .mov to .flv

2007-06-18 Thread Alexander Farber
Maybe you could do it with mencoder? http://www.mplayerhq.hu/DOCS/HTML/en/mencoder.html Available for all systems, incl. Win + Mac From: Jim Greiner I'm looking for an easy, inexpensive way to convert my .mov QuickTime movies ( 2 to 10 minutes long) to .flv in order for me to put them on

Re: [Flashcoders] OT - OT FLV Encoder Tools / tips

2007-06-18 Thread Amir T Rocker
Hi try to set the On2VP6 codec set up to 700 K video data rate - thats about the best quality you can get :) It may be too big though to be displayed smoothly :) hope it works for you best regards amir Am 07:00 PM 6/10/2007 schrieben Sie: Hi, This is OT and I am googling too, but my we

[Flashcoders] Loading a swf from another swf

2007-06-18 Thread Cary Ho
Hi Everyone, I have a swf file, that loads other swf files. I have code in my loader swf file: function init(){ var url:String = page1.swf; var urlReq:URLRequest = new URLRequest(url); ldr = new Loader(); ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded);

RE: [Flashcoders] Loading a swf from another swf

2007-06-18 Thread Merrill, Jason
ldr = new Loader(); You're using the Loader class instead of the MovieClipLoader class? Isn't loader more for UI components and not external .swfs? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___

RE: [Flashcoders] Loading a swf from another swf

2007-06-18 Thread David Ngo
I believe he's using AS3's Loader. Cary, I believe the url's would be relative to the container SWF or HTML. So if your SWFs are sitting in a folder called 'swf' and your HTML is in the root, then all of your files must have a url of 'swf/file'. David -Original Message- From: [EMAIL

Re: [Flashcoders] Masks and components

2007-06-18 Thread R�kos Attila
I don't think that this is a bug, rather a simple lack of a feature. You can mask device fonts with masks created by script (instead of mask layers), or embed the font and it will be maskable by mask layers. Attila ___

Re: [Flashcoders] Flash 8 slow animation online, but not local??

2007-06-18 Thread John Dowdell
Jay Carlson wrote: so I've made a short commercial using a lot of keyframing with text and such that has embedded audio to go with it. I have the audio aligned with the text and it works fine when I test the movie and also when I publish it. but when I stick it on the web, the animation

Re: [Flashcoders] Slow Audio on Mac, but not PC??

2007-06-18 Thread Duncan Reid
Hi Jay, Just trying to help by clearing out the obvious here as i didn't see it stated in your post, but is the audio set to 'stream' or 'event'? I could be wrong but I thought that the player would in fact skip frames in order to keep up with the audio if it was set to 'stream' Other than

Re: [Flashcoders] Slow Audio on Mac, but not PC??

2007-06-18 Thread Jay Carlson
Dunc, hey, the audio has just been dropped into the frames where I want it to start (event?)...should I change that to be brought in dynamically? I don't know why it would work correctly on a PC and not a mac, though... On Jun 18, 2007, at 2:41 PM, Duncan Reid wrote: Hi Jay, Just

Re: [Flashcoders] Slow Audio on Mac, but not PC??

2007-06-18 Thread Duncan Reid
Hi Jay, If it's set to 'event' it will play pretty much independant of the timeline and if your machine is beefy enough to keep up with the animations while it's playing you probably wouldn't have noticed it. if you set it to 'stream' it will play at your movies framerate and skip frames to

Re: [Flashcoders] Loading a swf from another swf

2007-06-18 Thread Cary Ho
Yeah, im using action script 3. I got it working now, thanks for the info! David Ngo wrote: I believe he's using AS3's Loader. Cary, I believe the url's would be relative to the container SWF or HTML. So if your SWFs are sitting in a folder called 'swf' and your HTML is in the root, then all

[Flashcoders] AS3 new Class from string

2007-06-18 Thread Patrick Matte|BLITZ
Hey fellows, in AS3 how can I create class instances from a list of classes names. Take for example something like this: import Circle; import Square; import Triangle; var list:Array = new Array(Circle,Square,Triangle); for(var i=0;ilist.length;i++){ var class = new list[i](); }

Re: [Flashcoders] Grid - getting neighbouring positions

2007-06-18 Thread elibol
You might repeat the algorithm for getting the first ring on each cell that makes up that ring. A lazy way to do it would be to exclude the cell that the ring is originating from, and any cells that have already been found. A better solution would be to get the angle between the center and the

Re: [Flashcoders] Slow Audio on Mac, but not PC??

2007-06-18 Thread Jay Carlson
dunc, hey, thanks for the info, I changed it to stream and it seems to have helped. thanks! Jay On Jun 18, 2007, at 3:14 PM, Duncan Reid wrote: Hi Jay, If it's set to 'event' it will play pretty much independant of the timeline and if your machine is beefy enough to keep up with

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread elibol
Not sure since eval() is gone. Try keeping a reference for each class in some object and use it like a hash map. import Circle; import Square; import Triangle; var classes:Object { Circle:Circle , Square:Square , Triangle:Triangle }; var list:Array = new Array(Circle,Square,Triangle);

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread Jim Kremens
Just remove the quotation marks from your array so it looks like this: var list:Array = new Array(Circle,Square,Triangle); Assuming your import statements are right, your code will work. Jim Kremens ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread Jim Kremens
There's also this: var ClassRef:Object = getDefinitionByName(flash.display::Sprite); var element:Sprite = new ClassRef(); That allows you to really use a string and not a class reference, which is what I think you want... But, as with Flash 8, the class reference must really exist in your swf

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread elibol
Actually, I would do it how Jim suggested - using the getDefinitionByName function. It's that less involved solution I did not know about. Where is this function documented? On 6/18/07, Jim Kremens [EMAIL PROTECTED] wrote: There's also this: var ClassRef:Object =

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread Muzak
flash.utils.getDefinitionByName() There's some more useful stuff in the flash.utils package. Have a look in the docs. Muzak - Original Message - From: Patrick Matte|BLITZ [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, June 18, 2007 10:24 PM Subject: [Flashcoders]

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread jtgxbass
In AS3 is done like this... import flash.utils.getDefinitionByName; var ObClass:Class = getDefinitionByName( fully.qualified.class.name ) as Class; var instance = new ObClass(); On 6/18/07, elibol [EMAIL PROTECTED] wrote: Not sure since eval() is gone. Try keeping a reference for each

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread jtgxbass
Jim: getDefinitionByName(flash.display::Sprite); Should read: getDefinitionByName(flash.display.Sprite); I think. On 6/18/07, jtgxbass [EMAIL PROTECTED] wrote: In AS3 is done like this... import flash.utils.getDefinitionByName; var ObClass:Class = getDefinitionByName(

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread elibol
I see what you mean Jim. Maybe it's best used for classes loaded via swc libraries. On 6/18/07, elibol [EMAIL PROTECTED] wrote: Actually, I would do it how Jim suggested - using the getDefinitionByName function. It's that less involved solution I did not know about. Where is this function

Re[2]: [Flashcoders] Masks and components

2007-06-18 Thread R�kos Attila
bgf I think if it's set to device it still won't work bgf whether the font is embedded or not (if I put my mask in a layer). Device fonts are not embedded fonts - if a font is embedded, then it cannot be a device font. Components use device (not embedded) fonts by default, but you can change

Re: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-18 Thread Jiri Heitlager | dadata.org
I'll take it ;) thanks for everybody's help. Jiri Merrill, Jason wrote: That is a nice solution, but it leaves me with the problem that starting from one point (3,2) it only produces a set of points of ring directly around the selected point. I am looking for a solution to get _all_ the

Re: [Flashcoders] Masks and components

2007-06-18 Thread ben gomez farrell
Thank you! That's exactly what I was looking for. I guess I didn't get to the point quick enough that I assumed that components were made with device fonts which wasn't adequate if I wanted to use it behind a mask. Since I was assuming that (and apparently I was right), I wanted to know if

[Flashcoders] Embed statements in AS3 (not mxml)

2007-06-18 Thread Jim Kremens
Hi all, Boy is it hard to get information on AS3 - not Flex, not Flash - just AS3. How can I embed multiple assets in one class? With Flex, you can apparently do this: .myPlainStyle { fontFamily: Myriad Web Pro; fontSize: 24; } .myItalicStyle { fontFamily: Myriad Web Pro; fontSize: 24;

[Flashcoders] Re: Embed statements in AS3 (not mxml)

2007-06-18 Thread Jim Kremens
Oh, I am using Flexbuilder, not CS3. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized

[Flashcoders] 'springing' video players, section playback of video

2007-06-18 Thread nik crosina
Hi, Is it possible to 'spring' a video player? I am thinking of an interface with nine TV screens, ready to play back a clip. When the user is clicking on one, the others shrink with a 'springing' movement, the clicked on one enlarges, again, with a 'springing' motion. Has any of you done

Re: [Flashcoders] Embed statements in AS3 (not mxml)

2007-06-18 Thread Muzak
[Embed] metadata is Flex only. In Flash you embed fonts through the library or by setting a dynamic textfield to embed a particular font. regards, Muzak - Original Message - From: Jim Kremens [EMAIL PROTECTED] To: [EMAIL PROTECTED] Figleaf. Com flashcoders@chattyfig.figleaf.com Sent:

[Flashcoders] AS3 : Disabling layers in a loaded clip

2007-06-18 Thread August Gresens
Hello Quick question. In a AS3 flash.display.Movieclip that I've loaded with the Loader, is there a way to dynamically disable layers within the loaded clip? Thanks, August -- -

Re: [Flashcoders] Re: Embed statements in AS3 (not mxml)

2007-06-18 Thread Muzak
In that case, wrong list: http://tech.groups.yahoo.com/group/flexcoders/ But I'm pretty sure google will return something useful when searching for AS3 Embed font metadata regards, Muzak - Original Message - From: Jim Kremens [EMAIL PROTECTED] To: [EMAIL PROTECTED] Figleaf. Com

[Flashcoders] (no subject)

2007-06-18 Thread Gustavo Duenas
hi coder I had to fragment my thread , I'm trying to create a loop in a as project in flex, in order to set up some buttons, this is the code for the loop (which is not working and gave me errors every single time I run . public function buttons():void{

RE: [Flashcoders] (no subject)

2007-06-18 Thread David Ngo
You need to add the 'var' keyword for your iterator in the for loop. You also need to change your comparison evaluator to '' and not ''. For your second error, SimpleButton doesn't have a text property you can set. See: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Simp

Re: [Flashcoders] (no subject)

2007-06-18 Thread Gustavo Duenas
any idea about how can I set the text in the button or is any other buttons component is AS3? Regards. Gustavo On Jun 18, 2007, at 7:04 PM, David Ngo wrote: You need to add the 'var' keyword for your iterator in the for loop. You also need to change your comparison evaluator to '' and not

Re: [Flashcoders] AS3 : Disabling layers in a loaded clip

2007-06-18 Thread Muzak
There are no layers in a compiled swf. - Original Message - From: August Gresens [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19, 2007 12:33 AM Subject: [Flashcoders] AS3 : Disabling layers in a loaded clip Hello Quick

RE: [Flashcoders] AS3 new Class from string

2007-06-18 Thread Patrick Matte|BLITZ
But using getDefinitionByName, can you find a class that's inside a loaded swf? Like in this example, Test is a class inside test.swf but I get an Error #1065: Variable Test is not defined. But it works fine if I call getDefinitionByName from within test.swf public function

[Flashcoders] getDefinitionByName from external swf

2007-06-18 Thread Patrick Matte|BLITZ
Using getDefinitionByName, can you find a class that's inside a loaded swf? Like in this example, Test is a class inside test.swf. public function GetDefinitionByNameExample() { var request:URLRequest = new URLRequest(test.swf); var loader:Loader = new Loader();

Re: [Flashcoders] AS3 new Class from string

2007-06-18 Thread Muzak
Look up: ApplicationDomain.getDefinition() flash.system.ApplicationDomain flash.system.LoaderContext.applicationDomain regards, Muzak - Original Message - From: Patrick Matte|BLITZ [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19, 2007 1:23 AM Subject: RE:

RE: [Flashcoders] (no subject)

2007-06-18 Thread David Ngo
AFAIK, there is no other Button-type class aside from SimpleButton in AS3's libraries. You could extend SimpleButton and add in a TextField. Then create a wrapper method to set the text property on your extended button to set the text on the TextField within. -Original Message- From:

RE: [Flashcoders] AS3 new Class from string

2007-06-18 Thread Patrick Matte|BLITZ
Thanks that's sweet ! BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Monday, June 18, 2007 4:52 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS3 new Class from string Look up:

Re: [Flashcoders] getDefinitionByName from external swf

2007-06-18 Thread John Grden
Hey Patrick, this is a snippet from Grant's FlashLib class: public static function getInstance(className:String):DisplayObject { var SymbolClass:Class = getDefinition(className); return (SymbolClass) ? new SymbolClass() : null; } public static function

Re: [Flashcoders] (no subject)

2007-06-18 Thread Gustavo Duenas
sorry to bother you david, how could do I extend this button? Regards Gustavo On Jun 18, 2007, at 7:57 PM, David Ngo wrote: AFAIK, there is no other Button-type class aside from SimpleButton in AS3's libraries. You could extend SimpleButton and add in a TextField. Then create a wrapper

Re: [Flashcoders] Re: Embed statements in AS3 (not mxml)

2007-06-18 Thread Muzak
- Original Message - From: Jim Kremens [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19, 2007 4:46 AM Subject: Re: [Flashcoders] Re: Embed statements in AS3 (not mxml) In Flash you embed fonts through the library or by setting a dynamic textfield to

Re: [Flashcoders] (no subject)

2007-06-18 Thread Muzak
Tried the docs? http://www.adobe.com/support/documentation/en/flash/ http://www.google.com/search?hl=enq=extend+simplebutton http://www.google.com/search?hl=enq=AS3+extending+components Muzak - Original Message - From: Gustavo Duenas [EMAIL PROTECTED] To:

Re: [Flashcoders] Re: Embed statements in AS3 (not mxml)

2007-06-18 Thread Jim Kremens
Errr... thanks. But how come my masks don't work when I use device fonts ??? :-) http://www.google.com/search?hl=enq=flash+mask+device+font; Dude, that was a *joke*. I even put the little smiley face after it... Jim Kremens ___