Re: [Flashcoders] how to use AV1Movie Class?

2008-04-04 Thread ekameleon
Hello :) For me the problem is the difference between AVM2 and AVM1 in the FP9 :) It's really difficult to execute AVM1 and AVM2 scripts in the same time. For me the best way is to transform the AVM1 swf in AVM2 swf or... use AS3 source code from the main swf application to resolve all elements

Re: [Flashcoders] books for flash programming

2008-04-04 Thread Paul Andrews
- Original Message - From: Kerry Thompson [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Friday, April 04, 2008 2:45 AM Subject: RE: [Flashcoders] books for flash programming Vlado Krempl wrote: I'm a designer who is getting more and more

Re: [Flashcoders] how to use AV1Movie Class?

2008-04-04 Thread Ian Thomas
If you do need to talk to an AVM1 movie (flash AS1/AS2) in an AVM2 movie (AS3) you can use Grant Skinner's excellent SWFBridge: http://www.gskinner.com/blog/archives/2007/07/swfbridge_easie.html Cheers, Ian On Fri, Apr 4, 2008 at 8:19 AM, ekameleon [EMAIL PROTECTED] wrote: Hello :) For me

Re: [Flashcoders] embedded fonts

2008-04-04 Thread Meinte van't Kruis
as for font strangeness, this page is very helpful; http://www.connectedpixel.com/blog/fonts/embedding On Thu, Apr 3, 2008 at 7:13 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: For embedded fonts you can either use the actual font name (as you have discovered it already), or

Re: [Flashcoders] Reading properties of a textbox [AS3]

2008-04-04 Thread Stuart (FunkDaWeb)
When you say replace do you mean like this? var formatter:TextFormat = new TextFormat(); formatter.italic = !currentFormat.italic; _selectedBox.setTextFormat(formatter); SM - Original Message - From: Cory Petosky To: Flash Coders List Sent: Thursday, April 03, 2008

Re: [Flashcoders] embedded fonts

2008-04-04 Thread Allandt Bik-Elliott (Receptacle)
thanks - that was helpful On 4 Apr 2008, at 10:47, Meinte van't Kruis wrote: as for font strangeness, this page is very helpful; http://www.connectedpixel.com/blog/fonts/embedding On Thu, Apr 3, 2008 at 7:13 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: For embedded fonts you can either

[Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
Hello list, Does anybody know an AS2 version of the AS method getDefinitionByName() I would like to dynamic instantiated classes in AS2 with passing argument to that created instance. I am using a modified script from 'http://blog.generalrelativity.org/' , but the return datatype == null,

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Ian Thomas
On a quick glance, I think this line is breaking it: var constructor:Function = Function( _global ); because _global is not a function. Try: function createInstance ( classPath:String , args:Array) : Object { var packageList:Array = classPath.split( . ); var constructor:Object =

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
Thanx Ian, it is still tracing null. Is this even possible to do. How do all the big boys do dynamic instantation. What I basically want to achieve is have a hashMap store different kinds of Command Objects. Instead of instantiation at the start of the app, I would like to instatiated them

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Ian Thomas
Are you sure you're embedding the code for the objects into your app? import com.mypack.MyClass; on its own isn't enough: you need a concrete reference to a class for its code to be included in the SWF. Something like: import com.mypack.MyClass; import com.mypack.MyOtherClass; // somewhere in

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
OK, I understand, without it the classes dont exist and therefor equals to null. Cheers! Ian Thomas wrote: Are you sure you're embedding the code for the objects into your app? import com.mypack.MyClass; on its own isn't enough: you need a concrete reference to a class for its code to be

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Alan MacDougall
Here is the class I use for dynamic instantiation. Note that it throws a custom exception type, you'll have to create that type yourself or alter that line of code. I copied the instantiation technique from Drew Cummins at blog.generalrelativity.org. class

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
Thanx Alan, using a custom error exception is a nice little added touch :) Jiri Alan MacDougall wrote: Here is the class I use for dynamic instantiation. Note that it throws a custom exception type, you'll have to create that type yourself or alter that line of code. I copied the

[Flashcoders] moving a symbol with AS

2008-04-04 Thread Lehr, Theodore M (N-SGIS)
How can I move an object with AS and be able to watch it move? I am not talking about simply giving it a new x or y - I want to animate it to move ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] is there a maximum filename length for pc?

2008-04-04 Thread Allandt Bik-Elliott (Receptacle)
i am creating a hybrid cd for mac and pc and, while the mac can take ridiculously long filenames, will the pc be able to see them or will they be truncated to 25 characters? I don't want some of my images to become unreadable on one side or the other thanks al Allandt Bik-Elliott

Re: [Flashcoders] moving a symbol with AS

2008-04-04 Thread Bob Wohl
yep, tween it. There are a ton of methods and classes out there for doing this. google Flash tweening or easing. B. On Fri, Apr 4, 2008 at 9:20 AM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: How can I move an object with AS and be able to watch it move? I am not talking about simply

Re: [Flashcoders] is there a maximum filename length for pc?

2008-04-04 Thread Ibrahim Y
this article may help you http://labnol.blogspot.com/2006/10/limitations-with-long-file-names-on.html Ibrahim On Fri, Apr 4, 2008 at 7:32 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: i am creating a hybrid cd for mac and pc and, while the mac can take ridiculously long

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Hans Wichman
btw new eval(_global.myPackage.MyClass)(); does the trick as well. If you please add Assert.assertNotNull (eval(_global.myPackage.MyClass)) etc On Fri, Apr 4, 2008 at 5:01 PM, Jiri Heitlager [EMAIL PROTECTED] wrote: Thanx Alan, using a custom error exception is a nice little added touch :)

