[Flashcoders] AS3 shop

2008-07-22 Thread Romuald Quantin
Hi everyone, Do you know some solid flash cart / flash shop in AS3? Even classes to manage a cart, I wouldn't like to build everything. I found some but unfortunately in AS2. Thanks Romu www.soundstep.com http://www.soundstep.com/

RE: [Flashcoders] E4X filtering strange behaviour

2008-07-22 Thread Merrill, Jason
That was it, it works now, thanks. Funny, I didn't notice that, I had it in my code before, but somewhere along the line of messing with things, it just switched back over to .toString() and I hadn't noticed. Thanks everyone! One more question if I may - how can I exclude certain things like

[Flashcoders] Detecting Stage width and height after refresh

2008-07-22 Thread Helmut Granda
Hello all, I have a small dilema, my application is working properly and I am relying on Stage width and height to position some elements. FOr some odd reason when I refresh my movie the stage width and height render 0. Is there any specific reason why this usually happens? OSX FF

Re: [Flashcoders] Detecting Stage width and height after refresh

2008-07-22 Thread Kenneth Kawamoto
It works fine for me every time. What is your code look like? Kenneth Kawamoto http://www.materiaprima.co.uk/ Helmut Granda wrote: Hello all, I have a small dilema, my application is working properly and I am relying on Stage width and height to position some elements. FOr some odd reason

[Flashcoders] DART external SWFs/.as?

2008-07-22 Thread timshaya
Hi guys, Has anyone created Flash banners using Double Click's DART where the SWF uses code from external .as class files? A vendor is telling me this: DART can't accommodate files being uploaded to the same directory or folder and communication amongst them. Can you upload those additional

[Flashcoders] Resizing Images

2008-07-22 Thread Lehr, Theodore M (N-SGIS)
I have a small movie where I am importing images and dynamically resizing them - the problem is that when it is shrunken - it gets really pixellated - I am using jpegs - is there a way to make it so they look better - maybe import a different type of image ?

[Flashcoders] Shared fonts

2008-07-22 Thread strk
I'm trying to figure wheter the overcomplex solutions for shared fonts are due to bugs in the proprietary player or design choices. In particular, why shouldn't a loader movie be allowed to use fonts defined in a *loaded* movie while the other way around should be possible ? Or, why not

Re: [Flashcoders] Resizing Images

2008-07-22 Thread Ian Thomas
Hi Theodore, (I'm assuming this is AS2...) Are these images in the library? If so, go to Properties and make sure Smoothing is ticked. If you're loading external images, there is a bug in AS2 which stops smoothing from working properly. There's a workaround for it detailed here:

Re: [Flashcoders] Detecting Stage width and height after refresh

2008-07-22 Thread Helmut Granda
DATA = Data.instance;// Holds Data information for the app DATA.stageWidth = stage.stageWidth; DATA.stageHeight = stage.stageHeight; On Tue, Jul 22, 2008 at 11:33 AM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: It works fine for me every time. What

Re: [Flashcoders] Resizing Images

2008-07-22 Thread Matt S.
smoothing. Cast the image as a Bitmap and apply smoothing, and you'll be able to resize without image degradation. function loadTheImage(iMG):void { url = uploads/+iMG+.jpg; var request:URLRequest = new URLRequest(url); var loader:Loader = new Loader();

Re: [Flashcoders] DART external SWFs/.as?

2008-07-22 Thread Manuel Ponce de Leon
Hi Tim, I just happen to work for DoubleClick/Google :) That is totally inaccurate, if you are using the Motif AdKit, you can add any external file as a child asset as you've done before. goes without saying, as long as that file type is supported by Flash (SWF, XML, JPG, MP3, text). If

Re: [Flashcoders] Shared fonts

2008-07-22 Thread allandt bik-elliott (thefieldcomic.com)
mate it's definitely a weakness of flash but i wouldn't quite call it a bug Adobe needs to look at it tho, coz having a common font library is tough (although one of the guys i worked with said it was possible by copying the format from the loaded swf) i found this online that looks like it

Re: [Flashcoders] Detecting Stage width and height after refresh

2008-07-22 Thread Paul Evans
On 22 Jul 2008, at 17:17, Helmut Granda wrote: FOr some odd reason when I refresh my movie the stage width and height render 0. Is there any specific reason why this usually happens? OSX FF I had similar problem a while back on a pure AS3 project, but it only manifested in IE 6 to my

Re: [Flashcoders] Shared fonts

