Re: [Flashcoders] Flash8 Question

2008-03-31 Thread Ibrahim Y
Now, the question is 1. how can I loop through all movie clip by code? 2. how can I change the on hover effect only? Ibrahim On Mon, Mar 31, 2008 at 4:59 AM, Pedro Taranto [EMAIL PROTECTED] wrote: laurent wrote: If I remember right you must create a Color object for your mac, then

Re: [Flashcoders] Root casting as Main big problem

2008-03-31 Thread laurent
hm...the MovieClip( root ) help to compile with no error. But then trying to acces a method of the root throw an error about: TypeError: Error #1010: Un terme n'est pas défini et n'a pas de propriété. term undefined...it can't find the object referenced so I casted the object I'm trying to

Re: [Flashcoders] Flash8 Question

2008-03-31 Thread laurent
You can name you boutons a gneric name: btn_0, btn_1, btn_2, etc then you have a loop: for( i = 0; i buttonNumber; i ++){ var mc:MovieClip = this[btn_ + i]; mc.onhoverMC do something with it } this code is in the buttons container. L Ibrahim Y a écrit : Now, the question is 1. how

Re: [Flashcoders] Flash8 Question

2008-03-31 Thread Ibrahim Y
the movie clips already created, and everything is fine. but I want to change them all using code, I don't want to rename them all, in this case I can change the design manually. On Mon, Mar 31, 2008 at 8:41 AM, laurent [EMAIL PROTECTED] wrote: You can name you boutons a gneric name: btn_0,

Re: [Flashcoders] Flash8 Question

2008-03-31 Thread laurent
the name I'm talking about is the name you give in the properties panel. when you click a mc you can specify is name on the stage that is totally something else from is name in the library. So there you should choose a name that help you loop through the mcs Ibrahim Y a écrit : the movie

[Flashcoders] Re: How to take screenshot of sites , as seen on snap.com

2008-03-31 Thread Thuy Nguyen
JavaScript and CSS --- Thuy Nguyen Web Developer Angus Productions Inc. On Mar 30, 2008, at 11:03 AM, flashcoders- [EMAIL PROTECTED] wrote: Send Flashcoders mailing list submissions to flashcoders@chattyfig.figleaf.com To subscribe or unsubscribe via the World Wide Web, visit

[Flashcoders] TextField.bottomScroll

2008-03-31 Thread Mendelsohn, Michael
Hi list... I'm encountering a weird scenario where a TextField's bottom scroll isn't being reported accurately. It's tracing a number less what it actually. The end of the text in my TF was /r/r/r/r, and now I've populated it to be something like /rtext/rtext/rtext/rtext, thinking that would

[Flashcoders] TextField.bottomScroll (part 2)

2008-03-31 Thread Mendelsohn, Michael
Why?? // c is a TextField c.scroll = this.lastVisibleLine; // 338 var firstLineOnPage = c.scroll; // 326 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] TextField.bottomScroll

2008-03-31 Thread Allandt Bik-Elliott (Receptacle)
yeh - put a bunch of br /'s in at the end because of this - i thought it was only html dynamic text that did this but i guess not. Never found a solution a On 31 Mar 2008, at 14:05, Mendelsohn, Michael wrote: Hi list... I'm encountering a weird scenario where a TextField's bottom scroll

[Flashcoders] AS2 SOAP web service

2008-03-31 Thread Gert-Jan van der Wel
Hi everybody, I'm having some trouble with connecting to a SOAP web service from my AS2 app. I need to log in on the web service to use it, but I don't know when I should use the login/pass. I use this script: var service:WebService = new WebService( url ); var call:PendingCall =

RE: [Flashcoders] Flash8 Question - contrast transform

2008-03-31 Thread Jack Doyle
Yep, a BitmapFilter is what you need. You might want to check out TweenFilterLite for an easy way to apply (and/or tween) the filter. It'll also let you adjust saturation, brightness, colorization, hue, and threshold. www.TweenFilterLite.com The code would look something like:

[Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Allandt Bik-Elliott (Receptacle)
hi guys in actionscript 3, if i put a mouse event on a movieclip object containing a textfield, should the mouse event be on the movieclip or the textfield? here's my code (comments added to see where the problem is occurring) CODE private function createPeriodBar(dateStart:int,

[Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Allandt Bik-Elliott (Receptacle)
hi guys in actionscript 3, if i put a mouse event on a movieclip object containing a textfield, should the mouse event be on the movieclip or the textfield? here's my code (comments added to see where the problem is occurring) CODE private function createPeriodBar(dateStart:int,

Re: [Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Steven Sacks
mc.mouseChildren = false; or event.currentTarget ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Kenneth Kawamoto
Try setting mouseChildren to false Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: hi guys in actionscript 3, if i put a mouse event on a movieclip object containing a textfield, should the mouse event be on the movieclip or the textfield? here's my

Re: [Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread jonathan howe
A perfect opportunity for someone more eloquent than I to explain event bubbling. On Mon, Mar 31, 2008 at 4:17 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: hi guys in actionscript 3, if i put a mouse event on a movieclip object containing a textfield, should the mouse event

Re: [Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Steven Sacks
IMO, explaining Event Bubbling as the reason the TextField is the target is complicating the immediate solution he needs, which is mouseChildren = false. Yes, it's Event Bubbling that's causing the target to be the TextField. To understand Event Bubbling, read about it in the docs, or better

Re: [Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Steven Sacks
You shouldn't be using capture phase until you've got a really good handle on bubbling phase first. You shouldn't have bubbling turned on for your button unless you are planning on catching this event above this clip, as well. Event Bubbling means that the TextField is dispatching a bubbling

Re: [Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Steven Sacks
Take off the true flag for bubbling and set mouseChildren = true. This should solve your issue. Er, I meant set mouseChildren = false. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com