70 posts
  • 4 Years of Membership
  • Author Level 5
  • Bundle Boss
  • Collector Level 2
+7 more
junus
says

Hi.

I try to make fullscreen with external (loaded) swf. It makes fullscreen to main swf (with loaded one) not only loaded swf. Any idea for my problem?

Thank you for now.

Best.

767 posts
  • 6 Years of Membership
  • Author Level 3
  • Collector Level 4
  • Exclusive Author
+4 more
outandouter
says

When you load an SWF A into an SWF B , then all the stage objects of SWF A are basically inserted into the SWF B (inside desired movieclip/sprite object) at run-time. So, you actually end up having only one SWF .

Keep this in mind, and then reconsider your problem.

70 posts
  • 4 Years of Membership
  • Author Level 5
  • Bundle Boss
  • Collector Level 2
+7 more
junus
says
KamilWaheed said
When you load an SWF A into an SWF B , then all the stage objects of SWF A are basically inserted into the SWF B (inside desired movieclip/sprite object) at run-time. So, you actually end up having only one SWF . Keep this in mind, and then reconsider your problem.

Thank you Kamil. You are right. I have tried scaling method regarding screen ratio. It works :)

70 posts
  • 4 Years of Membership
  • Author Level 5
  • Bundle Boss
  • Collector Level 2
+7 more
junus
says

By the way the real solution is defining a rectangle the using fullScreenSourceRect method of the stage.

var screenRectangle:Rectangle = new Rectangle(video.x, video.y, video.width, video.height);
stage.fullScreenSourceRect = screenRectangle;
stage.displayState = StageDisplayState.FULL_SCREEN;
2 posts
  • 6 Years of Membership
  • Collector Level 4
  • United States
fascination13
says

junus, could you please elaborate. I have built a swf that pulls an external swf that pulls an external flv, I would like to be able to have the video go full screen without the rest of the content going full screen and it sounds like that is what you have done, but I’m a bit confused as to what you are saying. I’ve been searching quite a bit for a solution. Also for various reasons I am using ActionScript 2.0 Thank you in advance.

2 posts
  • 6 Years of Membership
  • Collector Level 4
  • United States
fascination13
says

junus, could you please elaborate. I have built a swf that pulls an external swf that pulls an external flv, I would like to be able to have the video go full screen without the rest of the content going full screen and it sounds like that is what you have done, but I’m a bit confused as to what you are saying. I’ve been searching quite a bit for a solution. Also for various reasons I am using ActionScript 2.0 Thank you in advance.

70 posts
  • 4 Years of Membership
  • Author Level 5
  • Bundle Boss
  • Collector Level 2
+7 more
junus
says
fascination13 said
junus, could you please elaborate. I have built a swf that pulls an external swf that pulls an external flv, I would like to be able to have the video go full screen without the rest of the content going full screen and it sounds like that is what you have done, but I’m a bit confused as to what you are saying. I’ve been searching quite a bit for a solution. Also for various reasons I am using ActionScript 2.0 Thank you in advance.

Can you send me a simple? Maybe I can help you.

by
by
by
by
by
by