[Flashcoders] How to call class method from a movieclip?

2008-01-30 Thread Irene Johansson
Hello! I am having a big problem, hope someone can help me. I have made a class which i import in my flash file. The first and only frame of the file looks like this: import myClassFolder.*; var myClassInstance:myClass = new myClass(this.stage); stop(); Inside the class i am attaching a

Re: [Flashcoders] How to call class method from a movieclip?

2008-01-30 Thread Irene Johansson
(this); } public function myMethod(){ } } On an unrelated note: standard practice has class names start with a capital letter, not lowercase like you have. It helps to differentiate between variable names and class names. -Andy On Jan 30, 2008 8:42 AM, Irene Johansson [EMAIL PROTECTED] wrote

Re: [Flashcoders] How to call class method from a movieclip?

2008-02-01 Thread Irene Johansson
Thanks people for all replies. Need to stop thinking in old AS1 way :) On 1/31/08, Jesse Graupmann [EMAIL PROTECTED] wrote: Funny! Your mom said the same thing to me last night... ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks

[Flashcoders] FLVPlayback

2008-02-01 Thread Irene Johansson
Hello! I am having a FLVPlayback component inside a movieclip. Now when video is playing and i click on main menu to go to a different section, the video is not displayed but it is still playing. How can I detect that video is not anymore on stage and stop playing it? Thanks Irene :)

Re: [Flashcoders] FLVPlayback

2008-02-01 Thread Irene Johansson
section it will fail, because the video player is not there. G. Irene On 2/1/08, Kenneth Kawamoto [EMAIL PROTECTED] wrote: Just fire FLVPlayBackInstance.stop(); when you are leaving the current frame. Kenneth Kawamoto http://www.materiaprima.co.uk/ Irene Johansson wrote: Hello! I am having

[Flashcoders] Dynamic upload of bunch of images with automatic smooth.

2008-02-03 Thread Irene Johansson
Hello all you fine people! I have a big problem with uploading smooth images. What I do is, i load XML file, parse it loop through it, create movieclips, and load images into thos movieclips (if image is specified in xml) for(var k:Number=1; k=itemNr; k++){ usrNr++; var walker1:MovieClip = new

[Flashcoders] AS3 dynamic scrollbar that resizes onStageResize, but is not fullscreen- script?

2008-02-03 Thread Irene Johansson
Hello again :) I was googling a lot but i could not find any as3 scrollbar that automatically resizes when windows is bigger. Has anyone seen/ is a proud owner, and does not mind to share that kind of script. Cheers Irene ___ Flashcoders mailing list

Re: [Flashcoders] Dynamic upload of bunch of images with automaticsmooth.

2008-02-04 Thread Irene Johansson
Thank you for replies BUT. :) If i use mr. Muzaks code, i dont know how can i add my new image into right movieclip I need to add child to walkerMc.figure.head.imgholder. The handleComplete is triggered when an image is loaded. I am parsing the XML file, looping through nodes, some have images,