A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: GetUrl and html Frames

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    3

    Question

    Hello!
    I try to program an action on a button object; the GetUrl Action.

    I produce an asp page with 3 frames and a flash movie. On this movie, there is a button that I want it to refresh one of the frames with another asp page.

    So, GetUrl redirect to the new page, but redirect the url on the present movie's frame. I figure that I must put a "target" name somewhere...

    I tried to put the name of the target frames on the window text box but it don't work.

    Do you have an idea?

    Lslx

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Lightbulb

    1. In your HTML FRAMESET document.. name your frames like this:

    <FRAME SRC="mypage.html" NAME="frame1"...

    2. Then use the Target Field of the GetURL command to target that frame using the NAME you gave it.. in this case, "frame1".

    Does that help?


    ------------------
    Scott Richards
    http://www.rjscs.com/scotty
    scotty@rjscs.com

  3. #3
    Junior Member
    Join Date
    Mar 2000
    Posts
    3

    Unhappy

    I've already try to put the name of the html target frame in the window, but without ""
    ex.
    window: myframe
    I try that with a couple of "" like your exemple
    ex.
    window: "myframe"
    and it didn't work...

    Have any others solutions?

  4. #4
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Post

    It should be window: myframe, without the quotes. So, I am not sure what the problem could be.. You might want to check your FRAME tags again, just to be sure they are named correctly..

    Failing that...try using _blank in the "Window:" field, just to make sure that you are actually executing that GetURL action. It should open a new window for the URL you specify.

  5. #5
    Junior Member
    Join Date
    Mar 2000
    Posts
    3

    Lightbulb

    I find out my problem!
    look at my old code, my target was the "presentation" frame:

    <FRAMESET rows="35%,*" framespacing="0"
    border="0" frameborder="0">
    <frame name="ent" src="frameEnt.asp"
    target="_self" scrolling="auto">

    <FRAMESET cols="154,*" framespacing="0"
    border="0" frameborder="0">
    <frame src="menuGeneral.asp"
    name="menuGeneral" marginwidth="1"
    marginheight="1" noresize
    scrolling="auto" target="_self">
    <frame name="presentation"
    src="presentationEntreprise.asp"
    target="_self" scrolling="auto">
    --------------------------------------------
    I've got 2 framesets that I replace with one frameset tag:

    <FRAMESET rows="35%,*" cols="154,*"
    framespacing="0" border="0"
    frameborder="0">
    <frame name="home" src="home.asp"
    target="_self" marginwidth="1"
    marginheight="1" scrolling="no"
    NORESIZE>
    <frame name="ent" src="frameEnt.asp"
    target="_self" marginwidth="1"
    marginheight="1" scrolling="no">
    <frame name="menuGeneral"
    src="menuGeneral.asp"
    marginwidth="1" marginheight="1"
    noresize scrolling="no"
    target="_self">
    <frame name="presentation"
    src="presentationEntreprise.asp"
    target="_self" marginwidth="1"
    marginheight="1" scrolling="auto">

    Thanks for your help!
    Philippe A.G.

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