Re: [Flashcoders] pure AS3 app to use mx.* stuff

2008-02-15 Thread Gregory N
Thanks a lot, Cory, this helps, but only partially. //code in main class extending Application var triangle:FlexSprite = new FlexSprite( ); //draw triangle rawChildren.addChild(triangle); shows a triangle in SWF, but also shows an error: (output) [Fault] exception, information=ArgumentError:

Re: [Flashcoders] AS3 singleton not working across multiple loaded swf

2008-02-15 Thread Meinte van't Kruis
I've never had that problem. To avoid conflicts between classes of loaded swf's, I usually set the loader context to the current domain of the loading SWF, maybe it helps in your case too. On Fri, Feb 15, 2008 at 2:22 AM, Patrick Matte | BLITZ [EMAIL PROTECTED] wrote: The only way I have been

[Flashcoders] Question on garbage collection

2008-02-15 Thread Jiri Heitlager
Hello List, I have two classes Time and Clock, see below. To get good encapsulation, in the Time class I added a function called clone(). This returns a copy of the Time instance, instead of a reference to it. Now I run the code, using an interval that calls the Clock.getElepasedTime(). While

[Flashcoders] jsfl aligning movieclip symbols to top left

2008-02-15 Thread Some Dude
Does anybody know what the jsfl would look like to automate the process of aligning movieclips to the top left as opposed to centered? I have a cs3 fla with lots of symbols that need to be aligned top left. Thanks if anybody can help. ___ Flashcoders

Re: [Flashcoders] jsfl aligning movieclip symbols to top left

2008-02-15 Thread Dennis - I Sioux
to be aligned top left. Thanks if anybody can help. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 2878 (20080215) Informatie __ Dit bericht is gecontroleerd

[Flashcoders] PHP and Flash weirdness...

2008-02-15 Thread BOYD SPEER
  I am unable to run any php scripts on this web site (teeka.ipower.com) after moving my client's files to the server. I have set the CGI scripting to Active and have chosen php4 as the default version. there is no error recorded in the error log (0 bytes) and the access log does not show any

Re: [Flashcoders] PHP and Flash weirdness...

2008-02-15 Thread Glen Pike
Hi, Try uploading the ?php phpinfo(); ? script - if that works, check your code, their may be issues with parsing, etc. One problem I have had is short tags ?= $var ? not working - it's a setting in php.ini Also, check error_reporting and debug your script maybe - comment half,

Re: [Flashcoders] PHP and Flash weirdness...

2008-02-15 Thread Glen Pike
Hi, Sorry, forgot to mention permissions - some servers with CGI get arsey about this. Usually PHP files should have permissions of 644 and directories containing them should be 755, but look at your support doc's to see anything. Glen BOYD SPEER wrote: I am unable to run any

Re: [Flashcoders] PHP and Flash weirdness...

2008-02-15 Thread BOYD SPEER
Thanks Glen. It was a server problem - needed a reboot to reflect my activating CGI while setting up. - Original Message - From: Glen Pike [EMAIL PROTECTED] Date: Friday, February 15, 2008 9:12 am Subject: Re: [Flashcoders] PHP and Flash weirdness... To: Flash Coders List

[Flashcoders] Data protection running Flash content from a CD.

2008-02-15 Thread Norman Cousineau
Does anybody know good methods to avoid content being copied from a CD with a Flash EXE? Thanks, Norm _ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] JSFL and Stringpanel

