RE: [Flashcoders] buttons lined up next to each other- rollout not work

2008-01-15 Thread Dwayne Neckles
OK on rollover the correponding text clip fades in on rollout it fades out.. during debuging.. all of the targets are "text4" and it shouldnt be.. clip0 should control text0 and etc.. but what happens is that clip0 to clip4 controls text4... which is wrong, any suggestions? Code below: //

Re: [Flashcoders] buttons lined up next to each other- rollout not work

2008-01-15 Thread Marc Hoffman
No such problem here with either adjacent or overlapping buttons. Please post your code. Here's mine for four buttons named "btn1," "btn2," etc.: for (i = 1; i < 5; i++) { this["btn" + i].onRollOut = function() { trace(this._name); }; } Marc At 09:06 PM 1/15/200

[Flashcoders] buttons lined up next to each other- rollout not work

2008-01-15 Thread Dwayne Neckles
This is probably a classic issue.. I have 5 buttons lined up next to each with no space between but they arent overlapping. I have rollover and rollout events.. but the rollout event doesnt work when i roll over to the next button.. the onrollout event works only when i rollout on to negative

RE: [Flashcoders] array access operator not working

2008-01-15 Thread Dwayne Neckles
Thank you Zeh, I swear its the little things.. > Date: Wed, 16 Jan 2008 01:54:06 -0300 > From: [EMAIL PROTECTED] > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] array access operator not working > > > this doesnt work.. > > Unexpected '.' encountered > > any idea why? > > [

Re: [Flashcoders] array access operator not working

2008-01-15 Thread Zeh Fernando
this doesnt work.. Unexpected '.' encountered any idea why? ["clip"+i].onRollOver = function() { You can't use a reference like that from no object. Instead, use: this["clip"+i].onRollOver = function() { ... ___ Flashcoders mailing list Flashcoders@ch

[Flashcoders] array access operator not working

2008-01-15 Thread Dwayne Neckles
this doesnt work.. Unexpected '.' encountered any idea why? ["clip"+i].onRollOver = function() { Tweener.addTween(this.person,{_alpha:100, delay:0, time:2}); Tweener.addTween(this.whiteborder,{_alpha:100, delay:0, time:2}); }; _

[Flashcoders] Re: [SYD-ANN] Sydney Flex and AIR Pre-Release Tour With Danny Dura

2008-01-15 Thread Chris Velevitch
Should had mentioned that Danny Dura will in Sydney to do this presention. On Jan 16, 2008 9:08 AM, Chris Velevitch <[EMAIL PROTECTED]> wrote: > Thursday, 24th January. > > Flex 3 and AIR are getting close to launch and in preparation, Danny > Dura from the Platform Evangelism Team will be specifi

[Flashcoders] [SYD-ANN] Sydney Flex and AIR Pre-Release Tour With Danny Dura

2008-01-15 Thread Chris Velevitch
Thursday, 24th January. Flex 3 and AIR are getting close to launch and in preparation, Danny Dura from the Platform Evangelism Team will be specifically in Sydney to show off the great new features for this exciting launch. Check the listings below to hook up with the local user group in the city

RE: [Flashcoders] Classes added

2008-01-15 Thread Merrill, Jason
>>2) It makes it much easier to tell, at a glance, what a class >>depends on. This can be beneficial in many cases. That's the main reason I do it, I like to see all dependancies, for my own benefit and for others who will come after me. package.* always seemed like a cop-out to me, even if it

RE: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Merrill, Jason
Yes, you can load Flash 8 made .swfs into Flex, you just can't directly interact with any code inside of them except by using External Interface or perhaps local connection. Jason Merrill Bank of America GT&O L&LD Solutions Design & Development eTools & Multimedia Bank of America Flash Platfo

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Glen Pike
Possibly because CS3 is expensive & a memory hog and maybe unnecessary if you are heavily into coding - FL8 is just as handy & Flex has a different set of components :) Leandro Ferreira wrote: I don't get it: why don't you use flash CS3? Leandro Ferreira On Jan 15, 2008 12:15 PM, Gregory

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Glen Pike
Hi, You can embed assets from Flash into Flex using the [Embed] meta directive. In Flash all the MovieClips in your library need to have a LinkageID - not sure if they need to be on the timeline, but probably a good idea. In Flex you can [Embed] individual MC's or an entire SWF at

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Leandro Ferreira
I don't get it: why don't you use flash CS3? Leandro Ferreira On Jan 15, 2008 12:15 PM, Gregory N <[EMAIL PROTECTED]> wrote: > Hi all, > > I have an application made a while ago in as1 (flash 6). > > Now I need to make new version of it in AS3. > Fortunately, there's no code in clips, only i

Re: [Flashcoders] mdash in htmlText

2008-01-15 Thread Juan Pablo Califano
Well, I've made a class to do just that, might be handy to have it. You can find both AS 2.0 and AS 3.0 versions here: http://pastebin.be/8273 (AS 3.0) http://pastebin.be/8274 (AS 2.0) Just add any entity you need to the charMap. Use example: var original:String = "día sésamo ñoño Ño"; var

Re: [Flashcoders] Classes added

2008-01-15 Thread Andy Herrman
> So then it is safe to do > > import flash.display.*; Only if you're not going to run into any naming conflicts. I generally find it's better to only import the classes you're going to use, for a couple reasons. 1) It reduces the chance of naming conflicts (like two packages having Button class

Re: [Flashcoders] Classes added

2008-01-15 Thread Helmut Granda
Thanks for pointing out that document Francis... I see there is a lot more information under the same domain to look at. Full Address: http://livedocs.adobe.com/specs/actionscript/3/wwhelp/wwhimpl/js/html/wwhelp.htm On 1/14/08, Francis Cheng <[EMAIL PROTECTED]> wrote: > > You are correct. This

Re: [Flashcoders] Classes added

2008-01-15 Thread Helmut Granda
Very good point Glen... Although this seems kind of redundant if you import your classes and then use the qualified name to instantiate a specific class. But I fully understand what you mean. On 1/14/08, Glen Pike <[EMAIL PROTECTED]> wrote: > > Hi, > > As a quick note: > > The reason for speci

Re: [Flashcoders] Classes added

2008-01-15 Thread Helmut Granda
> > nothing will actually be added; > Sprite is an intrinsic class, importing it merely works as typing and as > a definition for compilation (the "class" is already in the player so > it's not "added" to the SWF). So then it is safe to do import flash.display.*; and not to worry about bundling

Re: [Flashcoders] mdash in htmlText

2008-01-15 Thread Juan Pablo Califano
Perhaps this is not the most optimal (performance-wise), but if the flash html renderer doesn't natively support most of the html entities, you can make your own (I don't know of any class that already does it, but it might already been written). It shouldn't be hard. You can find the a list with

[Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Gregory N
Hi all, I have an application made a while ago in as1 (flash 6). Now I need to make new version of it in AS3. Fortunately, there's no code in clips, only in frame 1 on _root :-). But all graphics currently is in FLA. And I haven't upgraded to Flash CS3 yet (hope not to do it at all). I've seen t

RE: [Flashcoders] mdash in htmlText

2008-01-15 Thread Rob Emenecker
Hi Andrew, I took a look at what we did and, unfortunately, our solution was a "pre-processing" script before the HTML was deployed to our Flash project. Since there are "real" differences between Flash HTML and standard HTML -- especially with regards to white space -- we provided our client a se

RE: [Flashcoders] Classes added

2008-01-15 Thread Matthew James Poole
Yep we got that ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: 15 January 2008 00:55 To: Flash Coders List Subject: Re: [Flashcoders] Classes added And by that I mean that it's poorly written, hehe. >> 14.11 New expressions >> >>