Variable Width in Flash

  • routhu
  • Beginner
  • Beginner
  • User avatar
  • Posts: 47
  • Loc: India

Post 3+ Months Ago

Hi to all,

I am using the below code. But here is my problem . In the starting the image is stretching , if i done any operation like minimising or Maxmising I get the correct Image. I need to solve that Starting Image stretching problem.

Can anyone please help me to Solve this one.

my source code :http://www.ourwebstudio.com/test.zip

Thanks,
Krishna
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

It sounds like you've got somthing contained within a Stage.onResize handler that you need to call manually when the movie loads.
  • routhu
  • Beginner
  • Beginner
  • User avatar
  • Posts: 47
  • Loc: India

Post 3+ Months Ago

Hi joebert,

Thanks for your reply,

I Can't Understand if you don't mind can you provide me any example.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

Look in your sourcecode for.
Code: [ Select ]
Stage.addListener(


If you find that, there will also be an object with it, for example it might say
Code: [ Select ]
Stage.addListener(myListener)


Once you find the object that is listening to the Stages Resize event, you can call that objects event handler manually.
In the example above, since the listening object is called "myListener", you would call the Stages Resize event manually like so within your movies Load handler.
Code: [ Select ]
myListener.onResize();

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 15 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.