2008-02-15 Thread Dennis - I Sioux
Hey, I have automated publishing of files (we have alot of those:) ). I was wondering though if someone found out a way to change the stage language in the stringpanel using jsfl.. Then i can publish swf`'s for every language with one press on the button aswell. With kind regards, Dennis

Re: [Flashcoders] Data protection running Flash content from a CD.

2008-02-15 Thread Dennis - I Sioux
_ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 2879 (20080215) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl

Re: [Flashcoders] Question on garbage collection

2008-02-15 Thread Jiri Heitlager
Thanks for your reply Bob, it is for AS2. I read a lot of articles about it and understand the general concept. That is why I post the question. If I understood correctly the posted code should not leave any objects unreferenced and therefor cleared for deleting. But the memory goes up anyway.

[Flashcoders] print function in AS2

2008-02-15 Thread maurice sallave
Hi, I'm trying to print from Flash using the print function. I've created a print button to point to a movieClip that gets dynamically created e.g. a results page. What's weird is that it works as a standalone swf file and prints fine, but when it's in a browser I get one solid color and no

[Flashcoders] solved :: tangozebra enhanced call function option

2008-02-15 Thread Allandt Bik-Elliott (Receptacle)
didn't get a reply on this from the board but found the answer you have to add the function you are calling with the component to _global - it'll work then On 8 Feb 2008, at 17:13, Allandt Bik-Elliott (Receptacle) wrote: i don't know if you guys have worked with tangozebra before but if

Re: [Flashcoders] jsfl aligning movieclip symbols to top left

2008-02-15 Thread Adrian Park
I've just been writing a tonne of JSFL scripts for a project so have done a lot of this. Here's a few generic lines grabbed form some of my scripts... code var focussedDoc = fl.getDocumentDOM(); var targetLibrary = focussedDoc.library; var selectedItems = targetLibrary.getSelectedItems(); for( i

RE: [Flashcoders] AS3 singleton not working across multiple loaded swf

2008-02-15 Thread Patrick Matte | BLITZ
Thanks, I wasn't using that parameter for my loader. I'll try it. BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: Friday, February 15, 2008 4:04 AM To: Flash Coders List Subject: Re:

[Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Martin Tremblay
EX4 cannot find a node using E4X when one of it's sibling has the same name. Is there a way to avoid this problem ? var xmlData:XML = root accesscode id=S001 shortcutS001/shortcut shortcutsmallbusiness/shortcut /accesscode

Re: [Flashcoders] jsfl aligning movieclip symbols to top left

2008-02-15 Thread Steven Sacks
Open the Flash History panel. Align a movieclip to top left. Look at the History panel for the JSFL it used to do that. Now you know what it looks like. Some Dude wrote: Does anybody know what the jsfl would look like to automate the process of aligning movieclips to the top left as opposed

Re: [Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Glen Pike
You should be able to index children of the same type as array elements. root.accesscode.(@id == S000).[0] or similar. Martin Tremblay wrote: EX4 cannot find a node using E4X when one of it's sibling has the same name. Is there a way to avoid this problem ? var xmlData:XML = root

Re: [Flashcoders] Question on garbage collection

2008-02-15 Thread Bob Leisle
Hi Jiri, I'm not sure which AS version you're using but here are some good links on garbage collection in AS3. http://www.bit-101.com/blog/?p=783 http://gskinner.com/blog/archives/2006/06/as3_resource_ma.html http://board.flashkit.com/board/showthread.php?t=756290 32000+ more links can be

Re: [Flashcoders] PHP and Flash weirdness...

2008-02-15 Thread Allandt Bik-Elliott (Receptacle)
while working on a flash / php job recently, i was told to use charles which tells you exactly what is happening between flash and the php scripts don't know if it will help if php isn't working at all tho - have you tried a simple echo 'hello world' type deal to make sure it's working?

Re: [Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Kenneth Kawamoto
Try: trace(xmlData.accesscode.(shortcut.contains(S001))); Kenneth Kawamoto http://www.materiaprima.co.uk/ Martin Tremblay wrote: EX4 cannot find a node using E4X when one of it's sibling has the same name. Is there a way to avoid this problem ? var xmlData:XML = root accesscode

Re: [Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Bob Wohl
trace(xmlData.accesscode[0].(@id == S000)); cannot test it out atm (no flash/flex infront of me) but I believe they are indexed as well. hth. On Fri, Feb 15, 2008 at 2:57 PM, Martin Tremblay [EMAIL PROTECTED] wrote: EX4 cannot find a node using E4X when one of it's sibling has the same

[Flashcoders] RE: E4X Non sense !!! Need help

2008-02-15 Thread Patrick Matte | BLITZ
I can't make it work... Even this didn't work.. root accesscode id=S001 short test=S001/ short test=S002/ /accesscode accesscode id=S000 short test=uyiy/ short test=fgds/ /accesscode /root

Re: [Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Bob Wohl
erp! I was close ;) B. On Fri, Feb 15, 2008 at 3:56 PM, Glen Pike [EMAIL PROTECTED] wrote: You should be able to index children of the same type as array elements. root.accesscode.(@id == S000).[0] or similar. Martin Tremblay wrote: EX4 cannot find a node using E4X when one of it's

RE: [Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Patrick Matte | BLITZ
Nice! BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: Friday, February 15, 2008 3:28 PM To: Flash Coders List Subject: Re: [Flashcoders] E4X Non sense !!! Need help Try:

[Flashcoders] AS3 / AIR Anti-aliased font without using embedFonts=true

2008-02-15 Thread Patrick Matte | BLITZ
Is there any way to get anti-aliased fonts in an AIR application without using textfield.embedFonts = true ? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] RE: E4X Non sense !!! Need help

2008-02-15 Thread Patrick Matte | BLITZ
Ha I thought it would do that automatically if the node was empty. Good to know. BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: Friday, February 15, 2008 4:06 PM To: Flash Coders List

Re: [Flashcoders] RE: E4X Non sense !!! Need help

2008-02-15 Thread Kenneth Kawamoto
Patrick Matte | BLITZ wrote: I can't make it work... Even this didn't work.. root accesscode id=S001 short test=S001/ short test=S002/ /accesscode accesscode id=S000 short test=uyiy/ short test=fgds/

[Flashcoders] Flex Builder and git

2008-02-15 Thread Carmine Casciato
Ola, I thought some of you might be interested in this. Before starting a little Actionscript project in FB, I installed git, the newest craze in source version control. I saw a bunch of netizens freaking out about it all over the place, and the ability to create branches

Re: [Flashcoders] E4X Non sense !!! Need help

2008-02-15 Thread Kenneth Kawamoto
..or perhaps these are more true to the original: trace(xmlData.accesscode.(shortcut.children()[0] == S001)); trace(xmlData.accesscode.(shortcut.text()[0] == S001)); Kenneth Kawamoto http://www.materiaprima.co.uk/ Patrick Matte | BLITZ wrote: Nice! BLITZ | Patrick Matte - 310-551-0200 x214

Re: [Flashcoders] print function in AS2

2008-02-15 Thread Gabriel Laet
Hi Maurice, I highly recommend you to take a look on PrintJob class. It will give you much more control and make your life easier. I'm not sure, but I remember that was an issue with the print function and layer-masks (and a lot of other stuff too). But I don't know how complicated will be for