Re: [Flashcoders] is there a maximum filename length for pc?

2008-04-04 Thread Allandt Bik-Elliott (Receptacle)
ah cool - thanks for the heads up On 4 Apr 2008, at 18:07, Ibrahim Y wrote: this article may help you http://labnol.blogspot.com/2006/10/limitations-with-long-file-names- on.html Ibrahim On Fri, Apr 4, 2008 at 7:32 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: i am

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Jiri Heitlager
But either way, do you still need to force to compiler to add the class? I am almost sure you do, but asking just in case. Jiri Hans Wichman wrote: btw new eval(_global.myPackage.MyClass)(); does the trick as well. If you please add Assert.assertNotNull (eval(_global.myPackage.MyClass)) etc

Re: [Flashcoders] Dynamic class instantiation

2008-04-04 Thread Ian Thomas
Yes. Ian On Fri, Apr 4, 2008 at 7:08 PM, Jiri Heitlager [EMAIL PROTECTED] wrote: But either way, do you still need to force to compiler to add the class? I am almost sure you do, but asking just in case. Jiri Hans Wichman wrote: btw new eval(_global.myPackage.MyClass)(); does the

Re: [Flashcoders] maximum length of an xml document?

2008-04-04 Thread Jason Van Cleave
in my experience the problem wasn't loading it but having the script time out trying to work with it. AS3 expoentially faster if you have a choice. On Thu, Apr 3, 2008 at 3:09 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: can anyone tell me what the maximum length i can go to

Re: [Flashcoders] moving a symbol with AS

2008-04-04 Thread Gerry Creighton
http://code.google.com/p/tweener/ Get yourself acclimated with Tweener. You can use Tweener to move or change properties of your movieClips with code. Gerry On Apr 4, 2008, at 12:20 PM, Lehr, Theodore M (N-SGIS) wrote: How can I move an object with AS and be able to watch it move? I am

[Flashcoders] Focus issues when Flex loads Flash 8 content

2008-04-04 Thread William Chadwick
Objects (text boxes in particular) work fine in a Flash 8 movie loaded into Flex …that is unless you click on a flex object. At which point it doesn't want to give the focus back to the Flash 8 movie. Not even if you click on the text box a thousand times. However the tab key on the keyboard (in

[Flashcoders] Seeking example: pop up div with greyed out background

2008-04-04 Thread Mendelsohn, Michael
Hi list... Does anyone have a good example URLs of a div that pops up an alert for users to do something, then have an additional div that grays out the background thus highlighting the alert div? Thanks, - Michael M. ___ Flashcoders mailing list

Re: [Flashcoders] Seeking example: pop up div with greyed out background

2008-04-04 Thread Helmut Granda
Called within Flash? On Fri, Apr 4, 2008 at 4:06 PM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Does anyone have a good example URLs of a div that pops up an alert for users to do something, then have an additional div that grays out the background thus highlighting the alert

Re: [Flashcoders] maximum length of an xml document?

2008-04-04 Thread Allandt Bik-Elliott (Receptacle)
yeh i'm using as3 - i've run a trace on the xml and it seems to pull it all in okay so i'm going to go with it thanks for the input a On 4 Apr 2008, at 19:30, Jason Van Cleave wrote: in my experience the problem wasn't loading it but having the script time out trying to work with it.

Re: [Flashcoders] Seeking example: pop up div with greyed out background

2008-04-04 Thread Steven Sacks
You can't do any legwork first? This is a Flash list and you're asking a non-Flash question. Guess how easy it is to find numerous examples of this: http://www.google.com/search?q=ajax+modal+dialog Done. Mendelsohn, Michael wrote: Hi list... Does anyone have a good example URLs of a div

Re: [Flashcoders] Seeking example: pop up div with greyed out background

2008-04-04 Thread Matt S.
It sounds like you're looking for what is often referred to as a Lightbox or Greybox effect, and there are several good canned ajax solutions out there. if you google Lightbox you'll find em. However, since this is a Flash list I'm wondering if you're planning for this effect to be occurring