Skip to main content
Participant
December 17, 2010
Question

dimensions de stage

  • December 17, 2010
  • 1 reply
  • 720 views

if i write in flash cs4 "trace(stage.stageWidth) i get a value of 550(default value of document)which is ok

but if i write the same in flash cs5;i get a value of 100 instead of 550 while the document has a size of 550.I don't understand

This topic has been closed for replies.

1 reply

Lee_Burrows
Participating Frequently
December 18, 2010

thats an odd one - can you provide more code?

kapacAuthor
Participant
December 19, 2010

hi

thank you for your answer

that's the only code

in a new project with default width(550)

if you write on the timeline in actionscript without class or not

trace(stage.stageWidth);

you get the answer 550 in flash cs4

and 100 in cs5

kapacAuthor
Participant
December 20, 2010

what flash player version are you using?

i found this in the adobe bugs site which could be the same issue: https://bugs.adobe.com/jira/browse/FP-1390


hi;

thank you for your useful answer

i loaded the fla and swf from the url .the swf are ok but i get trouble in loading fla 10 in cs5.all the values of scalemode give a false answer

i use flashplayer v 10.1.52.14 the last one.

it seems really a bug of flash.