Re: [Flashcoders] Extending the XML class

2006-01-04 Thread Jan Schluenzen
Hi, I ran into the exact same problem about a year ago... The XML class doesn't really make it easy to extend... The way I solved it is by overriding all necessary methods of the XML class with methods in my extended version, so EXML in your case. E.g. function someOverridenMethod():EXML { //

Re: [Flashcoders] Pathfinding

2006-01-04 Thread franto
http://www.franto.com/blog2/as3-pathfinder-in-big-mazes with as2 and as3 sources, in as3 it's 100 times faster :) On 12/22/05, Alan MacDougall [EMAIL PROTECTED] wrote: Toon Van de Putte wrote: Does anyone have a good implementation of a pathfinding algorithm, preferably for a typical side

Re: [Flashcoders] TextFormat constructor

2006-01-04 Thread GregoryN
=== Quote from MM docs: Usage new TextFormat([font:String, [size:Number, [color:Number, [bold:Boolean, [italic:Boolean, [underline:Boolean, [url:String, [target:String, [align:String, [leftMargin:Number, [rightMargin:Number, [indent:Number, [leading:Number]) : TextFormat === You

[Flashcoders] link + php

2006-01-04 Thread CARABUS+
I have index.swf with four buttons, each button load a movie ex : movie1.swf at _level1 movie2.swf at _level2 movie3.swf at _level3 movie4.swf at _level4 Index.swf is in a php page Question : Is it possible to load a specific movie by a php script with links ? Index.swf must be the same and

RE: [Flashcoders] link + php

2006-01-04 Thread Jim Tann
Use flashvars Actionscript to select the movie. If I understand what you want the buttons are on the webpage not in the flash movie. If this is so you will have to reload the page each time a button is pressed passing a new value to the movie through flashvars to select which movie to play.

[Flashcoders] Insert an attachment in a mail form and check if its possible to only accept .doc files?

2006-01-04 Thread Jose Maria Barros
Hi..i want to build in flash a form mail( like a recruitment form) that has the possibilitie to attach a file. I want to limit the type of document that the user will attach, like .doc Its possible to do that in flash? any ideias? ___ Flashcoders

[Flashcoders] sendAndLoad()ing Content-Encoding: gzip

2006-01-04 Thread Alexander Farber
Hello flashcoders, I'm new to Flash, but plan to develop an web-chat-alike Apache module which would communicate with a Flash client through sendAndLoad() (i.e. exchanging short messages in application/x-www-form-urlencoded format). From the docs/books I've understood that SSL communication is

Re: [Flashcoders] sendAndLoad()ing Content-Encoding: gzip

2006-01-04 Thread Weyert de Boer
Hi Alexander, What I always understood about the working of the Flash player is that most requests (i..e not streams) get redirected to the browser to handle the downloading etc. I f this is correct you should be able to use messages compressed with gzip. Because this is supported by the

Re: [Flashcoders] Keypoints in a .mp3

2006-01-04 Thread Dimitrios Bendilas
Hi there. A sound Object in Actionscript has a .duration and a .position property. You can monitor the position and do stuff when the position has reached a certain number of seconds or a percentage of the total duration. var s:Sound = new Sound(sound_mc); s.attachSound(song); s.start();

[Flashcoders] Error: plugin.SetWindow is not a function

2006-01-04 Thread Caleb E. Brown
I’m trying to do a simple fscommand on a mac and get the following javascript error in all mozilla browsers: Error: plugin.SetWindow is not a function Source File: javascript: function jsScriptObject(obj) { this.wrappedJSObject = obj; } jsScriptObject.prototype = { evaluate :

Re: [Flashcoders] Keypoints in a .mp3

2006-01-04 Thread Ramon Tayag
If you want to know the length of the song (because duration only gives you how much has been downloaded), you can put it into the TLEN of the ID3 V2 tag. You can use onID3 of the sound object to find out when the ID3 tags have been downloaded. Please note that if you have ID3 V2 and ID3 V1,

[Flashcoders] Flash Lite Updater for Mac?

2006-01-04 Thread Michael Bedar
Am I missing this somewhere? Please don't tell me that they are leaving Mac users out in the cold again... Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Flash Lite Updater for Mac?

2006-01-04 Thread Josh Buhler
It looks like there's a Mac version on the way, we'll just have to wait a little longer for it. http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm? catid=588threadid=1098868enterthread=y On Jan 4, 2006, at 9:06 AM, Michael Bedar wrote: Am I missing this somewhere? Please

[Flashcoders] Flash does not run when wmode is transparent and div is hidden

2006-01-04 Thread Jason
I have come across some strange behaviour when setting wmode to transparent and setting the div visibility to hidden and/or setting the absolute position off of the visible area of the browser window. 1. If wmode is set to transparent and the flash movie is wrapped in a div with a visibility set

Re: [Flashcoders] link + php

2006-01-04 Thread Michael Klishin
Jim Tann wrote: Use flashvars Actionscript to select the movie. If I understand what you want the buttons are on the webpage not in the flash movie. If this is so you will have to reload the page each time a button is pressed passing a new value to the movie through flashvars to select which

Re: [Flashcoders] Flash Lite Updater for Mac?

2006-01-04 Thread Weyert de Boer
Michael Bedar wrote: Am I missing this somewhere? Please don't tell me that they are leaving Mac users out in the cold again... Only for this Preview... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] standalone+amfphp doesn't work

2006-01-04 Thread Gabriel
Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have response from it, but it does if I open the swf with the browser... any idea? thanks a lot... Gab ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] XML 2 UI oncommand attribute

2006-01-04 Thread khair
I'm XUL script in my command folder that works but the oncommand attribute does not work with functions I create myself in my JSFL file. It seems only functions that belong to the JSFL API work but not with user-created functions that are scoped within the JSFL file. button

Re: [Flashcoders] standalone+amfphp doesn't work

2006-01-04 Thread Michael Klishin
Gabriel wrote: Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have response from it, but it does if I open the swf with the browser... any idea? If my memory serves me right AMF protocol uses HHTP headers that are available only on browser. -- Michael

RE: [Flashcoders] link + php

2006-01-04 Thread Adrian Lynch
Are you talking about changing the flashVar value in the page? If so, does Flash pick up this change? I'd guess it doesn't and you'd need to reload the movie, I guess by re-wrtiing the HTML, object tag etc. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf

Re: [Flashcoders] standalone+amfphp doesn't work

2006-01-04 Thread Anthony Covert
Do you have a full path to your gateway in the Service Browser? You should be able to view the working service directly in flash. On Wed, 04 Jan 2006 17:34:54 +0100 Gabriel [EMAIL PROTECTED] wrote: Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have

[Flashcoders] duplicateMovieClip question

2006-01-04 Thread Johan Lopes
The snippet below takes one clip and duplicate it in rows and columns - simple stuff. _root.attachMovie(seat,seat_mc,_root.getNextHighestDepth(),{_x:-1000,_y:0}); function createSeats (xSpacing:Number,ySpacing:Number,rows:Number,cols:Number) { var xSpacing:Number = xSpacing; var

Re: [Flashcoders] Flash does not run when wmode is transparent and div is hidden

2006-01-04 Thread Mike Britton
I never use wmode transparent -- it's buggy and broken. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Masking with BitmapData

2006-01-04 Thread Weyert de Boer
As you might know I am working on a little difference keying thingy in Flash. This isn't working at all, but I know got all the right information to mask it i.e. strip away the background. I only the code I try doesn't work for me. I am using the following code: outputFrame.clear();

Re: [Flashcoders] duplicateMovieClip question

2006-01-04 Thread Marc Hoffman
Johan, The list does not accept attachments, so your gifs didn't come through. It isn't clear to me what kind of rotation you're looking for -- the same applied to every clip, or something else. Please post the gifs to a URL, or send a more thorough description of what you need to happen.

[Flashcoders] tweening and loader...

2006-01-04 Thread Éric Thibault
Hi to you all, I've just received a FLA from our graphist and must return it to him for further visual modifications and here is my problem: There is (a minimum) 5 squares_mc inside a menu and on 10 frames of that menu there is a tweening of both coordinates and alpha values of all the

Re: [Flashcoders] standalone+amfphp doesn't work

2006-01-04 Thread Anggie Bratadinata
Michael Klishin wrote: Gabriel wrote: Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have response from it, but it does if I open the swf with the browser... any idea? If my memory serves me right AMF protocol uses HHTP headers that are available only on

[Flashcoders] Flash equivalent of a Java class loader

2006-01-04 Thread August Gresens
Hello We're new to flash, migrating over from Director. We're trying to implement a Java style class loader in Flash, but we are having some difficulty doing this. This is what we are trying to do: 1. Create an XML document with elements specifying the name of the class, a movieclip instance

Re: [Flashcoders] Flash does not run when wmode is transparent and div is hidden

2006-01-04 Thread eric dolecki
I'm using wmode = transparent so I can display tooltips out of Flash above Flash. Works fine for me. But I am not doing anything about visibility with Flash using wmode and a div. Just div above Flash. http://www.ericd.net/new_css/(the right side) edolecki On 1/4/06, Mike Britton [EMAIL

Re: [Flashcoders] tweening and loader...

2006-01-04 Thread Éric Thibault
Strange... If I dont use my square_c component and use a simple square_mc... movieclip instead, it works! Why? Is there something I'm missing? A+ Éric Thibault wrote: Hi to you all, I've just received a FLA from our graphist and must return it to him for further visual modifications and

Re: [Flashcoders] Flash equivalent of a Java class loader

2006-01-04 Thread Johannes Nel
no it needs to be a ref to the constructer function. this can be solved however with this: Object.RegisterClass(myClipSymbolName, _global[com][blackhammer][test][TestClass]); On 1/4/06, August Gresens [EMAIL PROTECTED] wrote: Hello We're new to flash, migrating over from Director. We're

Re: [Flashcoders] Flash Lite Updater for Mac?

2006-01-04 Thread Michael Bedar
It's just really frustrating that MM seems to have adopted a new policy towards OSX. On Jan 4, 2006, at 11:24 AM, Josh Buhler wrote: It looks like there's a Mac version on the way, we'll just have to wait a little longer for it.

Re: [Flashcoders] Flash equivalent of a Java class loader

2006-01-04 Thread Jim Kremens
Or this: class ClassFactory { public static function getClass(name:String, args:Object):Object { return new Function(eval(name))(args ? args : []); } } /* USAGE * //can be any referenced class * var myClass = ClassFactory.getClass(org.flashcodersny.style.GradientFill, args); */ As long

Re: [Flashcoders] Flash equivalent of a Java class loader

2006-01-04 Thread August Gresens
ClassFactory - just what we were looking for. Thanks, August On 1/4/06, Jim Kremens [EMAIL PROTECTED] wrote: Or this: class ClassFactory { public static function getClass(name:String, args:Object):Object { return new Function(eval(name))(args ? args : []); } } /* USAGE * //can be

Re: [Flashcoders] Extending the XML class

2006-01-04 Thread Rifled Cloaca
Jan, Thanks, but I'm not having any luck. I'm trying to force my EXML class to create all of it's nodes of class EXMLNode instead of XMLNode. That way, my custom methods are accessible at any node in the tree. Unfortunately, it seems that all of the nodes of the tree are type XMLnode, not

Re: [Flashcoders] Pathfinding

2006-01-04 Thread Alan MacDougall
franto wrote: http://www.franto.com/blog2/as3-pathfinder-in-big-mazes with as2 and as3 sources, in as3 it's 100 times faster :) Yeah, I'm resigned to having to rework my entire application once ActionScript 3 hits the general-purpose Flash Player level. Unfortunately, you can never just

Re: [Flashcoders] Flash Lite Updater for Mac?

2006-01-04 Thread John Dowdell
Michael Bedar wrote: Am I missing this somewhere? Please don't tell me that they are leaving Mac users out in the cold again... I'm sorry that you searched fruitlessly -- like other folks here said, the Preview version was released on one platform, and the full release will be for both Mac

[Flashcoders] Anyone have a current link to XMLSA for AS2?

2006-01-04 Thread Chris Whiteford
I have been looking and can't find any current links. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from

Re: [Flashcoders] Anyone have a current link to XMLSA for AS2?

2006-01-04 Thread Mark Walters
http://www.ifdnrg.com/XMLSA.as On 1/4/06, Chris Whiteford [EMAIL PROTECTED] wrote: I have been looking and can't find any current links. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This email is intended only for the person or entity to which it is addressed and

Re: [Flashcoders] standalone+amfphp doesn't work

2006-01-04 Thread Gabriel
What do you mean by full path? I have http://...etc../gateway.php; and its working in the browser in the same computer Anthony Covert wrote: Do you have a full path to your gateway in the Service Browser? You should be able to view the working service directly in flash. On Wed, 04 Jan 2006