[Flashcoders] extends implements

2008-01-10 Thread Hans Wichman
Hi folks,

I was wondering about your personal/professional preference regarding the
following.

Say you have an interface IEvent and a base class Event which implements
IEvent.

Now you are creating an event subclass MyEvent which can:
- implement IEvent
- extend Event
- both

In other words, would you when choosing to extend Event still declare it as
an implementation of IEvent for the sake of readability:
class MyEvent extends Event implements IEvent OR
simply class MyEvent extends Event

I see pro's and con's to the both of them, but I guess I'm looking to see if
there is some sort of 'why declaring blablahb is evil'.

I guess I'm used to adding the implements clause as well, since it allows me
to change the superclass and testing whether I still adhere to the required
interface by compiling that class instead of compiling any source that uses
it. In addition I hope it prevents people from declaring variables like var
a:Event instead var a:IEvent...

tnx in advance.
JC
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: AVM1Movie unload and static variables

2008-01-10 Thread Costello, Rob R
my impression of this is that if you have static variables or methods of the 
moveclip then you have a class that extends MovieClip?

if so, my suggestion is make sure the references to the class are set to null / 
out of scope - in my experience unloading a class that extends MovieClip does 
not always delete the reference to the associated subclass of MovieClip

hth  - and might be barking up the wrong tree

rob



From: [EMAIL PROTECTED] on behalf of Matthias Dittgen
Sent: Thu 1/10/2008 2:20 AM
To: Flash Coders List
Subject: [Flashcoders] Re: AVM1Movie unload and static variables



In fact this problem applies not only for AS2/AS3 interop.
How can I unload MovieClips and thus unload static variables to have a
fresh startover, when loading the same MovieClip later again?

Matthias

On Jan 9, 2008 3:32 PM, Matthias Dittgen [EMAIL PROTECTED] wrote:
 Hello Flashcodes,

 I isolated a recent problem I had using AVM1Movies. I have build this
 everywhere mentioned Proxy for old Flash content (Flash8 and
 before), that enables my AS3 Application to communicate with the
 loaded AS2 based MovieClip using LocalConnection.

 Now I load an old Movie for the first time into an own container
 within my proxy AVM1Movie and I lockroot it, too. Later the Movie gets
 unloaded and sometime later the Movie ist loaded again to a new
 container. The second time, the Movie does NOT work as expected,
 because static variables from its former incarnation are still set.

 Questions:
 Why are these variables still there and not deleted by garbage
 collection or the like?
 How can I have it work? Is there more than lockroot, I can do?

 Any help or comment on this is welcome.

 Matthias

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



Important - This email and any attachments may be confidential. If received in 
error, please contact us and delete all copies. Before opening or using 
attachments check them for viruses and defects. Regardless of any loss, damage 
or consequence, whether caused by the negligence of the sender or not, 
resulting directly or indirectly from the use of any attached files our 
liability is limited to resupplying any affected attachments. Any 
representations or opinions expressed are those of the individual sender, and 
not necessarily those of the Department of Education and Early Childhood 
Development.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Error 1120?

2008-01-10 Thread Steven Sacks
It took me four times getting burned by not declaring a class as public 
before I started doing it.  The error isn't exactly clear, either, which 
makes it even tougher.  I don't think you need to go back to the drawing 
board, but you might need to get zapped by it a couple of times until it 
sticks.  :)


Steven Sacks
Flash Maestro
Los Angeles, CA
--
blog: http://www.stevensacks.net
gaia: http://www.gaiaflashframework.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: AVM1Movie unload and static variables

2008-01-10 Thread Matthias Dittgen
Hello Rob, Hello Hans,

that's it! You saved my day! I was not aware, that I can classes are
saved as a tree of objects and functions below _global in AS2. Now
that I know, I was able to delete them before loading the Movie again.
That works great!
I have now written a method to recursivly remove whole classpathes
from _global (and memory). That's fantastic. Only drawback is, that I
have to know the classpath, I want to delete, but this is no problem
in my case!

Thank you a lot!

Matthias

On Jan 10, 2008 9:46 AM, Costello, Rob R
[EMAIL PROTECTED] wrote:
 my impression of this is that if you have static variables or methods of the 
 moveclip then you have a class that extends MovieClip?

 if so, my suggestion is make sure the references to the class are set to null 
 / out of scope - in my experience unloading a class that extends MovieClip 
 does not always delete the reference to the associated subclass of MovieClip

 hth  - and might be barking up the wrong tree

 rob

 

 From: [EMAIL PROTECTED] on behalf of Matthias Dittgen
 Sent: Thu 1/10/2008 2:20 AM
 To: Flash Coders List
 Subject: [Flashcoders] Re: AVM1Movie unload and static variables




 In fact this problem applies not only for AS2/AS3 interop.
 How can I unload MovieClips and thus unload static variables to have a
 fresh startover, when loading the same MovieClip later again?

 Matthias

 On Jan 9, 2008 3:32 PM, Matthias Dittgen [EMAIL PROTECTED] wrote:
  Hello Flashcodes,
 
  I isolated a recent problem I had using AVM1Movies. I have build this
  everywhere mentioned Proxy for old Flash content (Flash8 and
  before), that enables my AS3 Application to communicate with the
  loaded AS2 based MovieClip using LocalConnection.
 
  Now I load an old Movie for the first time into an own container
  within my proxy AVM1Movie and I lockroot it, too. Later the Movie gets
  unloaded and sometime later the Movie ist loaded again to a new
  container. The second time, the Movie does NOT work as expected,
  because static variables from its former incarnation are still set.
 
  Questions:
  Why are these variables still there and not deleted by garbage
  collection or the like?
  How can I have it work? Is there more than lockroot, I can do?
 
  Any help or comment on this is welcome.
 
  Matthias
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 Important - This email and any attachments may be confidential. If received 
 in error, please contact us and delete all copies. Before opening or using 
 attachments check them for viruses and defects. Regardless of any loss, 
 damage or consequence, whether caused by the negligence of the sender or not, 
 resulting directly or indirectly from the use of any attached files our 
 liability is limited to resupplying any affected attachments. Any 
 representations or opinions expressed are those of the individual sender, and 
 not necessarily those of the Department of Education and Early Childhood 
 Development.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] startAtLogin in AIR

2008-01-10 Thread Sidney de Koning

Hi List,

I'm creating an app in AIR and do a 
NativeApplication.nativeApplication.startAtLogin = true; (i have also 
tried: NativeApplication.startAtLogin as stated in 
http://labs.adobe.com/wiki/index.php/AIR:Release_Notes) to create a 
startup folder entry (pc and mac). I import the file 
flash.desktop.NativeApplication.

However it gives me this error:

Error: Error #2014: Feature is not available at this time.
   at flash.desktop::NativeApplication/set startAtLogin()
   at ae_fla::MainTimeline/setRunAtStartup()
   at ae_fla::MainTimeline/frame1()

I have checked the error codes here: 
http://www.flexcoders.cn/showtopic-582.aspx and it says that  The 
feature is not supported on this system.. Now i have checked the 
labs.adobe docs and said it should be in there, i'm using the beta 3 for 
CS3.


Does anyone have experience with this? Or know a workaround? Maybe the 
method call was changed in beta 3?



Cheers,

Sidney

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Matthew James Poole
Hi Sidney,

I've just searched the Adobe bugs db on jira and there doesn't seem to
be anything reported for this. But I can confirm that I get the same RTE
too, so I'd guess they will make it available at the real launch... Had
you tried this functionality in the Earlier releases? - I believe it was
called Shell.startApplicationAtLogin...

Cheers
Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 10 January 2008 09:28
To: Flash Coders List
Subject: [Flashcoders] startAtLogin in AIR

Hi List,

I'm creating an app in AIR and do a
NativeApplication.nativeApplication.startAtLogin = true; (i have also
tried: NativeApplication.startAtLogin as stated in
http://labs.adobe.com/wiki/index.php/AIR:Release_Notes) to create a
startup folder entry (pc and mac). I import the file
flash.desktop.NativeApplication.
However it gives me this error:

Error: Error #2014: Feature is not available at this time.
at flash.desktop::NativeApplication/set startAtLogin()
at ae_fla::MainTimeline/setRunAtStartup()
at ae_fla::MainTimeline/frame1()

I have checked the error codes here: 
http://www.flexcoders.cn/showtopic-582.aspx and it says that  The
feature is not supported on this system.. Now i have checked the
labs.adobe docs and said it should be in there, i'm using the beta 3 for
CS3.

Does anyone have experience with this? Or know a workaround? Maybe the
method call was changed in beta 3?


Cheers,

Sidney

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If 
you are not the named addressee of this e-mail, you may not copy or use it, or 
forward or otherwise disclose it to anyone else. If you have received this 
e-mail in error, please e-mail the sender by replying to this message and then 
fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Bound variable not updating textField AS2

2008-01-10 Thread ali drongo
Hiya, I'm having quite a problem with a textfield that has a variable
defined in the properties bar that it is bound to. The variable that is set
in the var field is a property of an object like this: ActionScript Code:
object.textProperty

The object is initialized and I can trace the property from the frame that
the textField exists on though the teftfield will not display it.
This isn't a text embedding problem as I'm using system fonts and tracing
the .text property of the textfield so I know what's in it.
I have tried setting the variable to update every second and also
re-initializing the object and adding the property again to try and get the
textfield to update but it's not working.

I can't get the textfield to read a variable that is a property of an object
that exists on the same frame so this isn't a targetting issue.

I can get the textfield to show and update a variable that is declared in
the normal way: ActionScript Code:
var myVar:String = my test string;

but once it is inside an object it won't work.

I have inherited this project and so I can't change the way the variables
are targeted as it will be too much work (there are over 120 text fields)
all I can do is update the variable. The original project worked fine with
this technique but now it does not seem to be working at all, I'm not sure
how I've broken it!

If anyone has any suggestions I would be really glad to hear them as I am
very very stuck and have spent hours trying to solve this!

Thanks for your help,
Ali
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Sidney de Koning

Hi Matthew,

Turns out that my function works, but only when i package and install 
it, not when testing in the IDE, (and that is where the Feature is not 
available error came from. So on Beta 3 it is: 
NativeApplication.nativeApplication.startAtLogin = Boolean;


Hope this helps you aswell :)

Sid

Matthew James Poole wrote:

Hi Sidney,

I've just searched the Adobe bugs db on jira and there doesn't seem to
be anything reported for this. But I can confirm that I get the same RTE
too, so I'd guess they will make it available at the real launch... Had
you tried this functionality in the Earlier releases? - I believe it was
called Shell.startApplicationAtLogin...

Cheers
Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 10 January 2008 09:28
To: Flash Coders List
Subject: [Flashcoders] startAtLogin in AIR

Hi List,

I'm creating an app in AIR and do a
NativeApplication.nativeApplication.startAtLogin = true; (i have also
tried: NativeApplication.startAtLogin as stated in
http://labs.adobe.com/wiki/index.php/AIR:Release_Notes) to create a
startup folder entry (pc and mac). I import the file
flash.desktop.NativeApplication.
However it gives me this error:

Error: Error #2014: Feature is not available at this time.
at flash.desktop::NativeApplication/set startAtLogin()
at ae_fla::MainTimeline/setRunAtStartup()
at ae_fla::MainTimeline/frame1()

I have checked the error codes here: 
http://www.flexcoders.cn/showtopic-582.aspx and it says that  The

feature is not supported on this system.. Now i have checked the
labs.adobe docs and said it should be in there, i'm using the beta 3 for
CS3.

Does anyone have experience with this? Or know a workaround? Maybe the
method call was changed in beta 3?


Cheers,

Sidney

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: AVM1Movie unload and static variables

2008-01-10 Thread Matthias Dittgen
Hi again,

out of interest: Is it possible to delete classes this way in AS3,
too? I am aware of ApplicationDomains, but if I would e.g. only want
to delete a single class and reload this class, can this be done?

Matthias

On Jan 10, 2008 9:59 AM, Matthias Dittgen [EMAIL PROTECTED] wrote:
 Hello Rob, Hello Hans,

 that's it! You saved my day! I was not aware, that I can classes are
 saved as a tree of objects and functions below _global in AS2. Now
 that I know, I was able to delete them before loading the Movie again.
 That works great!
 I have now written a method to recursivly remove whole classpathes
 from _global (and memory). That's fantastic. Only drawback is, that I
 have to know the classpath, I want to delete, but this is no problem
 in my case!

 Thank you a lot!

 Matthias

 On Jan 10, 2008 9:46 AM, Costello, Rob R

 [EMAIL PROTECTED] wrote:
  my impression of this is that if you have static variables or methods of 
  the moveclip then you have a class that extends MovieClip?
 
  if so, my suggestion is make sure the references to the class are set to 
  null / out of scope - in my experience unloading a class that extends 
  MovieClip does not always delete the reference to the associated subclass 
  of MovieClip
 
  hth  - and might be barking up the wrong tree
 
  rob
 
  
 
  From: [EMAIL PROTECTED] on behalf of Matthias Dittgen
  Sent: Thu 1/10/2008 2:20 AM
  To: Flash Coders List
  Subject: [Flashcoders] Re: AVM1Movie unload and static variables
 
 
 
 
  In fact this problem applies not only for AS2/AS3 interop.
  How can I unload MovieClips and thus unload static variables to have a
  fresh startover, when loading the same MovieClip later again?
 
  Matthias
 
  On Jan 9, 2008 3:32 PM, Matthias Dittgen [EMAIL PROTECTED] wrote:
   Hello Flashcodes,
  
   I isolated a recent problem I had using AVM1Movies. I have build this
   everywhere mentioned Proxy for old Flash content (Flash8 and
   before), that enables my AS3 Application to communicate with the
   loaded AS2 based MovieClip using LocalConnection.
  
   Now I load an old Movie for the first time into an own container
   within my proxy AVM1Movie and I lockroot it, too. Later the Movie gets
   unloaded and sometime later the Movie ist loaded again to a new
   container. The second time, the Movie does NOT work as expected,
   because static variables from its former incarnation are still set.
  
   Questions:
   Why are these variables still there and not deleted by garbage
   collection or the like?
   How can I have it work? Is there more than lockroot, I can do?
  
   Any help or comment on this is welcome.
  
   Matthias
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
  Important - This email and any attachments may be confidential. If received 
  in error, please contact us and delete all copies. Before opening or using 
  attachments check them for viruses and defects. Regardless of any loss, 
  damage or consequence, whether caused by the negligence of the sender or 
  not, resulting directly or indirectly from the use of any attached files 
  our liability is limited to resupplying any affected attachments. Any 
  representations or opinions expressed are those of the individual sender, 
  and not necessarily those of the Department of Education and Early 
  Childhood Development.
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Matthew James Poole
Hi Sid,

Thanks, That makes sense. That does help me - I'll be starting a app
soon that will need it. I've posted this the bug list anyway as this
isnt a very desriable thing:

http://bugs.adobe.com/jira/browse/SDK-14282

You can try looking to see if you are running in a IDE player - In AS2
you could look at System.capabilities.playerType for this - I'm not sure
what AIR returns to this, but it should be different when running in the
IDE compared to a installed release version

Cheers
Matt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 10 January 2008 10:44
To: Flash Coders List
Subject: Re: [Flashcoders] startAtLogin in AIR

Hi Matthew,

Turns out that my function works, but only when i package and install
it, not when testing in the IDE, (and that is where the Feature is not
available error came from. So on Beta 3 it is: 
NativeApplication.nativeApplication.startAtLogin = Boolean;

Hope this helps you aswell :)

Sid

Matthew James Poole wrote:
 Hi Sidney,

 I've just searched the Adobe bugs db on jira and there doesn't seem to

 be anything reported for this. But I can confirm that I get the same 
 RTE too, so I'd guess they will make it available at the real 
 launch... Had you tried this functionality in the Earlier releases? - 
 I believe it was called Shell.startApplicationAtLogin...

 Cheers
 Matt

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Sidney

 de Koning
 Sent: 10 January 2008 09:28
 To: Flash Coders List
 Subject: [Flashcoders] startAtLogin in AIR

 Hi List,

 I'm creating an app in AIR and do a
 NativeApplication.nativeApplication.startAtLogin = true; (i have also
 tried: NativeApplication.startAtLogin as stated in
 http://labs.adobe.com/wiki/index.php/AIR:Release_Notes) to create a 
 startup folder entry (pc and mac). I import the file 
 flash.desktop.NativeApplication.
 However it gives me this error:

 Error: Error #2014: Feature is not available at this time.
 at flash.desktop::NativeApplication/set startAtLogin()
 at ae_fla::MainTimeline/setRunAtStartup()
 at ae_fla::MainTimeline/frame1()

 I have checked the error codes here: 
 http://www.flexcoders.cn/showtopic-582.aspx and it says that  The 
 feature is not supported on this system.. Now i have checked the 
 labs.adobe docs and said it should be in there, i'm using the beta 3 
 for CS3.

 Does anyone have experience with this? Or know a workaround? Maybe the

 method call was changed in beta 3?


 Cheers,

 Sidney
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If 
you are not the named addressee of this e-mail, you may not copy or use it, or 
forward or otherwise disclose it to anyone else. If you have received this 
e-mail in error, please e-mail the sender by replying to this message and then 
fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] cacheasBitmap renders dynamic text distorted

2008-01-10 Thread Cedric Muller
I don't remember, but this maybe problematic if you do embed (or do  
not ?!) the font.
I ended up with another technique which takes snapshots of the  
textfield to be tweened, and then animates this bitmap


import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.text.TextField;
import caurina.transitions.Tweener;

//  create the textfield
this.field_txt = new TextField();
this.field_txt.text = This is some text;
this.addChild(this.field_txt);
//  create the bitmap
this.field_bmp = new Bitmap(new BitmapData(this.field_txt.width,  
this.field_txt.height, true, 0x));

//  draw the textfield into the bitmap
this.field_bmp.bitmapData.draw(this.field_txt);
this.addChild(this.field_bmp);
//  tween the bitmap field
Tweener.addTween(this.field_bmp, {y:100, transition:easeInOutSine,  
time:1});


hth,
Cedric

I was experience a little slowdown animating three dynamic  
textfields using Tweener


i used the cacheAsBitmap to true thinking this would solve it.

it did but it also made the text look really bad?

any suggestions? didnt find anything on google..
**example
http://dnecklesportfolio.com/pv3d/archive/1_xyBezier/nav.html

_
Make distant family not so distant with Windows Vista® + Windows  
Live™.
http://www.microsoft.com/windows/digitallife/keepintouch.mspx? 
ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008_ 
__

Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] cacheasBitmap renders dynamic text distorted

2008-01-10 Thread Dwayne Neckles





I was experience a little slowdown animating three dynamic textfields using 
Tweener

i used the cacheAsBitmap to true thinking this would solve it.

it did but it also made the text look really bad?

any suggestions? didnt find anything on google.. 
**example
http://dnecklesportfolio.com/pv3d/archive/1_xyBezier/nav.html

_
Make distant family not so distant with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] SetStyle with UI component

2008-01-10 Thread learner
Hi all,
Can I not use
setSytle(verticalAling,middle)
setSytle(horizontal,center)

with uiComponent

things like
mycomp extends UIComponent{

function mycomp (){
   super();
   setSytle(verticalAling,middle)
   setSytle(horizontal,center)  // this does not work :(
}


}

Please help
Regards
Ps
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] SetStyle with UI component

2008-01-10 Thread Hans Wichman
Hi,

did you copy and paste that? Since it's full of typo's :)
If u did, i'd try setStyle instead of setSytle and verticalAlign instead
verticalAlign.
If that wasn't it... then well it was a good guess:))
greetz
JC

On Jan 10, 2008 2:23 PM, learner [EMAIL PROTECTED] wrote:

 Hi all,
 Can I not use
 setSytle(verticalAling,middle)
 setSytle(horizontal,center)

 with uiComponent

 things like
 mycomp extends UIComponent{

 function mycomp (){
   super();
   setSytle(verticalAling,middle)
   setSytle(horizontal,center)  // this does not work :(
 }


 }

 Please help
 Regards
 Ps
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] extends implements

2008-01-10 Thread Andy Herrman
I normally just declare the extends, as the docs for the base class
would already show that it fits the interface.  However, in my AS2
code (I'm also working in java, C#, and C++ right now) I've started
declaring the interfaces as well.  The reason I started doing that is
that the documentation generator I'm using (as2api) doesn't seem to
properly inherit the documentation from the interface unless I
explicitly declare it.

  -Andy

On Jan 10, 2008 3:11 AM, Hans Wichman [EMAIL PROTECTED] wrote:
 Hi folks,

 I was wondering about your personal/professional preference regarding the
 following.

 Say you have an interface IEvent and a base class Event which implements
 IEvent.

 Now you are creating an event subclass MyEvent which can:
 - implement IEvent
 - extend Event
 - both

 In other words, would you when choosing to extend Event still declare it as
 an implementation of IEvent for the sake of readability:
 class MyEvent extends Event implements IEvent OR
 simply class MyEvent extends Event

 I see pro's and con's to the both of them, but I guess I'm looking to see if
 there is some sort of 'why declaring blablahb is evil'.

 I guess I'm used to adding the implements clause as well, since it allows me
 to change the superclass and testing whether I still adhere to the required
 interface by compiling that class instead of compiling any source that uses
 it. In addition I hope it prevents people from declaring variables like var
 a:Event instead var a:IEvent...

 tnx in advance.
 JC
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Sidney de Koning

Nice one :)

Another thing, maybe you know this aswell; i'm using Claus Wahlers AIR 
update class (http://codeazur.com.br/lab/airremoteupdater/) and i 
already converted it to beta 3, however there is still a error i'm 
getting about the flash.filesystem.File; import it says:
1046: Type was not found or was not a compile-time constant: File. 
public function AIRRemoteUpdaterEvent(type:String, file:File = null, 
bubbles:Boolean = false, cancelable:Boolean = true) { 


Had anything changed in flash.filesystem.File aswell?

Cheers,
Sid

Matthew James Poole wrote:

Hi Sid,

Thanks, That makes sense. That does help me - I'll be starting a app
soon that will need it. I've posted this the bug list anyway as this
isnt a very desriable thing:

http://bugs.adobe.com/jira/browse/SDK-14282

You can try looking to see if you are running in a IDE player - In AS2
you could look at System.capabilities.playerType for this - I'm not sure
what AIR returns to this, but it should be different when running in the
IDE compared to a installed release version

Cheers
Matt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 10 January 2008 10:44
To: Flash Coders List
Subject: Re: [Flashcoders] startAtLogin in AIR

Hi Matthew,

Turns out that my function works, but only when i package and install
it, not when testing in the IDE, (and that is where the Feature is not
available error came from. So on Beta 3 it is: 
NativeApplication.nativeApplication.startAtLogin = Boolean;


Hope this helps you aswell :)

Sid

Matthew James Poole wrote:
  

Hi Sidney,

I've just searched the Adobe bugs db on jira and there doesn't seem to



  
be anything reported for this. But I can confirm that I get the same 
RTE too, so I'd guess they will make it available at the real 
launch... Had you tried this functionality in the Earlier releases? - 
I believe it was called Shell.startApplicationAtLogin...


Cheers
Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney



  

de Koning
Sent: 10 January 2008 09:28
To: Flash Coders List
Subject: [Flashcoders] startAtLogin in AIR

Hi List,

I'm creating an app in AIR and do a
NativeApplication.nativeApplication.startAtLogin = true; (i have also
tried: NativeApplication.startAtLogin as stated in
http://labs.adobe.com/wiki/index.php/AIR:Release_Notes) to create a 
startup folder entry (pc and mac). I import the file 
flash.desktop.NativeApplication.

However it gives me this error:

Error: Error #2014: Feature is not available at this time.
at flash.desktop::NativeApplication/set startAtLogin()
at ae_fla::MainTimeline/setRunAtStartup()
at ae_fla::MainTimeline/frame1()

I have checked the error codes here: 
http://www.flexcoders.cn/showtopic-582.aspx and it says that  The 
feature is not supported on this system.. Now i have checked the 
labs.adobe docs and said it should be in there, i'm using the beta 3 
for CS3.


Does anyone have experience with this? Or know a workaround? Maybe the



  

method call was changed in beta 3?


Cheers,

Sidney


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  


Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. 


Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  



[Flashcoders] [AS2/JS] problem with cross domain JS,

2008-01-10 Thread sebastian chedal
Hello everyone, searched archives and went through the flash help IDE but I
am still a bit stuck with a cross domain issue.

2 flash files and 1 html page, the HTML page is on a different server/domain
than the SWFs.

both flash files need to have access to JS on the page [calls and return].

It works fine when I have all 3 files on the same server [for testing, but
this is not the final location in production...]

I have tried [in param and embed of object:]
allowScriptAccess = always

And I also tried making a crossdomain.xml file:

?xml version=1.0?
cross-domain-policy
  allow-access-from domain=development.servernameA.com /
  allow-access-from domain=development.servernameB.com /
/cross-domain-policy

I placed the crossdomain.xml file in both servers where the files are hosted
(/test/) and then I pointed the flash files [first frame of code] to the
cross domain file:

System.security.loadPolicyFile(
development.servernameA.com/test/crossdomain.xml);

Maybe I am missing something very simple...? But at the moment I am stuck
and not all too sure what else I need to change to allow these two swf files
to send/receive javascript to the hosting HTML page...

any advice is much appreciated! Thanks!

Sebastian
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [AS2/JS] problem with cross domain JS,

2008-01-10 Thread Gert-Jan van der Wel
Hi Sebastian,

I've had my share of trouble with cross domain issues, and it usually came
done to adding this line to the flash apps:

System.security.allowDomain( * );

Hope it helps,
Gert-Jan


2008/1/10, sebastian chedal [EMAIL PROTECTED]:

 Hello everyone, searched archives and went through the flash help IDE but
 I
 am still a bit stuck with a cross domain issue.

 2 flash files and 1 html page, the HTML page is on a different
 server/domain
 than the SWFs.

 both flash files need to have access to JS on the page [calls and return].

 It works fine when I have all 3 files on the same server [for testing, but
 this is not the final location in production...]

 I have tried [in param and embed of object:]
 allowScriptAccess = always

 And I also tried making a crossdomain.xml file:

 ?xml version=1.0?
 cross-domain-policy
   allow-access-from domain=development.servernameA.com /
   allow-access-from domain=development.servernameB.com /
 /cross-domain-policy

 I placed the crossdomain.xml file in both servers where the files are
 hosted
 (/test/) and then I pointed the flash files [first frame of code] to the
 cross domain file:

 System.security.loadPolicyFile(
 development.servernameA.com/test/crossdomain.xml);

 Maybe I am missing something very simple...? But at the moment I am stuck
 and not all too sure what else I need to change to allow these two swf
 files
 to send/receive javascript to the hosting HTML page...

 any advice is much appreciated! Thanks!

 Sebastian
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Gert-Jan van der Wel
Floorplanner

[w] http://www.floorplanner.com
[e] [EMAIL PROTECTED]
[t] +31 616.650.338
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] F9 breaking F7?

2008-01-10 Thread Andrew Sinning
Since installing F9 I can't get some of my old movies to publish in F7.  
I don't get any errors, but I just get a blank stage when I go to Test 
Movie.


Is this a known problem?  I have know idea where to begin look.  I 
figured I could narrow it down to a specific asset by removing half the 
items from the time line and so on, then removing half the items from 
the library and so on, but even after clearing out the entire library 
and timeline (and adding something new to look at) I just get a blank stage.


It's a good thing they let you install the software on a backup 
machine.  Time to boot up my old laptop


Thanks!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Matthew James Poole
There are a few changes to the File class for example file.resolve(url),
is now file.resolvePath(url) and there are a couple of new methods ...

... But from the error it looks like the AIRRemoteUpdaterEvent class is
missing an import.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 10 January 2008 14:49
To: Flash Coders List
Subject: Re: [Flashcoders] startAtLogin in AIR

Nice one :)

Another thing, maybe you know this aswell; i'm using Claus Wahlers AIR
update class (http://codeazur.com.br/lab/airremoteupdater/) and i
already converted it to beta 3, however there is still a error i'm
getting about the flash.filesystem.File; import it says:
1046: Type was not found or was not a compile-time constant: File. 
public function AIRRemoteUpdaterEvent(type:String, file:File = null, 
bubbles:Boolean = false, cancelable:Boolean = true) { 

Had anything changed in flash.filesystem.File aswell?

Cheers,
Sid

Matthew James Poole wrote:
 Hi Sid,

 Thanks, That makes sense. That does help me - I'll be starting a app 
 soon that will need it. I've posted this the bug list anyway as this 
 isnt a very desriable thing:

 http://bugs.adobe.com/jira/browse/SDK-14282

 You can try looking to see if you are running in a IDE player - In AS2

 you could look at System.capabilities.playerType for this - I'm not 
 sure what AIR returns to this, but it should be different when running

 in the IDE compared to a installed release version

 Cheers
 Matt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Sidney

 de Koning
 Sent: 10 January 2008 10:44
 To: Flash Coders List
 Subject: Re: [Flashcoders] startAtLogin in AIR

 Hi Matthew,

 Turns out that my function works, but only when i package and install 
 it, not when testing in the IDE, (and that is where the Feature is 
 not available error came from. So on Beta 3 it is:
 NativeApplication.nativeApplication.startAtLogin = Boolean;

 Hope this helps you aswell :)

 Sid

 Matthew James Poole wrote:
   
 Hi Sidney,

 I've just searched the Adobe bugs db on jira and there doesn't seem 
 to
 

   
 be anything reported for this. But I can confirm that I get the same 
 RTE too, so I'd guess they will make it available at the real 
 launch... Had you tried this functionality in the Earlier releases? -

 I believe it was called Shell.startApplicationAtLogin...

 Cheers
 Matt

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Sidney
 

   
 de Koning
 Sent: 10 January 2008 09:28
 To: Flash Coders List
 Subject: [Flashcoders] startAtLogin in AIR

 Hi List,

 I'm creating an app in AIR and do a
 NativeApplication.nativeApplication.startAtLogin = true; (i have also
 tried: NativeApplication.startAtLogin as stated in
 http://labs.adobe.com/wiki/index.php/AIR:Release_Notes) to create a 
 startup folder entry (pc and mac). I import the file 
 flash.desktop.NativeApplication.
 However it gives me this error:

 Error: Error #2014: Feature is not available at this time.
 at flash.desktop::NativeApplication/set startAtLogin()
 at ae_fla::MainTimeline/setRunAtStartup()
 at ae_fla::MainTimeline/frame1()

 I have checked the error codes here: 
 http://www.flexcoders.cn/showtopic-582.aspx and it says that  The 
 feature is not supported on this system.. Now i have checked the 
 labs.adobe docs and said it should be in there, i'm using the beta 3 
 for CS3.

 Does anyone have experience with this? Or know a workaround? Maybe 
 the
 

   
 method call was changed in beta 3?


 Cheers,

 Sidney
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 __
 This e-mail has been scanned for viruses by the Virtual Universe 
 e-mail security system - powered by MessageLabs.
 http://www.virtual-universe.net

 __

 Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  
 NW6 6RJ

 Tel:  +44 (0) 870 788 6000  

 Fax: +44 (0) 870 788 6689

 Web:www.virtual-universe.net

 --
 ---

 CONFIDENTIALITY NOTICE

 This e-mail may contain information which is confidential and
privileged. If you are not the named addressee of this e-mail, you may
not copy or use it, or forward or otherwise disclose it to anyone else.
If you have received this e-mail in error, please e-mail the sender by
replying to this message and then fully delete it from your system. 

 Any views or opinions presented in this e-mail are solely those of the
author and do not necessarily represent those of Amplefuture Group.
Amplefuture Group reserves the right to monitor e-mail communications
from both external 

Re: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Sidney de Koning
I'll leave it be than, i'll use the standard adobe methods, they are 
working without a hassel (time constrain ... :S)


How do you trace your messages in AIR from the IDE? i dont get any i 
just noticed.


Matthew James Poole wrote:

There are a few changes to the File class for example file.resolve(url),
is now file.resolvePath(url) and there are a couple of new methods ...

... But from the error it looks like the AIRRemoteUpdaterEvent class is
missing an import.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 10 January 2008 14:49
To: Flash Coders List
Subject: Re: [Flashcoders] startAtLogin in AIR

Nice one :)

Another thing, maybe you know this aswell; i'm using Claus Wahlers AIR
update class (http://codeazur.com.br/lab/airremoteupdater/) and i
already converted it to beta 3, however there is still a error i'm
getting about the flash.filesystem.File; import it says:
1046: Type was not found or was not a compile-time constant: File. 
public function AIRRemoteUpdaterEvent(type:String, file:File = null, 
bubbles:Boolean = false, cancelable:Boolean = true) { 


Had anything changed in flash.filesystem.File aswell?

Cheers,
Sid

Matthew James Poole wrote:
  

Hi Sid,

Thanks, That makes sense. That does help me - I'll be starting a app 
soon that will need it. I've posted this the bug list anyway as this 
isnt a very desriable thing:


http://bugs.adobe.com/jira/browse/SDK-14282

You can try looking to see if you are running in a IDE player - In AS2



  
you could look at System.capabilities.playerType for this - I'm not 
sure what AIR returns to this, but it should be different when running



  

in the IDE compared to a installed release version

Cheers
Matt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney



  

de Koning
Sent: 10 January 2008 10:44
To: Flash Coders List
Subject: Re: [Flashcoders] startAtLogin in AIR

Hi Matthew,

Turns out that my function works, but only when i package and install 
it, not when testing in the IDE, (and that is where the Feature is 
not available error came from. So on Beta 3 it is:

NativeApplication.nativeApplication.startAtLogin = Boolean;

Hope this helps you aswell :)

Sid

Matthew James Poole wrote:
  


Hi Sidney,

I've just searched the Adobe bugs db on jira and there doesn't seem 
to

  
  

be anything reported for this. But I can confirm that I get the same 
RTE too, so I'd guess they will make it available at the real 
launch... Had you tried this functionality in the Earlier releases? -
  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Matthew James Poole
Good plan, it doesn't look that complicated anyway...

@How do you trace your messages in AIR from the IDE?

Are you using Flex or Flash? I've not built any AIR in Flash so I cant
comment, but in Flex you get full stack trace, debug and memory profiler
for working in the IDE ;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 10 January 2008 17:27
To: Flash Coders List
Subject: Re: [Flashcoders] startAtLogin in AIR

I'll leave it be than, i'll use the standard adobe methods, they are
working without a hassel (time constrain ... :S)

How do you trace your messages in AIR from the IDE? i dont get any i
just noticed.

Matthew James Poole wrote:
 There are a few changes to the File class for example 
 file.resolve(url), is now file.resolvePath(url) and there are a couple
of new methods ...

 ... But from the error it looks like the AIRRemoteUpdaterEvent class 
 is missing an import.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Sidney

 de Koning
 Sent: 10 January 2008 14:49
 To: Flash Coders List
 Subject: Re: [Flashcoders] startAtLogin in AIR

 Nice one :)

 Another thing, maybe you know this aswell; i'm using Claus Wahlers AIR

 update class (http://codeazur.com.br/lab/airremoteupdater/) and i 
 already converted it to beta 3, however there is still a error i'm 
 getting about the flash.filesystem.File; import it says:
 1046: Type was not found or was not a compile-time constant: File. 
 public function AIRRemoteUpdaterEvent(type:String, file:File = null, 
 bubbles:Boolean = false, cancelable:Boolean = true) { 

 Had anything changed in flash.filesystem.File aswell?

 Cheers,
 Sid

 Matthew James Poole wrote:
   
 Hi Sid,

 Thanks, That makes sense. That does help me - I'll be starting a app 
 soon that will need it. I've posted this the bug list anyway as this 
 isnt a very desriable thing:

 http://bugs.adobe.com/jira/browse/SDK-14282

 You can try looking to see if you are running in a IDE player - In 
 AS2
 

   
 you could look at System.capabilities.playerType for this - I'm not 
 sure what AIR returns to this, but it should be different when 
 running
 

   
 in the IDE compared to a installed release version

 Cheers
 Matt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Sidney
 

   
 de Koning
 Sent: 10 January 2008 10:44
 To: Flash Coders List
 Subject: Re: [Flashcoders] startAtLogin in AIR

 Hi Matthew,

 Turns out that my function works, but only when i package and install

 it, not when testing in the IDE, (and that is where the Feature is 
 not available error came from. So on Beta 3 it is:
 NativeApplication.nativeApplication.startAtLogin = Boolean;

 Hope this helps you aswell :)

 Sid

 Matthew James Poole wrote:
   
 
 Hi Sidney,

 I've just searched the Adobe bugs db on jira and there doesn't seem 
 to
 
   
   
 
 be anything reported for this. But I can confirm that I get the same

 RTE too, so I'd guess they will make it available at the real 
 launch... Had you tried this functionality in the Earlier releases? 
 -
   

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If 
you are not the named addressee of this e-mail, you may not copy or use it, or 
forward or otherwise disclose it to anyone else. If you have received this 
e-mail in error, please e-mail the sender by replying to this message and then 
fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] cacheasBitmap renders dynamic text distorted

2008-01-10 Thread Muzak

Try switching cacheAsBitmap on (while animating) and off (for display).

Or use a Bitmap snapshot as Cedric mentioned.

regards,
Muzak

- Original Message - 
From: Dwayne Neckles [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 10, 2008 12:52 PM
Subject: [Flashcoders] cacheasBitmap renders dynamic text distorted

I was experience a little slowdown animating three dynamic textfields using 
Tweener

i used the cacheAsBitmap to true thinking this would solve it.

it did but it also made the text look really bad?

any suggestions? didnt find anything on google.. 
**example

http://dnecklesportfolio.com/pv3d/archive/1_xyBezier/nav.html


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Muzak
How do you trace your messages in AIR from the IDE? i dont get any i 
just noticed.




In the Flash IDE:
Debug - Debug Movie works fine here.

As explained in the docs:
http://livedocs.adobe.com/labs/air/1/devappsflash/
http://livedocs.adobe.com/labs/air/1/devappsflash/UsingFlash_5.html#1084922

- Original Message - 
From: Sidney de Koning [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 10, 2008 6:27 PM
Subject: Re: [Flashcoders] startAtLogin in AIR


I'll leave it be than, i'll use the standard adobe methods, they are 
working without a hassel (time constrain ... :S)


How do you trace your messages in AIR from the IDE? i dont get any i 
just noticed.


Matthew James Poole wrote:

There are a few changes to the File class for example file.resolve(url),
is now file.resolvePath(url) and there are a couple of new methods ...

... But from the error it looks like the AIRRemoteUpdaterEvent class is
missing an import.



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] extends implements

2008-01-10 Thread Cory Petosky
I declare the implements as well, because FDT doesn't seem to infer
interface inheritance. Without explicitly declaring the implements, I get
extraneous error notifications.

On 1/10/08, Andy Herrman [EMAIL PROTECTED] wrote:

 I normally just declare the extends, as the docs for the base class
 would already show that it fits the interface.  However, in my AS2
 code (I'm also working in java, C#, and C++ right now) I've started
 declaring the interfaces as well.  The reason I started doing that is
 that the documentation generator I'm using (as2api) doesn't seem to
 properly inherit the documentation from the interface unless I
 explicitly declare it.

   -Andy

 On Jan 10, 2008 3:11 AM, Hans Wichman [EMAIL PROTECTED]
 wrote:
  Hi folks,
 
  I was wondering about your personal/professional preference regarding
 the
  following.
 
  Say you have an interface IEvent and a base class Event which implements
  IEvent.
 
  Now you are creating an event subclass MyEvent which can:
  - implement IEvent
  - extend Event
  - both
 
  In other words, would you when choosing to extend Event still declare it
 as
  an implementation of IEvent for the sake of readability:
  class MyEvent extends Event implements IEvent OR
  simply class MyEvent extends Event
 
  I see pro's and con's to the both of them, but I guess I'm looking to
 see if
  there is some sort of 'why declaring blablahb is evil'.
 
  I guess I'm used to adding the implements clause as well, since it
 allows me
  to change the superclass and testing whether I still adhere to the
 required
  interface by compiling that class instead of compiling any source that
 uses
  it. In addition I hope it prevents people from declaring variables like
 var
  a:Event instead var a:IEvent...
 
  tnx in advance.
  JC
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Cory Petosky : Lead Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Q: applying a decorator to manually authored object

2008-01-10 Thread ruserius
Hi
I'm trying to apply a decorator to a movieclip  instance that is manually 
placed on the stage.
 

Normally, when applying a decorator, you simply instantiate a new concrete
component like so

var concreteComponent:abstractComponent

concreteComponent= new concreteDecorator(concreteComponent);

where concreteComponent refers to the instance of the component you wish to
decorate.

But what if this component is manually authored and placed on the stage before
compiling?


[f] www.flickr.com/photos/bitstream
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] So You Want To Hire a SWF Developer?

2008-01-10 Thread Joseph Balderson
FYI, there's a free article on Community MX 
http://www.communitymx.com/abstract.cfm?cid=284FA I penned to help 
recruiters, HR personnel, managers and developers wrestling with the 
question what do we call the person who builds SWF files for a living, 
and what exactly do they do?


By no means the final word on job descriptions (so please don't take 
offence if you feel you don't fit into any of the categories), this 
should offer some clarity on the evolution of the Flash ecosystem of 
technologies and proposed skillset descriptions in the current marketplace.


A further description of the document can be found here 
http://www.joeflash.ca/blog/2008/01/so-you-want-to-hire-a-swf-developer.html, 
and a PDF version of the document can be downloaded on the article page 
link above.


Pass this along to any managers, recruiters or HR people who may have a 
use for it. Apologies for the plug, but a lot of people I know could use 
this information, just wanted to share.



Cheers,

--
___

Joseph Balderson, Flash Platform Developer | http://joeflash.ca
Writing partner, Community MX | http://www.communitymx.com
Abobe Certified Developer  Trainer
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: [flexcomponents] SetStyle with UI component

2008-01-10 Thread learner
thanks Alex got it,
so in update list should i do something like

childcomp.x = (this.width-childcomp.x)/2  // for aligning the childcomp in
center

On Jan 10, 2008 10:17 PM, Alex Harui [EMAIL PROTECTED] wrote:

UIComponent does not have any layout logic.  Your subclass is
 responsible for laying out its children in the updateDisplayList() call and
 responding to any alignment or other styles you want to care about


  --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *learner
 *Sent:* Thursday, January 10, 2008 5:23 AM
 *To:* [EMAIL PROTECTED]; Flashcoders mailing list
 *Subject:* [flexcomponents] SetStyle with UI component



 Hi all,
 Can I not use
 setSytle(verticalAling,middle)
 setSytle(horizontal,center)

 with uiComponent

 things like
 mycomp extends UIComponent{

 function mycomp (){
super();
setSytle(verticalAling,middle)
setSytle(horizontal,center)  // this does not work :(
 }


 }

 Please help
 Regards
 Ps

  __._,_.___  Messages in this topic
 http://groups.yahoo.com/group/flexcomponents/message/3337;_ylc=X3oDMTM1Y3BhZXI3BF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMzMzQxBHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTE5OTk4MzY3NQR0cGNJZAMzMzM3(
 5)  Reply (via web post)
 http://groups.yahoo.com/group/flexcomponents/post;_ylc=X3oDMTJxaXVpdWUxBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMzMzQxBHNlYwNmdHIEc2xrA3JwbHkEc3RpbWUDMTE5OTk4MzY3NQ--?act=replymessageNum=3341|
  Start
 a new topic
 http://groups.yahoo.com/group/flexcomponents/post;_ylc=X3oDMTJmbGpxYWVkBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzExOTk5ODM2NzU-
  
 Messageshttp://groups.yahoo.com/group/flexcomponents/messages;_ylc=X3oDMTJmMThmNGFkBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzExOTk5ODM2NzU-|
 Fileshttp://groups.yahoo.com/group/flexcomponents/files;_ylc=X3oDMTJnMzVocjFiBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNmaWxlcwRzdGltZQMxMTk5OTgzNjc1|
 Photoshttp://groups.yahoo.com/group/flexcomponents/photos;_ylc=X3oDMTJmczh2c2NhBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNwaG90BHN0aW1lAzExOTk5ODM2NzU-|
 Linkshttp://groups.yahoo.com/group/flexcomponents/links;_ylc=X3oDMTJncXBtZmU5BF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNsaW5rcwRzdGltZQMxMTk5OTgzNjc1|
 Databasehttp://groups.yahoo.com/group/flexcomponents/database;_ylc=X3oDMTJkNzVhaDNtBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNkYgRzdGltZQMxMTk5OTgzNjc1|
 Pollshttp://groups.yahoo.com/group/flexcomponents/polls;_ylc=X3oDMTJnb3I3NG92BF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNwb2xscwRzdGltZQMxMTk5OTgzNjc1|
 Membershttp://groups.yahoo.com/group/flexcomponents/members;_ylc=X3oDMTJmbzI4amtrBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtYnJzBHN0aW1lAzExOTk5ODM2NzU-|
 Calendarhttp://groups.yahoo.com/group/flexcomponents/calendar;_ylc=X3oDMTJlMmFmbDcyBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNjYWwEc3RpbWUDMTE5OTk4MzY3NQ--
  MARKETPLACE
  --
 Earn your degree in as few as 2 years - Advance your career with an AS,
 BS, MS 
 degreehttp://us.ard.yahoo.com/SIG=12mb4v3vn/M=571476.12066680.12490312.11509771/D=groups/S=1705007207:MKP1/Y=YAHOO/EXP=110875/A=5086951/R=0/SIG=12k8pu1n3/*http://college-finder.net/index.cfm?key=yahoo_colfngrouptxt_12066680c=CA152932587-
 College-Finder.net.
   [image: Yahoo! 
 Groups]http://groups.yahoo.com/;_ylc=X3oDMTJlYWZyMTFyBF9TAzk3NDc2NTkwBGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTE5OTk4MzY3NQ--
 Change settings via the 
 Webhttp://groups.yahoo.com/group/flexcomponents/join;_ylc=X3oDMTJncHBwcG81BF9TAzk3NDc2NTkwBGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMTk5OTgzNjc1(Yahoo!
  ID required)
 Change settings via email: Switch delivery to Daily Digest[EMAIL 
 PROTECTED]:+Digest| Switch
 format to Traditional[EMAIL PROTECTED]:+Traditional
  Visit Your Group
 http://groups.yahoo.com/group/flexcomponents;_ylc=X3oDMTJlOWhhNDVyBF9TAzk3NDc2NTkwBGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTE5OTk4MzY3NQ--|
  Yahoo!
 Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe
 [EMAIL PROTECTED]
   Recent Activity

-  25
New 
 Membershttp://groups.yahoo.com/group/flexcomponents/members;_ylc=X3oDMTJnOWNhaDdiBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTk5OTgzNjc1
 -  2
New 
 Linkshttp://groups.yahoo.com/group/flexcomponents/links;_ylc=X3oDMTJoY2dlZ2huBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bGlua3MEc3RpbWUDMTE5OTk4MzY3NQ--

  Visit Your Group
 

[Flashcoders] Re: [flexcomponents] SetStyle with UI component

2008-01-10 Thread learner
thanks got it!


On Jan 11, 2008 10:35 AM, Alex Harui [EMAIL PROTECTED] wrote:

Yes, but we recommend the use of unscaledWidth instead of width.


  --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *learner
 *Sent:* Thursday, January 10, 2008 8:56 PM
 *To:* [EMAIL PROTECTED]
 *Cc:* Flashcoders mailing list
 *Subject:* Re: [flexcomponents] SetStyle with UI component



 thanks Alex got it,
 so in update list should i do something like

 childcomp.x = (this.width-childcomp.x)/2  // for aligning the childcomp in
 center

 On Jan 10, 2008 10:17 PM, Alex Harui  [EMAIL PROTECTED] wrote:

 UIComponent does not have any layout logic.  Your subclass is responsible
 for laying out its children in the updateDisplayList() call and responding
 to any alignment or other styles you want to care about


  --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *learner
 *Sent:* Thursday, January 10, 2008 5:23 AM
 *To:* [EMAIL PROTECTED]; Flashcoders mailing list
 *Subject:* [flexcomponents] SetStyle with UI component



 Hi all,
 Can I not use
 setSytle(verticalAling,middle)
 setSytle(horizontal,center)

 with uiComponent

 things like
 mycomp extends UIComponent{

 function mycomp (){
super();
setSytle(verticalAling,middle)
setSytle(horizontal,center)  // this does not work :(
 }


 }

 Please help
 Regards
 Ps



  __._,_.___  Messages in this topic
 http://groups.yahoo.com/group/flexcomponents/message/3337;_ylc=X3oDMTM1c2lsZTRnBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMzMzQ5BHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTIwMDAyNzkyNwR0cGNJZAMzMzM3(
 7)  Reply (via web post)
 http://groups.yahoo.com/group/flexcomponents/post;_ylc=X3oDMTJxYmcxMnQ5BF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMzMzQ5BHNlYwNmdHIEc2xrA3JwbHkEc3RpbWUDMTIwMDAyNzkyNw--?act=replymessageNum=3349|
  Start
 a new topic
 http://groups.yahoo.com/group/flexcomponents/post;_ylc=X3oDMTJmaDNkdmpuBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzEyMDAwMjc5Mjc-
  
 Messageshttp://groups.yahoo.com/group/flexcomponents/messages;_ylc=X3oDMTJmNHQ3MXQxBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzEyMDAwMjc5Mjc-|
 Fileshttp://groups.yahoo.com/group/flexcomponents/files;_ylc=X3oDMTJnM2l1a2o1BF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNmaWxlcwRzdGltZQMxMjAwMDI3OTI3|
 Photoshttp://groups.yahoo.com/group/flexcomponents/photos;_ylc=X3oDMTJmcHJqYnJnBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNwaG90BHN0aW1lAzEyMDAwMjc5Mjc-|
 Linkshttp://groups.yahoo.com/group/flexcomponents/links;_ylc=X3oDMTJncGpuYmdrBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNsaW5rcwRzdGltZQMxMjAwMDI3OTI3|
 Databasehttp://groups.yahoo.com/group/flexcomponents/database;_ylc=X3oDMTJkanE1a2w3BF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNkYgRzdGltZQMxMjAwMDI3OTI3|
 Pollshttp://groups.yahoo.com/group/flexcomponents/polls;_ylc=X3oDMTJncGhocjM2BF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNwb2xscwRzdGltZQMxMjAwMDI3OTI3|
 Membershttp://groups.yahoo.com/group/flexcomponents/members;_ylc=X3oDMTJmZHR1ZDQxBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtYnJzBHN0aW1lAzEyMDAwMjc5Mjc-|
 Calendarhttp://groups.yahoo.com/group/flexcomponents/calendar;_ylc=X3oDMTJlaXVkamVxBF9TAzk3MzU5NzE0BGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNjYWwEc3RpbWUDMTIwMDAyNzkyNw--
  MARKETPLACE
  --
 Earn your degree in as few as 2 years - Advance your career with an AS,
 BS, MS 
 degreehttp://us.ard.yahoo.com/SIG=12mfomgjd/M=571476.12066680.12490312.11509771/D=groups/S=1705007207:MKP1/Y=YAHOO/EXP=1200035127/A=5086951/R=0/SIG=12k8pu1n3/*http://college-finder.net/index.cfm?key=yahoo_colfngrouptxt_12066680c=CA152932587-
 College-Finder.net.
   [image: Yahoo! 
 Groups]http://groups.yahoo.com/;_ylc=X3oDMTJlYXVhbWlmBF9TAzk3NDc2NTkwBGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTIwMDAyNzkyNw--
 Change settings via the 
 Webhttp://groups.yahoo.com/group/flexcomponents/join;_ylc=X3oDMTJnYmwxaTdxBF9TAzk3NDc2NTkwBGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMjAwMDI3OTI3(Yahoo!
  ID required)
 Change settings via email: Switch delivery to Daily Digest[EMAIL 
 PROTECTED]:+Digest| Switch
 format to Traditional[EMAIL PROTECTED]:+Traditional
  Visit Your Group
 http://groups.yahoo.com/group/flexcomponents;_ylc=X3oDMTJlZGRia2RtBF9TAzk3NDc2NTkwBGdycElkAzE4MjM1OTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTIwMDAyNzkyNw--|
  Yahoo!
 Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe
 [EMAIL PROTECTED]
   Recent Activity

-  24
New 
 

Re: [Flashcoders] Q: applying a decorator to manually authored object

2008-01-10 Thread Hans Wichman
Hi,

since your concrete instance is already on the stage wudnt u just get for
example:

new Decorator (_level0.a.b.c.d.etc)

Although if this is truly a decorator can be debatable, but seeing the clip
can have a class attached with its own interface i dont see why not.
The problem with decorator lies probably with how to replace the references
other objects already have to your concrete object with your decorator.

greetz
JC

On Jan 10, 2008 11:37 PM, [EMAIL PROTECTED] wrote:

 Hi
 I'm trying to apply a decorator to a movieclip  instance that is manually
 placed on the stage.


 Normally, when applying a decorator, you simply instantiate a new concrete
 component like so

 var concreteComponent:abstractComponent

 concreteComponent= new concreteDecorator(concreteComponent);

 where concreteComponent refers to the instance of the component you wish
 to
 decorate.

 But what if this component is manually authored and placed on the stage
 before
 compiling?


 [f] www.flickr.com/photos/bitstream
 [c] 416.668.0034
 [w] www.bitstream.ca
 
 ...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders