Re: [Flashcoders] RollOver AS2

2010-11-10 Thread Karl DeSaulniers
Hi Natalia, I don't know if you found a solution to your dilemma, but I was looking through the TweenMax forum and saw some reference to a SEIZE_CURSOR and RELEASE_CURSOR Not sure what tween engine your using or if these will relate to your situation, but you might want to check and see if you

Re: [Flashcoders] Calling a Static Function

2010-11-10 Thread Ktu
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/package.html#describeType%28%29 "If the value parameter is an instance of a type, the returned XML object includes all the instance properties of that type, but does not include any static properties" "The instance pro

Re: [Flashcoders] Calling a Static Function

2010-11-10 Thread Kerry Thompson
Ktu wrote: try using describeType() to find out whats in the class and if the method > has been compiled > > pEvent.target is a ContentLoaderInfo object right? You are using a Loader > object to load the swf right? > Yes, pEvent.target is a ContentLoaderInfo object. I'm downloading the swf with t

Re: [Flashcoders] Calling a Static Function

2010-11-10 Thread Ktu
try using describeType() to find out whats in the class and if the method has been compiled pEvent.target is a ContentLoaderInfo object right? You are using a Loader object to load the swf right? if so, import flash.utils.describeType; var swfContent:Object = LoaderInfo(pEvent.target).content;

Re: [Flashcoders] Calling a Static Function

2010-11-10 Thread Kerry Thompson
Keith Reinfeld wrote: > Have you tried calling the static function indirectly? > > // In the swf you are loading > public function callInitAssets():void{ >trace("\nLoadee:: callInitAssets() called"); >initAssets(); > } > > // In the swf you are loading into > private function hand

RE: [Flashcoders] Calling a Static Function

2010-11-10 Thread Keith Reinfeld
Kerry, Have you tried calling the static function indirectly? // In the swf you are loading public function callInitAssets():void{ trace("\nLoadee:: callInitAssets() called"); initAssets(); } // In the swf you are loading into private function handleLoadComplete(e:Eve

Re: [Flashcoders] Actionscript 4?

2010-11-10 Thread ekameleon
Hello :) For me it's really important to complete AS3 with ES4 features like generic, Type, iterators, etc. I can't imagine a next version of the langage without this features... and other important features loose between AS1/2 and AS3 like __resolve__ in all the Object ( Proxy is cool but only wi

Re: [Flashcoders] Actionscript 4?

2010-11-10 Thread co...@moock.org
in august 2008, the work on ecmascript 4 by the ecmascript committee was officially halted. see: https://mail.mozilla.org/pipermail/es-discuss/2008-August/006837.html http://www.mikechambers.com/blog/2008/08/14/actionscript-3-and-ecmascript-4/ as adobe is no longer bound to ecmascript, both the

Re: [Flashcoders] Actionscript 4?

2010-11-10 Thread John R. Sweeney Jr
We all understood you and the humor. Well MOST of usŠ ;) on 11/10/10 3:45 AM, kennethkawam...@gmail.com at kennethkawam...@gmail.com wrote: > No no, I was just pretending to be humble - it's not me who is naïve here :P John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive

RE: [Flashcoders] Scrollbar Component

2010-11-10 Thread Lehr, Theodore
thanks - that does seem to fix it... From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik [nat...@mynarcik.com] Sent: Wednesday, November 10, 2010 10:50 AM To: Flash Coders List Subject:

Re: [Flashcoders] Scrollbar Component

2010-11-10 Thread Nathan Mynarcik
You could also implementing the scrollbar via code: *//Create the scrollBar instance *var scrollBar:UIScrollBar = new UIScrollBar();*//assign the target of the scrollBar to your textfield* //theOutput is the TF instance name scrollBar.scrollTarget = theOutput; *//make the height the same as the te

Re: [Flashcoders] Scrollbar Component

2010-11-10 Thread Nathan Mynarcik
Have you checked the component inspector and see if it is being linked to your dynamic TF? Nathan Mynarcik nat...@mynarcik.com www.mynarcik.com

RE: [Flashcoders] Scrollbar Component

2010-11-10 Thread Lehr, Theodore
It is not the visibility of the scrollbar I am trying to fool with - it is having the scrollbar be functional and actually scroll - hoe that makes sense... the visibility I have working - it shows up when it should - it just does not scroll or even have the little scroll thing you would drag to

Re: [Flashcoders] Scrollbar Component

2010-11-10 Thread Nathan Mynarcik
Do an if statement checking to see if the textfields height is greater than the scrollbars height. If false, scrollbar.visible = false. Is that what you want to do? On Nov 10, 2010 8:51 AM, "Lehr, Theodore" wrote: > The scrollbar component seems like it should be failry easy to work with - drag i

Re: [Flashcoders] Calling a Static Function

2010-11-10 Thread John McCormack
This might help: http://stackoverflow.com/questions/1270352/call-static-method-from-loaded-swf-or-how-to-expose-an-api-for-client-movies Also, I wonder if the static method is compiled into the swf, when the swf doesn't use it. Interesting. John Maybe I need to have the other developer make

[Flashcoders] Scrollbar Component

2010-11-10 Thread Lehr, Theodore
The scrollbar component seems like it should be failry easy to work with - drag it over the dynamic text field and bam - if that textfield has too much text then it will scroll... I have it working that way in another movie that way (I think)... If I hard code text i the textfield - it works...

Re: [Flashcoders] Calling a Static Function

2010-11-10 Thread Juan Pablo Califano
I see a couple of weird things in your code. First, I think your code, as is, should give you a compile error. At least, I get an error, with this code (which looks equivalent): var mathClass:Class = Math; //mathClass.random(); --> compile error It works if I workaround the compiler check, though

Re: [Flashcoders] Actionscript 4?

2010-11-10 Thread kennethkawam...@gmail.com
No no, I was just pretending to be humble - it's not me who is naïve here :P -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 10 November 2010 09:24, Leandro Ferreira wrote: > You can't say someone is better or worse than you based on his job title, > that's pretty naive > > > >    Leandro

Re: [Flashcoders] Actionscript 4?

2010-11-10 Thread Leandro Ferreira
You can't say someone is better or worse than you based on his job title, that's pretty naive Leandro Ferreira On Tue, Nov 9, 2010 at 18:56, Kenneth Kawamoto wrote: > What?! > > I don't know which Kenneth Kawamoto you're referring to, Kerry, but I do > not work for Adobe and I'm definitely