Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

restraining SWF to stage size

Community Beginner ,
Jul 05, 2011 Jul 05, 2011

Hi all

I've been making some banners for my company to be sent to certain profesional magazines. While checking the swfs, we noticed that, when opend directly on a web browser (as swf standalone), it (a) shows all the elements, including those outside stage and (b) gets resiced depending on the screen size.

So my question is:

Is there a way to prevent this happening? I mean, is there a scripting/non scripting way to force the swf size to stage size and nothing else so that we don't show anything we shound't?

thanx in advance

TOPICS
ActionScript
612
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 05, 2011 Jul 05, 2011

You can have everything under a mask layer as an option.  If the ads are to be used online, it is unlikely they will not be embedded in an html file.

Translate
Mentor ,
Jul 05, 2011 Jul 05, 2011

I hope its not possible when you directly open flash on browser, has to solve by using html only.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 05, 2011 Jul 05, 2011

It should be but, since we do not control the HTML process (only swf), we would rather have any out of stage object securely hidden.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Jul 05, 2011 Jul 05, 2011

Or else have a simple background design outside the stage with the maximum width and height. but it sucks memory.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 05, 2011 Jul 05, 2011

I thought of something like that too (a mate) but then, the actual width and height of the swf oppend in the browser would be larger than it should... why, I do not know...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 05, 2011 Jul 05, 2011
LATEST

You can have everything under a mask layer as an option.  If the ads are to be used online, it is unlikely they will not be embedded in an html file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines