A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: HELP : Need to insert HTM site into flash

  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Unhappy HELP : Need to insert HTM site into flash

    Hi Guys...

    I am bust doing a demo for a WAP site and it would like to bring in this WAP site into the flash demo without having to recreate it. Site is very simple and made up of images and HTM code.

    I basically need tis site to function as it stands now but within my flash movie. Sort of like embedding it within an iframe on a website.

    Please help deadline is in 4 hours and im quite desperate.

    Thanks
    Dru

  2. #2
    Senior Member
    Join Date
    Nov 2001
    Posts
    1,145
    Just use an iframe or regular frames to show the site. There's no easy way to display an html site in flash.

  3. #3
    Banned
    Join Date
    Jan 2008
    Posts
    11
    flash doesn't natively support html tags, but i think DENG may help you. get it here. open up the files test.fla and test.as. find the variable DOCUMENT_URL and change its value to the url of your site. save test.as and compile test.fla. then in your flash file embed test.swf with this code on the main timeline:
    PHP Code:
    var mcl:MovieClipLoader = new MovieClipLoader();
    mcl.addListener(this);
    mcl.loadClip("test.swf"destinationClip); 
    finally, create a new movieclip, place it on the stage and give it an instance name of destinationClip. Test your Movie. you now should see your mini WAP site in your flash movie. if not, it's because of DENG's low compatibility.
    ps. make sure you have your swf, test.swf and deng.swf in the same folder(directory).
    hope i helped.
    it's for as2 only. if you're using as3, i'm sorry but i'm unable to provide a solution.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center