Flex + double click full screen movie

Posted on 2009-12-29
Last Modified: 2013-11-11
I have a movie embedded in an page, how can I make the movie fullscreen when the user double clicks on the movie?
Question by:dkilby
    LVL 11

    Expert Comment


    Do you mean you have a flash movie on a page? Or you mean you have a flex application with movie playing it?


    Author Comment

    i created the project in FLEX, and am playing the swf file created in FLEX in an ASP.Net page
    LVL 11

    Accepted Solution


    Go through this blog.

    Call the toggleFullScreen() function on Application click event.

    You might be using embed code, or <object /> and <embed /> tags& So, in your HTML wrapper, add the property for allowFullScreen as specified in the blog.

    Post asp code which you embed flex if you cant fix it.


    <!-- -->
    <mx:Application xmlns:mx="" layout="vertical" applicationComplete="init(event)" 

    Open in new window


    Author Closing Comment

    Worked great - thank you

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
    I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
    The goal of the tutorial is to teach the user how to how to record live broadcast.
    The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now