Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Fill web browser with swf

  • Curtis Thompson

    May 29, 2008 at 8:04 pm

    hello…

    the super-easiest way to achieve this is to view the source of that page and swap out the bits you don’t need and put your movie in the flash render tags…

    (not trying to sound flippant – i mean i could explain it and document it, but what the heck? you have a working example right there to learn from)

    sitruc

  • Hoss Sarbaz

    May 29, 2008 at 8:42 pm

    Beleive me I tore the source code apart trying to figure. Like I said on this one I’m Stuck on stupid!. I’m assuming it’s a javascript code in the page source or coding in the “.js” file.

    When I did as you say I got different variations but not the exact same thing….don’t know what doing worng…

  • Curtis Thompson

    May 29, 2008 at 8:48 pm

    hello…

    all you should have to do is replace their flash movie with the path to yours, but here’s a 3rd party tutorial:

    https://www.broculos.net/tutorials/how_to_make_a_flash_animation_truly_fullscreen/20080314/en

    sitruc

  • Hoss Sarbaz

    May 29, 2008 at 10:32 pm

    Thanks Curtis!

    The tutorials helped but showed how to scale width and height to 100% for exact fit to fill the browser, which scales width and height.

    The url I mentioned doesn’t scale it just moves the flash element on the right horizontally withou scaling as you manually adjust the browser window size with the mouse.

    Correct me if I’m wrong but I think it maybe some php and javascript on server side.

  • Curtis Thompson

    May 29, 2008 at 10:37 pm

    hello…

    the preservation of the height of the green bar or whatever horizontal bar is being shown is controlled in the flash movie. the embed tag for the movie specifies width 100% and height 100%:

    var flashMovie = new FlashObject(“launch.swf”, “flashMovie”, “100%”, “100%”, “8,0,0,0”, “#F7F9ED”);

    no php involved. it is scaling both width and height but in the flash code itself they say to not scale the bar vertically and always have it 100% wide in the canvas…

    sitruc

  • Hoss Sarbaz

    May 30, 2008 at 12:15 am

    Here is my code. The browser comes up as a blank page!
    What am I doing wrong? The paths to the .js file and the swf are correct. I’m using dreamweaver CS3 on G5.





    Untitled Document


  • Curtis Thompson

    May 30, 2008 at 1:39 am

    hello…

    hard to say – have you tried it using their flash file? maybe your flash file is not set up correctly…

    also post a url – inline code is hard to debug…

    sitruc

  • Fernando Mol

    May 30, 2008 at 3:20 am

    There is a way to control the relative position of an object with actionscript. Just do not remember exactly what command is.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy