Link to home
Start Free TrialLog in
Avatar of realmark
realmark

asked on

How do I load an HTML page in a iFrame from a Flash button command?

Hi I am trying to load an external page into an iFrame from a flash command.

It loads a page to start and should load additional pages from a flash button.  For some reason it just opens a new page when I click on the button.

Herewith the current HTML code:
<iframe name="load" id="load" SRC="highlights.html" scrolling="no" height="250" width="980" align="middle" frameborder="0"> </iframe>

Flash Code:
btnprof.onPress = function(){
     getURL("profbothma.html", load);
}

Test page url:
http://www.shayamanzi.com/newweb/main.php

I really want this to work because every index section of the site loads additional content from a flash button command.

Designer trying to be a developer!
ASKER CERTIFIED SOLUTION
Avatar of Roonaan
Roonaan
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of realmark
realmark

ASKER

Hi Roonaan

I added the quotes nothing changed still opening in a new page instead of the iframe?

This comment had sort of the same problem then what I have, but I am not sure haow to add the code to apply to my situation:

https://www.experts-exchange.com/index.jsp?srid=k6wRDy1kDwPTfQMfgitGJg%3D%3D&redirectURL=%2FSoftware%2FPhotos_Graphics%2FWeb_Graphics%2FMacromedia_Flash%2FQ_23005152.html&rsid=20&pid=2479732#a20742792

Thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok I feel like a real idiot, both your solutions work, I was testing my outcome locally and was not aware that the files requires server side process to work. I loaded them up and it is working!

Thanks allot guys
Iframe loading solution