WEB Using a flash header with an HTML body..

Discussion in 'OT Technology' started by mark alan, Sep 22, 2008.

  1. mark alan

    mark alan New Member

    Joined:
    Sep 9, 2008
    Messages:
    25
    Likes Received:
    0
    Location:
    West Hollywood, CA
    I'm building a website called Go Radio Go! for my class. I have a flash header, but the rest is HTML. I want the user to be able to click the button on the header and only load the HTML, not reload the header. I figured the easiest way to do this would be iFrames.

    Here's what it looks like..
    [​IMG]

    This is my code in AS3..

    The "1" is the iFrame name. However, when I try this, it doesn't work at all, I get a syntax error. Can anyone help?
     
  2. fishbulb

    fishbulb Active Member

    Joined:
    Oct 29, 2001
    Messages:
    6,848
    Likes Received:
    4
    Location:
    md
    Does adding
    Code:
        import flash.net.navigateToURL;
        import flash.net.URLRequest;
    
    fix it? If not, what is the error?
     

Share This Page