2008-07-22 Thread strk
On Tue, Jul 22, 2008 at 06:07:18PM +0100, allandt bik-elliott (thefieldcomic.com) wrote: mate it's definitely a weakness of flash but i wouldn't quite call it a bug Adobe needs to look at it tho, coz having a common font library is tough (although one of the guys i worked with said it was

Re: [Flashcoders] Detecting Stage width and height after refresh

2008-07-22 Thread Helmut Granda
Yeah, I found a similar post from some one else and they had a similar error in IE6 or 7, but FF was ok. Strange... On Tue, Jul 22, 2008 at 12:09 PM, Paul Evans [EMAIL PROTECTED] wrote: On 22 Jul 2008, at 17:17, Helmut Granda wrote: FOr some odd reason when I refresh my movie the stage

Re: [Flashcoders] Resizing Images

2008-07-22 Thread eric e. dolecki
Do you even need to cast as Bitmap? can't you just do container.forceSmoothing = true; ? Oops - that might be AS2. On Tue, Jul 22, 2008 at 12:59 PM, Matt S. [EMAIL PROTECTED] wrote: smoothing. Cast the image as a Bitmap and apply smoothing, and you'll be able to resize without image

Re: [Flashcoders] Detecting Stage width and height after refresh

2008-07-22 Thread Kenneth Kawamoto
If you output stageWidth/stageHeight to a TextField I think you can verify they are not zero. Kenneth Kawamoto http://www.materiaprima.co.uk/ Helmut Granda wrote: Yeah, that is the first setting in my Document's class constructor, specially since i need that info through out the application.

Re: [Flashcoders] Detecting Stage width and height after refresh

2008-07-22 Thread Helmut Granda
yeah, I am tracing the stage size and that is how I am finding out that the values go back to 0. thanks for the suggestions... On Tue, Jul 22, 2008 at 12:45 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: If you output stageWidth/stageHeight to a TextField I think you can verify they are not

Re: [Flashcoders] E4X filtering strange behaviour

2008-07-22 Thread Kenneth Kawamoto
I could be wrong but that (user input validation) should be done prior to RegExp construction. Kenneth Kawamoto http://www.materiaprima.co.uk/ Merrill, Jason wrote: That was it, it works now, thanks. Funny, I didn't notice that, I had it in my code before, but somewhere along the line of

Re: [Flashcoders] DART external SWFs/.as?

2008-07-22 Thread tim shaya
Thanks for getting back to me on this, Manuel. That was reassuring. On Tue, Jul 22, 2008 at 1:02 PM, Manuel Ponce de Leon [EMAIL PROTECTED] wrote: Hi Tim, I just happen to work for DoubleClick/Google :)... ___ Flashcoders mailing list

Re: [Flashcoders] removing all listeners from a dpo

2008-07-22 Thread Juan Pablo Califano
No worries. Personally, I think in most cases using this approach would not save you much work (in case it works in the first place). But I agree that it would be useful that the EventDispatcher class exposed a method to remove all listeners and probably a method to query any EventDispatcher

[Flashcoders] Moving groups of objects

2008-07-22 Thread J.C. Berry
Hi all, I hope this is not too basic, but are there any tutorials and/or hints on how to move multiple objects as a group with AS (preferably AS2)? Whenever you could throw me a line I would appreciate it! Thanks so much. -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] I

[Flashcoders] Re: Moving groups of objects

2008-07-22 Thread J.C. Berry
Oh, as to specifically what I am trying to move: I have an empty movieclip on the stage I am using to load in different images, also dynamically attach button symbols, and dynamically create a textfield. I would like to move all these things one item. Thanks so much! -- Jonathan Berry, M.A. IT

Re: [Flashcoders] Moving groups of objects

2008-07-22 Thread Gabino Travassos
Hi Jonathan, How about creating a root movieclip and then making your objects as children of that clip, so something (pseudocode) like: create movieclip f1 // root button create movieclip f1.button1 // button clip create text field f1.button1.text1 // text create movieclip f1.button1.rect1 //

Re: [Flashcoders] Re: Moving groups of objects

2008-07-22 Thread Helmut Granda
Hi berry.. do you also need help into attaching the elements to the empty movieclip? If you have already attached all the necessary elements to the movieclip on the stage then it is just a matter of moving the movieclip where you loaded all the data into. Say you named that movieclip container all

Re: [Flashcoders] Moving groups of objects

2008-07-22 Thread J.C. Berry
Thanks Gabino for the quick answer. However, I do not know what I have done incorrectly. As per my second email, I have an empty mc on the root and I have created a text field in there, also load in mcs in there, and attachMovie some buttons. But when I move the mc in root only the images which

Re: [Flashcoders] Moving groups of objects

2008-07-22 Thread Gabino Travassos
I think you'll have to provide some code. It's hard to tell why you've orphaned your text. Maybe your targeting the wrong clip. It can be pretty convoluted. Luck - Original Message - From: J.C. Berry [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: