[Flashcoders] :: monster debugger issue ::

2011-08-22 Thread Arindam Dhar
Hi,

I am facing a monster debugger issue where in it stops displaying traces after 
a huge number of traces already been displayed. I am using the latest, 3.0.1 
and have the latest flash player debugger.


Any fix or work around ?

many thanks,

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


[Flashcoders] :: flash player 10.0.12.36 Vector unshift issue ::

2011-08-11 Thread Arindam Dhar
Hi,

We found an issue with flash player version  10.0.12.36, wherein vector 
unshift() method is not working.

Has anyone out there encountered similar issue ?

thanks,

Arindam D.

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


[Flashcoders] :: Openspace ::

2009-08-19 Thread arindam dhar
Has anyone worked with openspace isometric flash game engine ? I  need some 
clarifications on the same. The official documentation sucks..






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


Re: [Flashcoders] Why do you compile with the Flash IDE?

2008-05-16 Thread arindam dhar
How do u compile ur AS2 applications using
flexbuilder?

If u are making flex applications, u compile by
flexbuilder, if u r making flash applications, u use
flash IDE. 

regards,

A.


--- EECOLOR [EMAIL PROTECTED] wrote:

 I hardly ever use the Flash IDE these days. I
 program with FlexBuilder and
 import images created by the designers. I am
 wondering, why are some of you
 still using the Flash IDE to compile your
 applications?
 
 What is the big benefit of using the Flash IDE in
 combination with
 ActionScript?
 
 
 Greetz Erik
 ___
 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] :: numbers as exponents ::

2007-03-14 Thread Arindam Dhar
trace( 0.45);  // traces  0.45
   
  trace( 0.045); //  traces 4.5e-6
   
  Looks like flash  give exponential values if there are more than four zeroes 
after decimal. Anyone has any solution where I will get 0.045 from flash, 
instead of 4.5e-6. 
   
  Thanks,
   
  Arindam


-
 Yahoo! Movies - Search movie info and celeb profiles and photos.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Arindam Dhar
 
  its button.enabled = false;

Lois IN [EMAIL PROTECTED] wrote:
  Hi,
First of all, sorry for my english.

When you say the button are disabled you refer like this:
button.enabled = false;
Or you just talk about visibiliti:
button._visible = false;

Please confirm that.

Regards!

2007/1/25, Arindam Dhar :

 hi,

 I have a movie loaded with many animations(not scripted). And there are
 few buttons on stage to control them.Now,when the buttons are disabled,
 continueously clicking on them makes the animations slower and sometimes
 jerky.

 Why is that happening? When button is disabled no code execution happens
 so, what consumes the CPU? its a fact that multiple processing makes flash
 animations slower, but never thought clicking disabled buttons would consume
 CPU and make animations slower..

 Any explanation is highly appreciated..

 thanks,

 Arindam


 -

 Real people. Real questions. Real answers. Share what you know.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 
 Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Arindam Dhar
no onEnterframe() , just plain movieclip timeline animations, little heavy 
though, and some buttons comtrolling them which are disabled when animations 
are running.
   
  

Lois IN [EMAIL PROTECTED] wrote:
  Maybe you have a lot of onEnterFrame, or somthing like this and your movie
was to heavy.

Paste your code to see what's happend.


2007/1/25, Arindam Dhar :


 its button.enabled = false;

 Lois IN wrote:
 Hi,
 First of all, sorry for my english.

 When you say the button are disabled you refer like this:
 button.enabled = false;
 Or you just talk about visibiliti:
 button._visible = false;

 Please confirm that.

 Regards!

 2007/1/25, Arindam Dhar :
 
  hi,
 
  I have a movie loaded with many animations(not scripted). And there are
  few buttons on stage to control them.Now,when the buttons are disabled,
  continueously clicking on them makes the animations slower and sometimes
  jerky.
 
  Why is that happening? When button is disabled no code execution happens
  so, what consumes the CPU? its a fact that multiple processing makes
 flash
  animations slower, but never thought clicking disabled buttons would
 consume
  CPU and make animations slower..
 
  Any explanation is highly appreciated..
 
  thanks,
 
  Arindam
 
 
  -
 
  Real people. Real questions. Real answers. Share what you know.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



 -

 Real people. Real questions. Real answers. Share what you know.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 Yahoo! Movies - Search movie info and celeb profiles and photos.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Arindam Dhar
I am not sure if slowdown happens when other areas are clicked, in fact this 
problem was reported by someone else and i just saw him clickng only the 
disabled buttons. Later,may be after a month of reporting, I could not 
reproduce the same problem and still trying. But whats for sure is, i have seen 
the problem happening.So i was just wondering how it could it happen earlier 
and not happening now. But i have observed that clicking a disabled button 
rapidly, does consume a little CPU...
   
   
   
   
  Marc Hoffman [EMAIL PROTECTED] wrote:
  Are you sure the slowdown is only when clicking on the buttons? Does 
it slow down when you click other places?

At 06:51 AM 1/25/2007, you wrote:
no onEnterframe() , just plain movieclip timeline animations, little 
heavy though, and some buttons comtrolling them which are disabled 
when animations are running.



Lois IN wrote:
 Maybe you have a lot of onEnterFrame, or somthing like this and your movie
was to heavy.

Paste your code to see what's happend.


2007/1/25, Arindam Dhar :
 
 
  its button.enabled = false;
 
  Lois IN wrote:
  Hi,
  First of all, sorry for my english.
 
  When you say the button are disabled you refer like this:
  button.enabled = false;
  Or you just talk about visibiliti:
  button._visible = false;
 
  Please confirm that.
 
  Regards!
 
  2007/1/25, Arindam Dhar :
  
   hi,
  
   I have a movie loaded with many animations(not scripted). And there are
   few buttons on stage to control them.Now,when the buttons are disabled,
   continueously clicking on them makes the animations slower and sometimes
   jerky.
  
   Why is that happening? When button is disabled no code execution happens
   so, what consumes the CPU? its a fact that multiple processing makes
  flash
   animations slower, but never thought clicking disabled buttons would
  consume
   CPU and make animations slower..
  
   Any explanation is highly appreciated..
  
   thanks,
  
   Arindam
  
  
   -
  
   Real people. Real questions. Real answers. Share what you know.
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
 
  -
 
  Real people. Real questions. Real answers. Share what you know.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 Yahoo! Movies - Search movie info and celeb profiles and photos.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
Meet your soulmate!
 Yahoo! Asia presents Meetic - where millions of singles gather 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Arindam Dhar
uploading it beyond scope as of now, no high definition photos, just complex 
vector images animated, and I am not sure of exact filesize but definitely not 
more than 250 kb

Lois IN [EMAIL PROTECTED] wrote:  Can you upload your swf to see what's going 
on? I don't know what can be
with your info; maybe you have photos in hight definition, a lot of sounds,
etc...
Your swf is bigger than 300kb??

2007/1/25, Arindam Dhar :

 no onEnterframe() , just plain movieclip timeline animations, little heavy
 though, and some buttons comtrolling them which are disabled when animations
 are running.



 Lois IN wrote:
 Maybe you have a lot of onEnterFrame, or somthing like this and your
 movie
 was to heavy.

 Paste your code to see what's happend.


 2007/1/25, Arindam Dhar :
 
 
  its button.enabled = false;
 
  Lois IN wrote:
  Hi,
  First of all, sorry for my english.
 
  When you say the button are disabled you refer like this:
  button.enabled = false;
  Or you just talk about visibiliti:
  button._visible = false;
 
  Please confirm that.
 
  Regards!
 
  2007/1/25, Arindam Dhar :
  
   hi,
  
   I have a movie loaded with many animations(not scripted). And there
 are
   few buttons on stage to control them.Now,when the buttons are
 disabled,
   continueously clicking on them makes the animations slower and
 sometimes
   jerky.
  
   Why is that happening? When button is disabled no code execution
 happens
   so, what consumes the CPU? its a fact that multiple processing makes
  flash
   animations slower, but never thought clicking disabled buttons would
  consume
   CPU and make animations slower..
  
   Any explanation is highly appreciated..
  
   thanks,
  
   Arindam
  
  
   -
  
   Real people. Real questions. Real answers. Share what you know.
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
 
  -
 
  Real people. Real questions. Real answers. Share what you know.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



 -
 Yahoo! Movies - Search movie info and celeb profiles and photos.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 Yahoo! Movies - Search movie info and celeb profiles and photos.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Arindam Dhar
Marc,
   
  computers are all same, but i am sure when the problem occured the player was 
either 6 or 7 is user's machine, and i have upgraded to 9. 
   
  anyway, thanks for the hints, let me dig deeper ino it...
   
  regards,
   
  Arindam
   
  
Marc Hoffman [EMAIL PROTECTED] wrote:
  It is typical that a movie that is highly taxing to the processor 
will slow down when rapid mouse motion or clicks are occurring. I 
would guess that the reason you can't replicate your user's 
experience is that your computer is more powerful or you've upgraded 
the Flash player. I doubt that it makes a difference whether you 
click over a disabled button or over another area of the Flash 
screen, but you would need to use a fps detector to achieve a 
reliable test, unless the difference was extreme.

Marc Hoffman

At 08:16 AM 1/25/2007, you wrote:
I am not sure if slowdown happens when other areas are clicked, in 
fact this problem was reported by someone else and i just saw him 
clickng only the disabled buttons. Later,may be after a month of 
reporting, I could not reproduce the same problem and still trying. 
But whats for sure is, i have seen the problem happening.So i was 
just wondering how it could it happen earlier and not happening now. 
But i have observed that clicking a disabled button rapidly, does 
consume a little CPU...




 Marc Hoffman 
wrote:
 Are you sure the slowdown is only when clicking on the buttons? Does
it slow down when you click other places?

At 06:51 AM 1/25/2007, you wrote:
 no onEnterframe() , just plain movieclip timeline animations, little
 heavy though, and some buttons comtrolling them which are disabled
 when animations are running.
 
 
 
 Lois IN wrote:
  Maybe you have a lot of onEnterFrame, or somthing like this and your movie
 was to heavy.
 
 Paste your code to see what's happend.
 
 
 2007/1/25, Arindam Dhar :
  
  
   its button.enabled = false;
  
   Lois IN wrote:
   Hi,
   First of all, sorry for my english.
  
   When you say the button are disabled you refer like this:
   button.enabled = false;
   Or you just talk about visibiliti:
   button._visible = false;
  
   Please confirm that.
  
   Regards!
  
   2007/1/25, Arindam Dhar :
   
hi,
   
I have a movie loaded with many animations(not scripted). And there are
few buttons on stage to control them.Now,when the buttons are disabled,
continueously clicking on them makes the animations slower 
 and sometimes
jerky.
   
Why is that happening? When button is disabled no code 
 execution happens
so, what consumes the CPU? its a fact that multiple processing makes
   flash
animations slower, but never thought clicking disabled buttons would
   consume
CPU and make animations slower..
   
Any explanation is highly appreciated..
   
thanks,
   
Arindam
   
   
-
   
Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  
  
   -
  
   Real people. Real questions. Real answers. Share what you know.
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 
 
 -
  Yahoo! Movies - Search movie info and celeb profiles and photos.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Arindam Dhar
may be a flash player bug, and  it was tasted on either flash player 6 or 7.
   
  Anyway, i will dig deeper into it...
   
  thanks for ur response. :-)

Lois IN [EMAIL PROTECTED] wrote:
  Well, I don't know what can be, but if you don't paste your code or upload
the swf is difficult to know the problem.

I'm sorry but it can be a lot of thinks; maybe a flashplayer bug too??


2007/1/25, Arindam Dhar :

 uploading it beyond scope as of now, no high definition photos, just
 complex vector images animated, and I am not sure of exact filesize but
 definitely not more than 250 kb

 Lois IN wrote: Can you upload your swf to see
 what's going on? I don't know what can be
 with your info; maybe you have photos in hight definition, a lot of
 sounds,
 etc...
 Your swf is bigger than 300kb??

 2007/1/25, Arindam Dhar :
 
  no onEnterframe() , just plain movieclip timeline animations, little
 heavy
  though, and some buttons comtrolling them which are disabled when
 animations
  are running.
 
 
 
  Lois IN wrote:
  Maybe you have a lot of onEnterFrame, or somthing like this and your
  movie
  was to heavy.
 
  Paste your code to see what's happend.
 
 
  2007/1/25, Arindam Dhar :
  
  
   its button.enabled = false;
  
   Lois IN wrote:
   Hi,
   First of all, sorry for my english.
  
   When you say the button are disabled you refer like this:
   button.enabled = false;
   Or you just talk about visibiliti:
   button._visible = false;
  
   Please confirm that.
  
   Regards!
  
   2007/1/25, Arindam Dhar :
   
hi,
   
I have a movie loaded with many animations(not scripted). And there
  are
few buttons on stage to control them.Now,when the buttons are
  disabled,
continueously clicking on them makes the animations slower and
  sometimes
jerky.
   
Why is that happening? When button is disabled no code execution
  happens
so, what consumes the CPU? its a fact that multiple processing makes
   flash
animations slower, but never thought clicking disabled buttons would
   consume
CPU and make animations slower..
   
Any explanation is highly appreciated..
   
thanks,
   
Arindam
   
   
-
   
Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  
  
   -
  
   Real people. Real questions. Real answers. Share what you know.
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
 
  -
  Yahoo! Movies - Search movie info and celeb profiles and photos.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



 -
 Yahoo! Movies - Search movie info and celeb profiles and photos.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf

Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Arindam Dhar
oops, tested not tasted :-)

Arindam Dhar [EMAIL PROTECTED] wrote:  may be a flash player bug, and it was 
tasted on either flash player 6 or 7.

Anyway, i will dig deeper into it...

thanks for ur response. :-)

Lois IN wrote:
Well, I don't know what can be, but if you don't paste your code or upload
the swf is difficult to know the problem.

I'm sorry but it can be a lot of thinks; maybe a flashplayer bug too??


2007/1/25, Arindam Dhar :

 uploading it beyond scope as of now, no high definition photos, just
 complex vector images animated, and I am not sure of exact filesize but
 definitely not more than 250 kb

 Lois IN wrote: Can you upload your swf to see
 what's going on? I don't know what can be
 with your info; maybe you have photos in hight definition, a lot of
 sounds,
 etc...
 Your swf is bigger than 300kb??

 2007/1/25, Arindam Dhar :
 
  no onEnterframe() , just plain movieclip timeline animations, little
 heavy
  though, and some buttons comtrolling them which are disabled when
 animations
  are running.
 
 
 
  Lois IN wrote:
  Maybe you have a lot of onEnterFrame, or somthing like this and your
  movie
  was to heavy.
 
  Paste your code to see what's happend.
 
 
  2007/1/25, Arindam Dhar :
  
  
   its button.enabled = false;
  
   Lois IN wrote:
   Hi,
   First of all, sorry for my english.
  
   When you say the button are disabled you refer like this:
   button.enabled = false;
   Or you just talk about visibiliti:
   button._visible = false;
  
   Please confirm that.
  
   Regards!
  
   2007/1/25, Arindam Dhar :
   
hi,
   
I have a movie loaded with many animations(not scripted). And there
  are
few buttons on stage to control them.Now,when the buttons are
  disabled,
continueously clicking on them makes the animations slower and
  sometimes
jerky.
   
Why is that happening? When button is disabled no code execution
  happens
so, what consumes the CPU? its a fact that multiple processing makes
   flash
animations slower, but never thought clicking disabled buttons would
   consume
CPU and make animations slower..
   
Any explanation is highly appreciated..
   
thanks,
   
Arindam
   
   
-
   
Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  
  
   -
  
   Real people. Real questions. Real answers. Share what you know.
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
 
  -
  Yahoo! Movies - Search movie info and celeb profiles and photos.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



 -
 Yahoo! Movies - Search movie info and celeb profiles and photos.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo

Re: [Flashcoders] Flash IE OCX error

2007-01-24 Thread Arindam Dhar
yes, i did reinstall numerous times, not helping :-(

Geoff Stearns [EMAIL PROTECTED] wrote:  have you tried uninstalling the 
plugin (using the adobe uninstaller) 
and then reinstalling it?


On Jan 22, 2007, at 3:36 AM, Arindam Dhar wrote:

 hi,

 I have encountered flash ocx error many times which just appears 
 without any hint after which I have no other option but to close 
 the relevent browser.

 This is what exactly i get in the error popup,

 Internet explorer encountered a problem with addon and needs to 
 close.
 The following add-on running when this problem occured
 file : Flash9.ocx
 company : adobe systems incorporated
 Description : Adobe flash player 9

 Has anyone faced this or has any explanation and solution?

 thanks,

 Arindam



 
 -

 Real people. Real questions. Real answers. Share what you know.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 Yahoo! Movies - Search movie info and celeb profiles and photos.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] LocalConnection slow ...

2007-01-24 Thread Arindam Dhar
hi,
   
  I have observed a slight delay in data transfer in LocalConnection.I have 
several flash applications in IE browser, fed with data by a master swf through 
broadcasting. A data change in one window is broadcasted to other windows 
through the master swf using LocalConnection().Sometimes data transfer is very 
fast and at times very slow, as slow as a second or two.The files are published 
for FP6.
   
  Has anyone encountered similar problem, any explanation or answer?
   
  regards,
   
  Arindam


-
 
 Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] LocalConnection slow ...

2007-01-24 Thread Arindam Dhar


Andy Herrman [EMAIL PROTECTED] wrote:  I've noticed delays in my application, 
but I'm not sure if they're the
same as yours.

The delays I've seen seem to stem from Flash's threading model
(specifically, being single-threaded). Depending on the timing of the
messages you're sending/receiving, especially if you have a lot of
movies, sometimes the process one movie is doing will delay the
handling/receipt of messages by another movie. That might not be
relevant here, but it's possible. When the delay happens, are any of
your movies doing any kind of processing?

-Andy

On 1/24/07, Arindam Dhar wrote:
 hi,

 I have observed a slight delay in data transfer in LocalConnection.I have 
 several flash applications in IE browser, fed with data by a master swf 
 through broadcasting. A data change in one window is broadcasted to other 
 windows through the master swf using LocalConnection().Sometimes data 
 transfer is very fast and at times very slow, as slow as a second or two.The 
 files are published for FP6.

 Has anyone encountered similar problem, any explanation or answer?

 regards,

 Arindam


 -

 Real people. Real questions. Real answers. Share what you know.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 
 Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] LocalConnection slow ...

2007-01-24 Thread Arindam Dhar
Andy,
   
  U guessed it right, simaltaneous code processing do occur in this case.
   
  app1 --sends to - master swf --broadcasts to-- app2.
  |-- broadcasts to  app3
   
  When app1 sends out data, lot of codes get executed simaltaneously in app1, 
app2 and app3...
   
  Flash's threading model could be the explanation...
   
  thanks,
   
  Arindam
   
   
  
Andy Herrman [EMAIL PROTECTED] wrote:
  I've noticed delays in my application, but I'm not sure if they're the
same as yours.

The delays I've seen seem to stem from Flash's threading model
(specifically, being single-threaded). Depending on the timing of the
messages you're sending/receiving, especially if you have a lot of
movies, sometimes the process one movie is doing will delay the
handling/receipt of messages by another movie. That might not be
relevant here, but it's possible. When the delay happens, are any of
your movies doing any kind of processing?

-Andy

On 1/24/07, Arindam Dhar wrote:
 hi,

 I have observed a slight delay in data transfer in LocalConnection.I have 
 several flash applications in IE browser, fed with data by a master swf 
 through broadcasting. A data change in one window is broadcasted to other 
 windows through the master swf using LocalConnection().Sometimes data 
 transfer is very fast and at times very slow, as slow as a second or two.The 
 files are published for FP6.

 Has anyone encountered similar problem, any explanation or answer?

 regards,

 Arindam


 -

 Real people. Real questions. Real answers. Share what you know.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 Yahoo! Movies - Search movie info and celeb profiles and photos.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Mouseclick on disabled button....

2007-01-24 Thread Arindam Dhar
hi,
   
  I have a movie loaded with many animations(not scripted). And there are few 
buttons on stage to control them.Now,when the buttons are disabled, 
continueously clicking on them makes the animations slower and sometimes jerky. 
   
  Why is that happening? When button is disabled no code execution happens so, 
what consumes the CPU? its a fact that multiple processing makes flash 
animations slower, but never thought clicking disabled buttons would consume 
CPU and make animations slower..
   
  Any explanation is highly appreciated..
   
  thanks,
   
  Arindam 


-
 
 Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flash IE OCX error

2007-01-22 Thread Arindam Dhar
hi,
   
  I have encountered  flash ocx error many times which just appears without any 
hint after which I have no other option but to close the relevent browser.
   
  This is what exactly i get in the error popup,
   
  Internet explorer encountered a problem with addon and needs to close.
  The following add-on running when this problem occured
  file:   Flash9.ocx
company  :   adobe systems incorporated
Description   :Adobe flash player 9
   
  Has anyone faced this or has any explanation and solution?
   
  thanks,
   
  Arindam
   
   


-
 
 Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] button symbol nested in a mc - scoping issue?

2007-01-19 Thread Arindam Dhar
correct, when u use _lockroot=true.

Mike Dunlop [EMAIL PROTECTED] wrote:  I thought _root. was used relative to 
the object you are in, e.g. if 
you are in a movieclip _root is the main timeline of that movieclip 
and the only way to address the absolute root timeline from nested 
clips was to use _level0.

Is that not correct?

Thanks - MD


.
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]


On Jan 15, 2007, at 8:13 PM, Arindam Dhar wrote:

 hi,

 Scope wise there should not be any problem as u can address 
 anything on root timeline from any timeline as _root.somevariable 
 or _root.somefunction().

 Would u like to post the code?

 regrads,

 Arindam

 Mike Dunlop wrote:
 Hello,

 In my button that is nested inside of a mc, i am able to move the
 main timeline to different points but when trying to call a function
 that lives on the root timeline like the following:

 _level0.myFunctionName();

 Is not working. Is this some type of scoping issue?

 .
 Mike Dunlop
 // Droplab
 [ e ] [EMAIL PROTECTED]


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


 
 -
 Meet your soulmate!
 Yahoo! Asia presents Meetic - where millions of singles gather
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 
 Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] External Image smoothing

2007-01-15 Thread Arindam Dhar
Hi, 
   
  As far as loading is concerned, u cannot use BitmapData class to load an 
external jpeg image in runtime.
   
  Use MovieClipLoader to load an external jpeg and when the loading is done ,in 
onLoadInit() ,take a snapshot of it and assign to the ur BitmapData instance. 
Now ur BitmapData instance has the externally loaded image and open to ur 
manipulations.
   
  regards,
   
  Arindam
  
Sönke Rohde [EMAIL PROTECTED] wrote:
  Hi,

Is it possible to adjust the quality of an external loaded Bitmap/JPG with
Flash 8?
When I look into the BitmapData class it can only be used with Bitmaps which
are already in the library?

Cheers,
Sönke

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 
 Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] button symbol nested in a mc - scoping issue?

2007-01-15 Thread Arindam Dhar
hi,
   
  Scope wise there should not be any problem as u can address anything on root 
timeline from any timeline as _root.somevariable or _root.somefunction().
   
  Would u like to post the code?
   
  regrads,
   
  Arindam

Mike Dunlop [EMAIL PROTECTED] wrote:
  Hello,

In my button that is nested inside of a mc, i am able to move the 
main timeline to different points but when trying to call a function 
that lives on the root timeline like the following:

_level0.myFunctionName();

Is not working. Is this some type of scoping issue?

.
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
Meet your soulmate!
 Yahoo! Asia presents Meetic - where millions of singles gather 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] button symbol nested in a mc - scoping issue?

2007-01-15 Thread Arindam Dhar
Every level will have its own root timeline.
   
  If u have a nested movie Clip mc2 a a particular level say level0, with a 
hierarchy as level0.mc.mc1.mc2 , the movieClip mc2 can address a variable at  
_level0 root timeline as _level0.variable or _root.variable,either way its okay.
   
  Now, the same movieclip mc2 will address a variable at _root of level2 as 
_level2.variable.
   
  So,_root is absolute for a particular level. If various nested movieClips at 
differnet levels need to inteact with each other then,
   
  1) for the same level _root is the main timeline.
  2) for different level, for eg. level 2,_level2 is the _root timeline of that 
level.
   
  Pleas correct me if I am wrong anywhere...
   
  regards,
   
  Arindam
  
Mike Dunlop [EMAIL PROTECTED] wrote:
  I thought _root. was used relative to the object you are in, e.g. if 
you are in a movieclip _root is the main timeline of that movieclip 
and the only way to address the absolute root timeline from nested 
clips was to use _level0.

Is that not correct?

Thanks - MD


.
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]


On Jan 15, 2007, at 8:13 PM, Arindam Dhar wrote:

 hi,

 Scope wise there should not be any problem as u can address 
 anything on root timeline from any timeline as _root.somevariable 
 or _root.somefunction().

 Would u like to post the code?

 regrads,

 Arindam

 Mike Dunlop wrote:
 Hello,

 In my button that is nested inside of a mc, i am able to move the
 main timeline to different points but when trying to call a function
 that lives on the root timeline like the following:

 _level0.myFunctionName();

 Is not working. Is this some type of scoping issue?

 .
 Mike Dunlop
 // Droplab
 [ e ] [EMAIL PROTECTED]


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


 
 -
 Meet your soulmate!
 Yahoo! Asia presents Meetic - where millions of singles gather
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
 
 Real people. Real questions. Real answers. Share what you know.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] createTextField and embedding fonts

2007-01-09 Thread Arindam Dhar
Hi Thomas,
   
  ok, its coming a bit late though, but here is a solution for using shared 
font library..
   
  1) in SharedFonts.fla, have a shared font, let the linkage identifier be 
testfont and symbol name also the same.Export it for runtime sharing as done 
normally.
   
  2) in receiving fla, import the shared font from the SharedFonts.swf.( only 
import from the specified URL, in this case SharedFonts.swf).
   
  The tricky part comes now,
   
  3) create a movieClip symbol in  receiving fla. library, create a dynamic 
textfield inside it at authoring time with font as testfont*, and give a dummy 
linkage(export for AS, export in first frame).
   
  now,try this code to test it,
   
  this.createTextField(myTf,this.getNextHighestDepth(),10,10,200,20);
  var tFormat:TextFormat = new TextFormat();
tFormat.font =testfont;
  this.myTf.embedFonts =true;
this.myTf.wordWrap = true;
  this.myTf.text =Testing the shared font;
this.myTf.setTextFormat(tFormat);
   
  This works fine, and the idea of shared library holds good too, as u will see 
that changing any font property in SharedFonts.fla/swf gets reflected in 
receiving.swf.
   
  Mind it, the trick is step 3  :-)
   
  regards,
   
  Arindam
   
  
[EMAIL PROTECTED] wrote:
  I think you might be right here Arindam. Perhaps in the receiving file I 
merely need to do an import for runtime sharing instead of exporting it in 
the shared fonts swf. The documentation has always been a little spotty in 
terms of what's actually going on when using shared libraries... Thanks for 
the response!

- Original Message -
From: Arindam Dhar 
To: Flashcoders mailing list 
Sent: Wednesday, January 03, 2007 4:43 AM
Subject: Re: [Flashcoders] createTextField and embedding fonts

 hi Thomas,

 going by the steps u mentioned earlier, if I change a property,say Font, 
 in the SharedFonts.fla and save and publish, later if i publish the fla 
 which imports the shared font, i don't see the change in font done in the 
 SharedFonts.fla.

 7. Once the font symbol from SharedFonts.fla is in your other .fla's 
 library
 right click on it (in your other .fla's library) and go to properties. 
 Check
 the Export for ActionScript, Export for runtime sharing and Export in
 first frame checkboxes. Supply the location to SharedFonts.swf (e.g.
 SharedFonts.swf or somepath/SharedFonts.swf) in the URL field below the
 checkboxes.

 the receiving file, in shared library concept, usually imports for 
 runtime sharing the object from the URL specified, but in the above line 
 there is no import happening, in fact, both the SharedFonts.fla and 
 receiving file are exporting for runtime sharing.

 The idea behind shared libraries is change in one place and it will get 
 updated everywhere, but its not working here...

 Hope, I will get some clarification on this

 --- Arindam



 [EMAIL PROTECTED] wrote:
 So, to recap...

 1. Create a SharedFonts.fla that will contain the font symbol you want to
 use in another movie.
 2. Create the font symbol in SharedFonts.fla. Once the font symbol is
 created make sure to check the Export for ActionScript, Export in first
 frame checkboxes in the Properties dialog box.
 3. Publish the .swf for the SharedFonts.fla.
 4. Open the .fla in which you want to use the font symbol from
 SharedFonts.swf.
 5. Then, go to File - Import - Open shared library... and open
 SharedFonts.fla
 6. Drag the font symbol from the SharedFonts.fla library into your other
 fla's library that will be using the font.
 7. Once the font symbol from SharedFonts.fla is in your other .fla's 
 library
 right click on it (in your other .fla's library) and go to properties. 
 Check
 the Export for ActionScript, Export for runtime sharing and Export in
 first frame checkboxes. Supply the location to SharedFonts.swf (e.g.
 SharedFonts.swf or somepath/SharedFonts.swf) in the URL field below the
 checkboxes.
 8. Publish your other .fla and you should be good to go.

 One thing to be mindful of is the path to your SharedFonts.swf. This MUST 
 be
 correct in order for these shared fonts to work. To simplify things I just
 placed the SharedFonts.swf in the same directory as my other .swf.

 I hope this helps someone

 Cheers,

 Thomas

 - Original Message -
 From: Glen Pike

 To: Flashcoders mailing list
 Sent: Tuesday, January 02, 2007 2:59 PM
 Subject: Re: [Flashcoders] createTextField and embedding fonts

 Hi,

 Yes, you will probably need to use runtime sharing and load in the
 fonts contained in a different file.

 Glen


 The question I have is it possible to apply a TextFormat to a TextField
 using an embedded font that is NOT
 in the container swf's library? If not then that is my problem and I
 think I can use shared libraries to counter
 this behavior. Either way, I was wondering if someone could clarify some
 of this for me.

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search

Re: [Flashcoders] attachMovie fails with runtime shared asset

2007-01-06 Thread Arindam Dhar
Hi,
   
  There is a workaround for this, where u dont have to drop an
instance of runtimeShared on the stage first.I assume runtimeShared is the 
identifier of the shared asset which u import from another swf for runtime 
sharing.
  
1. Create a new blank symbol in the library, where u have the imported 
symbol,give a linkage indentifier to it with export for AS and Export in first 
frame selected.
   
  2. Place the imported symbol runtimeShared inside the blank symbol.
   
  Now, try ur line ,_root.attachMovie(runtimeShared,runtimeShared,1);
  
This works fine when u are importing graphical objects.
   
  regards,
   
  Arindam

Mendelsohn, Michael [EMAIL PROTECTED] wrote:
  Hi list...

I'm trying to do _root.attachMovie(runtimeShared,runtimeShared,1);
where runtimeShared is an asset from another swf that's exported for
runtime sharing and dropped into this movie's library as import for
runtime sharing. 

I have found that the attachMovie method *only* works if I drop an
instance of runtimeShared on the stage first. Why would this be, and is
there a way around it? Can't you simply attach a movie of a runtime
shared asset?

Thanks,
- Michael M.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 Send instant messages to your online friends http://asia.messenger.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Stupid path question

2006-12-25 Thread Arindam Dhar
Hi,
   
  As per your descrption, i understood your AS2 class is in CLASSNAME folder 
which has the fla folder containing the .fla file.
   
  You need to set the classpath first, either global or document-level. For 
global,you need to set it in edit -preferences  As2 settings and add a new 
path as ../CLASSNAME. You can do similarly in publish settings for doc level 
classpath. 
   
  Then, you set the linked AS2 class, to the class in your CLASSNAME folder.
   
  --- Arindam
   
  
Tolis Christomanos [EMAIL PROTECTED] wrote:
  Hi all!

I am exporting for actionscript a movieclip and i also want to set an
AS 2.0 class.

The directory is like that

CLASSNAME
|
|__.FLA FOLDER
|
|__the .fla with the Movieclip i am exporting.

Can anyone tell the path to the class? If i use CLASSNAME as the path
nothing happens. Nothing happens if i use ../CLASSNAME. What is the
path;

Thanks in advance!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 Send instant messages to your online friends http://asia.messenger.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Remove elements from Array

2006-12-23 Thread Arindam Dhar
Thanks for the comments and, trust me there is no epeen involved :-)

Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:  That's a fantastic example of 
over-architecting if I ever saw one. 
Put away your epeen! ;)


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Arindam Dhar
 Sent: Friday, December 22, 2006 12:10 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Remove elements from Array
 
 function removeElements(arr, level) {
 
 for (var i = 0; i {
 var tempArr = arr[i];
 
 if(Number(tempArr[1] )  Number(level))
 {
 arr.splice(i, 1);
 arguments.callee(arr, level);
 }
 
 }
 }
 removeElements(myArray1, 0);
 trace( myArray1);
 
  Arindam
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 Send instant messages to your online friends http://asia.messenger.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Remove elements from Array

2006-12-22 Thread Arindam Dhar
Try this,
   
  var myArray1:Array = new Array();
myArray1.push( new Array(A:, -1) );
myArray1.push( new Array(B:, -1) );
myArray1.push( new Array(C:,  0) );
myArray1.push( new Array(D:,  0) );
myArray1.push( new Array(E:, -1) );
myArray1.push( new Array(F:,  1) );
myArray1.push( new Array(G:,  0) );
myArray1.push( new Array(H:, -1) );
trace( myArray1);
   
  // the function with recursion 
   
  function removeElements(arr, level) {
 
 for (var i = 0; iarr.length; i++)
 {
  var tempArr = arr[i];
  
   if(Number(tempArr[1] )  Number(level))
   {
arr.splice(i, 1);
arguments.callee(arr, level);
   }
   
 }
}
removeElements(myArray1, 0);
trace( myArray1);
   
    Arindam

Mike Cobb [EMAIL PROTECTED] wrote:
  -

Hi everyone,

I'm having a braindead moment today, which I was hoping someone could 
help me with.

I have the following array...

//Create array with 5 elements
var myArray1:Array = new Array();
myArray1.push( new Array(A:, -1) );
myArray1.push( new Array(B:, -1) );
myArray1.push( new Array(C:, 0) );
myArray1.push( new Array(D:, 0) );
myArray1.push( new Array(E:, -1) );
myArray1.push( new Array(F:, 1) );
myArray1.push( new Array(G:, 0) );
myArray1.push( new Array(H:, -1) );
//name, score

...and I'm trying to remove all the elements in myArray1 with a score of 
less than 0 without sorting/reordering the array at all.

I was trying to use a 'for loop', but obviously as the elements are 
removed, the length of the array changes  causes the wrong elements to 
be deleted.

Can anyone help?

Thanks,


-- 
-
Mike Cobb
Creative Director
HMC Interactive
-
Tel: + 44 (0)845 20 11 462
Mob: + 44 (0)785 52 54 743
Web: http://www.hmcinteractive.co.uk
-
Grosvenor House, Belgrave Lane,
Plymouth, PL4 7DA, UK.
-

I've got a new e-mail address: [EMAIL PROTECTED]
Please update your address book. Thanks.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 Send instant messages to your online friends http://asia.messenger.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Measuring width of some text

2006-12-21 Thread Arindam Dhar
getTextExtent() is really unpredictable and it works properly only with flash 
player ver 7 or higher. Adobe document says its been deprecated since flash 
player 8, but i dont think so and their doc must have wrongly said so.
   
  anyway, heres another approach where textWidth and textHeight properties of 
textField have been utilised.
   
  var my_str:String = Sample text;
var fmt:TextFormat = new TextFormat();
function getTextWidthAndHeight(txt, fmt, fontsize) {
 fmt.font = Arial;
 fmt.bold = true;
 fmt.size = fontsize;
 this.createTextField(dummyTF, this.getNextHighestDepth(), 1, 1, 100, 
100);
 dummyTF.text = txt;
 dummyTF.setTextFormat(fmt);
 var o = new Object();
 o.Width = dummyTF.textWidth;
 o.Height = dummyTF.textHeight; 
 removeMovieClip(dummyTF);
 return o;
}
var dimensionInfo = getTextWidthAndHeight(my_str, fmt, 12);
this.createTextField(newTField, this.getNextHighestDepth(), 100, 100, 
dimensionInfo.Width+4, dimensionInfo.Height+4);
newTField.border = true;
newTField.wordWrap = true;
newTField.text = my_str;
newTField.setTextFormat(fmt);
   
  Hope this helps, and plz give the feedback.
   
     Arindam
  

Perdue, Blake [EMAIL PROTECTED] wrote:
  I need to measure the width of some text. Here's the function I'm using:



private function getTextWidth(txt,fontSize) {

var fmt=new TextFormat();

fmt.font='Univers 67 CondensedBold';

fmt.size=fontSize;

fmt.autoSize='left';

var metrics=fmt.getTextExtent(txt);

return metrics.textFieldWidth;

}



This function is not predictable - for the same text, it returns
different numbers on different OSes or flash player versions:

- works fine in IE/FF for flash player 6

- doesn't work in Mac Safari for flash player 6

- works fine in IE/FF for flash player 8 using Service Pack 1

- doesn't work for IE/FF for flash player 8 using Service Pack
2



Is there another function I can use, or another way to go about
measuring the width of some text?



Blake Perdue | 212.522.1292 | AIM: blakepCNN



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 Send instant messages to your online friends http://asia.messenger.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] to apply the property to the all the dynamic textboxes in my file.

2006-12-16 Thread Arindam Dhar
good code man, efficient usage of instanceof  operator...

Jason Lutes [EMAIL PROTECTED] wrote:  Not super efficient, but definitely 
readable and functionally comprehensive:

// Assigns common property values to all dynamic text fields within a specified 
timeline.
function setCommonTextFieldProperties(targetClip:MovieClip):Void
{
// defaults to targeting the root timeline
if (!targetClip)
{
targetClip = _level0;
}
// cycles through all of a movie clip's child objects, looking for dynamic text 
fields or movie clips 
for (var propertyName in targetClip)
{
// sets property values for each dynamic text field child
if (targetClip[propertyName] instanceof TextField  
targetClip[propertyName].type == 'dynamic')
{
with (targetClip[propertyName])
{
autoSize = 'left';
// additional properties can be assigned
}
}
else
{
// recursively invokes this function for each movie clip child
// obs: components are bypassed because properties that reference ancestors 
cause infinite looping
if (targetClip[propertyName] instanceof MovieClip  !(targetClip[propertyName] 
instanceof UIObject))
{
arguments.callee(targetClip[propertyName]);
}
}
}
}

this.setCommonTextFieldProperties();


-
Jason
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 Send instant messages to your online friends http://asia.messenger.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] to apply the property to the all the dynamic text boxes in my file.

2006-12-15 Thread Arindam Dhar
I guess you are using Dynamic Textfields,which you placed during authoring, and 
like movieclips , need to have instance names by which they will be referred to 
during runtime.To assign some property to a textfield you need identify the 
textfield by its instance name.
   
  for eg. you have three textfields with instance names tf1,tf2 and tf3 at 
_root.
   
  You can set their autosize property to a value by,
   
  for( var i=1;i4;i++)
{
  _root[t+i].text =sometext;
  _root[t+i].autoSize=true;
}
  If any textfield has a linked variable, that variable can be updated anytime 
after the autoSize property has been set to true.
   
  Note:- the instance name cannot be same as a linked variable name of a 
textfield.If it is, autoSize will simply not work.
   
  Hope it helps..
   
  - 
   
  Arindam Dhar

Walkoli, Nilesh (Cognizant) [EMAIL PROTECTED] wrote:
  
Hi ,







Please anyone help me to apply the property to the all the dynamic text
boxes in my file.



I am referring some text boxes by name and some by variable. I want to
apply the autosize property to all the dynamic textboxes in the file at
the start only.











Thnx in advance . Please do reply if anyone knows.



Thanks and regards,



Nilesh Walkoli

Programmer Analyst

Cognizant Technology Solutions

Plot # 26, Rajiv Gandhi Infotech Park,

MIDC, Hinjawadi, PUNE - 411 057

Vnet: 22253

Mob : 9881872422





This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

Visit us at http://www.cognizant.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 Send instant messages to your online friends http://asia.messenger.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com