Load webpage in flash movie?

I've been working with components for a while with a lot of
actionscript, and I really cannot find out how to put a website
inside a flash movie using the internet connection component. Am I
using the right component or am I trying the impossable? Please
respond. Thanks in advanced!

You can load the raw html - if flash is told (e.g. via
flashvars) the url of the page that you want (its available in
flash as what you would think of as the browser's 'view source'
style plain text) with either as2 or as3.
But you can't do full browser-style rendering of the content
because flash just can't do all that. You could parse the raw html
(probably a custom parser as I think the internal xml parser might
choke on some of the tags in html that are not closed such as
<br> etc) and just pick out bits of text or images that you
could display but you can't achieve an embedded browser.
Adobe's AIR might be more what you want - it has embedded
browser support- but it doesn't run inside a browser like flash.

Similar Messages

  • Loading URL after flash movie finishes

    I have created a flash movie which i have taken into a html
    page. when the flash movie has finished i want to load a html page
    in the current window. What actionscript should i be using to do
    what i want?

    I'm far from an flash expert but off the top of my head you
    could try adding this to a blank keyframe at the end of your movie:
    getURL(
    http://www.whatever.com,
    "_self");
    worth a try

  • Load webpage within flash page?

    Sorry if this has been answered before, but I'm not sure what
    to search under. I have a page made in Flash 8 that is mainly an
    animated background and a menu on the bottom. I want to be able to
    click one of the buttons on the menu and have a new "window" open
    up in the middle of the background area and load the different
    webpages (html, etc). Honestly I have no idea where to start on how
    to tell the buttons to open up in the new window instead of opening
    up in an external link. I have everything else done except for this
    last part. I am including a little picture to explain - if it
    helps. Thanks!
    Main page before click
    After click, menu
    opened

    veekay8 wrote:
    > Sorry if this has been answered before, but I'm not sure
    what to search under.
    > I have a page made in Flash 8 that is mainly an animated
    background and a menu
    > on the bottom. I want to be able to click one of the
    buttons on the menu and
    > have a new "window" open up in the middle of the
    background area and load the
    > different webpages (html, etc). Honestly I have no idea
    where to start on how
    > to tell the buttons to open up in the new window instead
    of opening up in an
    > external link. I have everything else done except for
    this last part. I am
    > including a little picture to explain - if it helps.
    Thanks!
    well, you can't load web page within flash, flash has no
    browser capabilities.
    you can only load text formatted with basic html tags, but
    not an actual html page.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Ipod touch won't load webpage needed flasher player

    Hi
    I want to know how to load a webpage as mylotto won't load in new Zealand as it needs a flasher player

    you can't. flash isn't available for the ipod touch.

  • Basic princibles of loading feature in flash movies

    Hi everyone,
    just a quick question,
    what are the basic princibles of the loading feature,
    i.e. when a bar goes across the screen indicating how much
    percent is loaded.
    how do they do this and keep it moveing at the same rate as
    the video loads?
    please answer if you know,
    Thanks!

    quote:
    Originally posted by:
    dzedward
    you cant switch back and fourth from AS3 to AS2 in your movie
    and expect it to work. its like somone who only speaks english,
    trying to read a book in half english and half german. it just
    doesnt work.. look here for a preloader tutorial for AS3
    http://flashas3.flashscript.biz/stage_preloader/Stage_preloader_2.html
    no no, you see when i go file> new> it gives me the
    option of makeing a new as2 file or as3 file

  • Flash movie using XML

    On the development version of a site, I have created a flash
    movie that uses an XML file that refers to the filenames of images
    and their respective captions that are then loaded into the flash
    movie.
    The images are loaded 2 at a time, into movie containers
    within the movie, and then the movies containing the images cycle
    through the images one at a time, one movie container fading out
    revealing the next image below it, etc. etc.
    Basically, I have used this on the site for many photo
    galleries. Each one uses the same flash file (in its own folder on
    the server, with its respective "images" subdirectory) coupled with
    an XML file (all in the same folder on the server) that tells the
    flash file where the images are, and in what order, and their
    related captions.
    There are 9 photo galleries, therefore 9 folders on the
    server, each with their own flash and XML and JPEG image files. For
    3 specific galleries, the flash file does not load images on some
    computers using IE. On the same computers, all other galleries work
    fine.
    Can anyone even guess what could be causing this??
    Many thanks in advance,
    Armo

    Maybe you can try You Tube Api for flash
    http://code.google.com/apis/youtube/flash_api_reference.html

  • Can we open Web pages inside Flash Movie!!!!!

    Is there a way to open HTML Webpages inside Flash Movies
    Please Help...............

    you can display certain html tags in an html-enabled
    textfield or a textarea component. but you can't display a webpage,
    per se.

  • How to position a flash movie within a web page?

    Hi guys.
    I have a flash movie that is going to be loaded within
    another flash movie via an xml list.
    How can I set the position to load the inserted movie to the
    center of the page?
    At the moment it loads in the top left hand corner.

    Hi there.
    Thanks for replying.
    the website in question is www,ridethespiral.net and if you
    click on pilot map you will see the error.
    The main (Background) flash file is from a template site so I
    didn't write the code.
    But I think this is it.
    //Function used to load external SWF files and call the
    loader MC -------------------------------------------
    function loadMovieClip (externalTarget:String,
    targetRoot:MovieClip) {
    var mcLoader:MovieClipLoader = new MovieClipLoader ();
    var listenerLoad:Object = new Object ();
    listenerLoad.onLoadStart = function (target:MovieClip) {
    loader._visible = true;
    ZigoEngine.doTween (loader,'_alpha',100,0.5,"easeOutExpo");
    //Loading Progress
    listenerLoad.onLoadProgress = function (target:MovieClip,
    bytesLoaded:Number, bytesTotal:Number):Void {
    percent = Math.round (bytesLoaded / bytesTotal * 100);
    loader.percentTxt.text = percent + "%";
    //On Load Complete
    listenerLoad.onLoadComplete = function
    (target:MovieClip):Void {
    ZigoEngine.doTween
    (loader,'_alpha',0,0.5,"easeOutExpo",0,function () {
    loader._visible = false;
    ZigoEngine.doTween
    (content_container,'_alpha',100,0.5,"easeOutExpo",0,function () {
    content_blocker._visible = false;
    mcLoader.addListener (listenerLoad);
    mcLoader.loadClip (externalTarget,targetRoot);

  • Flash movies title picture loading very slow

    Hi!
    I convert mpgs to flash movies in Flash 8 and
    put them on a webpage in Dreamweaver using a
    Halo skin.
    There are several movies on a page and when a user
    opens the page it takes a long time for the first pictures
    of the movies with the Halo skin to load.
    Any ideas about what is going on? This happens even on
    my own computer with cable connection.
    Thanks, Amdy

    Developer-specific resources include:
    MSDN IE Development Forum (post such questions here instead)
    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads
    Tip: When posting in Developer forums, always include a link to your web site or test pages in your first post.
    IE Developer Center
    http://msdn.microsoft.com/en-us/ie/default.aspx
    IE’s Compatibility Features for Site Developers
    https://blogs.msdn.com/b/ie/archive/2010/06/16/ie-s-compatibility-features-for-site-develo pers.aspx
    Preparing Your Site for IE9
    http://blogs.msdn.com/b/ie/archive/2011/03/18/preparing-your-site-for-ie9.aspx
    Expression Web SuperPreview for Internet Explorer (60-day free-trial, stand-alone visual debugging tool for all versions of Internet Explorer)
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e6cc9b3e-7eab-4525-8322-14d7e2 67eb2c
    Expression Web SuperPreview Release Notes
    http://www.microsoft.com/expression/products/Web_ReleaseNotes.aspx
    Validators:
    http://validator.w3.org/
    http://jigsaw.w3.org/css-validator/

  • Problems inserting flash movie into webpage

    I am trying to insert 2 different flash movies on one webpage
    One is a banner made in flash cs4 that works fine.
    The other is a movie that I encoded with flash cs4 from a m4v file. When i test this file using the flash player on my computer everything works fine.
    When i try to play on the webpage it shows there is flash object in dreamweaver but is blank in webbrowser.(right clicking shows there is flash there but nothing loads)
    I have managed to get the movie working on a completly blank html file except that there are no controls (controls work fine in the flash player on computer)
    As far as I can deduce it's not the html file because one swf file works ok
    It's not how i'm inserting it onto the page because dreamweaver is doing it for me(and including the nessecary javascript etc)
    It's not the movie because that works in the flash player on it's own.
    So i'm stumped
    any ideas guys?
    (if it's any help the webpage it's on is www.csdrummer.co.uk , click on top right image on sidebar, has play button, under navigation)
    Thanks
    Jamie

    I'm sorry I missunderstood the post from earlier. If I add the flv file in dreamweaver and upload the corresponding swf all works well but the flv file is 45mb which is a  bit large for a 3 min video.
    What i would like to do is turn this into a swf file. But this is where the problem is happening. THe swf when i export from flash wont work, comes up in the browser as doesn't load
    Jamie

  • Flash movie doesn't load properly in IE only

    I have a simple flash movie which transitions through text and photos. I have a preloader (AS3) on frame 1, which sends the playhead to frame 2, after the movie has loaded 100%. For some reason, in Internet Explorer, the preloader bar will load all the way, but fail to move the playhead to frame 2, so it'll just sit there, with the preload bar at 100%. However, this does not happen every time. For instance, right now, the flash movie will play when I initially go to the website, but when I click on another page, the same flash header (same swf on each page) will just show the preloader bar but will not play the rest of the movie. Reloading the page doesn't help. Closing the browser and reopening it doesn't help. Clearing the browser cache doesn't help either. So, the flash movie will play correctly on the first page of the website I go to (whether it be the home page or another page) but then when I go to any other page which has the flash movie, it won't play, just sits there with the preloader bar showing. And then when going back to the initial page I entered the site on, the flash movie no longer plays there, either. I haven't seen this problem in any other browser than Internet Explorer (6 and 7). I've checked in Firefox on Mac and PC and Safari on Mac. I'm using flash player 10.0.22.87 on my Mac and PC. The flash movie was made in Flash CS3, for flash player 9, actionscript 3 code.
    So, to see the problem, go here in Internet Explorer: http://demo.matthewpavkov.com/adairsolar. Wait for the movie to load and start playing. It works. Then, navigate to one of the other pages and you'll see that the same swf will not play. Navigate back to the home page, the swf does not play.
    Here is the preloader code:
    import flash.display.*;
    this.stop();
    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
    function PL_LOADING(event:ProgressEvent):void {
        var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
        lbar.scaleX=pcent/100;
        lpc.text=int(pcent)+"%";
        if (pcent>=100) {
            this.gotoAndStop(2);
    Also, if I remove the preloader actionscript code, the flash movie plays correctly. You can see that here: http://demo.matthewpavkov.com/adairsolar/no-preload
    The .fla is available to anyone who wants to take a closer look.

    mjjp,
         In may just be that in IE, the ProgressEvent never fires -- because your content is already cached.  See what happens if you add the following new lines (very end of the code sample):
    this.stop();
    this.loaderInfo.addEventListener(
      ProgressEvent.PROGRESS, PL_LOADING
    function PL_LOADING(event:ProgressEvent):void {
      var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
      lbar.scaleX=pcent/100;
      lpc.text=int(pcent)+"%";
      if (pcent>=100) {
        this.gotoAndStop(2);
    if (this.loaderInfo.bytesLoaded >= this.loaderInfo.bytesTotal) {
      this.gotoAndStop(2);
         See what's going on?  This way, even of the ProgressEvent handler never fires, you're still comparing the bytesLoaded property against the bytesTotal property.
    David Stiller
    Adobe Community Expert
    Dev blog, http://www.quip.net/blog/
    "Luck is the residue of good design."

  • How can I get my Flash movie to load correctly in Internet Explorer?

    I loaded an swf into an html. It loads fine in Safari, Firefox and Opera. However, in Internet Explorer the swf covers up part of the copy. I tried everything with the css to get it to work, but it nothing has helped. Among other things, I tried changing the z-index in the css, but that doesn't do anything.  Is there a specific code I need to add to my html regarding the importing of the flash movie that would be specific to IE?

    This thread should be in either the Flash Pro forum or the Dreamweaver forum.
    This is for Flash Player and Flash Player related issues, not Flash or browser or HTML issues.

  • Flash movie not loading in IE 8....??

    Hi, ive made a flash site in Flash CS4  .The flash movie doesnt load either on my computer or on web server,  but only in IE 8 ??, in all other browsers(FF,Safari,opera) it works????
    Why does this happen?
    This is the page                       http://www.fragojo-nekretnine.com/
    and the code
    <script language="JavaScript" type="text/javascript">
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
            'width', '1280',
            'height', '650',
            'src', 'index',
            'quality', 'high',
            'pluginspage', 'http://www.adobe.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'window',
            'devicefont', 'false',
            'id', 'index',
            'bgcolor', '#242424',
            'name', 'index',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'index',
            'salign', ''
            ); //end AC code
    </script>
    <noscript>
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="1280" height="650" id="index" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#242424" />    <embed src="index.swf" quality="high" bgcolor="#242424" width="1280" height="650" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>
    Please help!!!
    Thanks

    www.micca.co.uk/1871productions/showreels.html
    If you try any in IE8, they stop half way and do not give a smooth stream.  I am wondering if I have to stream differently and not via the progressive download stream as I have??!

  • CS3 Flash Movies in Webpages Problem

    I know how to make a generic flash movie player and all that
    in flash cs3 with their tutorials/quick import, but i cant quite
    seem how to find this:
    When you say embed a youtube video to myspace, or online they
    don't auto load, instead they seem to have a swf button with the
    big play icon sitting there till you hit it, then it loads the
    animation and autoplays.
    What coding does this? Is there a tutorial?
    Someone told me to just do this but didn't know the coding on
    how to do it or any tutorials online to do it:
    -If you do not want the Flash file to load until a user
    clicks on a play button, take a screen capture of the first frame
    of your movie.
    -Put it on your html page and then make a button that looks
    like your play button in the movie.
    -Put this button in a DIV and then place the DIV where you
    want it on your screen capture image.
    -Have this button replace the image with the Movie SWF file.
    Basically what you are trying to do is trick the user into
    thinking it's the SWF file, but only loading the SWF file when the
    user clicks on the fake play button.
    Any Ideas?

    you should be able to stop the playback of either the swf
    file timeline itself or a video - depending on which you are using.
    if it on the timeline (a regular swf file) place a - stop(); -
    method on the first frame - then place a graphic 'over the top' of
    everything that is a button instance - then you would code a
    handler for the button, that a) removes the button, and b) calls
    the timeline to start using the play(); method.
    if you are streaming in a FLV video, you will need to turn
    off the autoplay property, and then create a similar button, and
    use the play() method of the FLVPlayback component class.
    either way it's going to be easier than constructing all that
    other stuff and the JS to go along with it.

  • How to have Flash movie resize with rest of webpage

    Hi,
    I ran a search for this but couldn't find anything. Is there code I can write into my webpage (using dreamweaver) that will make my flash movie get larger along with the rest of my webpage when the viewer zooms their internet explorer 8 browser? Here's a link to an example. Looks fine when page is viewed at 100% but above that everything zooms except the movie.
    www.empowerments.net/canary.html
    Thanks for your help,
    James

    Thanks again for your time but it seems we're not on the same page (pun intended!).
    I do appreciate you trying to help me and I understand how easy it is to misread the question perameters.
    When your reply said "The Zoom does create a white space because it "zooms" the background image and text only.
    The Flash content isn't set to zoom with it apparently"
    it actually just stated what I said was the problem in my original post.
    I've already said the flash content looks fine at 100% and is only a problem when zoomed in by the internet explorer browser.
    The help I'm looking for is maybe a tip on some html code (like rescale = true or something) that I can write into the web page (via Dreamweaver) that tells the flash content to scale up with the rest of the page when zoomed.
    Does anyone else have any suggestions?
    Thanks again for your time and willingness, Mac=Win=Me!
    James

Maybe you are looking for