[Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Patrick J. Jankun
Hello Everyone, This is something probably very stupid, but i have an basic problem with my AS code: i got an event Listener added to stage instance in the main class function/constructor stage.addEventListener(Event.RESIZE, initialise); problem is, this event never gets fired, and i

Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Sidney de Koning
Hi Patrick, How is your Flash set in your HTML? in pixels or in percent? GReets, Sid On Jun 5, 2008, at 4:04 PM, Patrick J. Jankun wrote: Hello Everyone, This is something probably very stupid, but i have an basic problem with my AS code: i got an event Listener added to stage instance

RE: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Romuald Quantin
need to check the html, if your movie is not resized with the browser, the event won't fire. Romu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick J. Jankun Sent: 05 June 2008 15:04 To: Flashcoder Mailinglist Subject: [Flashcoders] flex 3

RE: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Romuald Quantin
Sorry didn't see it was flex. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick J. Jankun Sent: 05 June 2008 15:04 To: Flashcoder Mailinglist Subject: [Flashcoders] flex 3 Event.RESIZE Hello Everyone, This is something probably very stupid, but i

Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Patrick J. Jankun
Sidney: i didnt even checked it out, cause the event don't fire in the stand alone player as well, i mean, what the f*k am i doing wrong here? im trying to use flex 3 only for this project, and not flash ide, honestly i don't know even how to change the .html wrappers settings inside flex

Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Patrick J. Jankun
already done this, before even adding that listener, this is the whole code i want to get working: public function PbMain() : void { StageAlign.TOP_LEFT; StageQuality.HIGH; StageScaleMode.NO_SCALE; stage.addEventListener(Event.RESIZE, initialise); } private

Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Viktor Hesselbom
Is that your actual code? Because if it is, I think I see the problem. You can't just write a reference to the constants. You have to actually use them to set the stage's align, quality etc. public function PbMain() : void { stage.align = StageAlign.TOP_LEFT; stage.quality =

Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Patrick J. Jankun
Viktor, you were completly right, i have actually fully overseen that mistake :-/ after correcting that mistakes everything seems to work. Thank you for pointing it out! P. On Jun 5, 2008, at 7:10 PM, Viktor Hesselbom wrote: Is that your actual code? Because if it is, I think I see the