|
-
iframe and get url driving me nuts!!!
Howdy guys, i have used this code a million times before and now its suddenly stopped working, this is my code in the html for iframe...
Code:
<iframe src="home.html" name="content" width="342" marginwidth="0" height="458" scrolling="yes" frameborder="0"></iframe>
and this is my code in flash...
Code:
on (release) {
getURL("about.html","content");
}
so basically flash should be loading the html page "about.html" in to the iframe called "content".
Instead its just opening content in a new window.
I dont know what on earth im doin wrong.
Ive done a search and this fella seems to be having the same problem....
http://board.flashkit.com/board/show...geturl+iframes
any body else had the same problem?
Cheers
Aidan
-
Registered User
hi,
I've seen the same problem with framesets.
I had to test it on the server so that it would work correctly, i.e., I had to have an address lke
http://domain.com/page.html
(domain.com can be localhost)
-
Caunt believe ive been tearing my hair out for so bloody long with this! Yeah its a local problem, as soon as i upload it works fine!! cheers fella.
-
Registered User
Cool!
This seems happen with Flash Player 8 (or later) only.
Like you said, I also remember this working fine - iFrames and frames.
-
Twansparant
Hi,
I was reading this post because I have the exact same problem.
I'm also using an iframe in the same html page as the .swf is in:
Code:
<div id="HTML-CONTENT">
<iframe name="content" width="745px" height="500px" scrolling="auto" frameborder="0"></iframe>
</div>
From flash I want to load content pages into the iframe called "content":
Code:
on (release) {
getURL("work/interior/test.html","content");
}
It works..... in Internet Explorer .... in Firefox it just opens a new window , what the hell am I doing wrong?
Anyone an idea?
Thanks!
-
Registered User
hi Twandeman,
But are you testing it on the server?
Your code appears to be just fine.
-
Twansparant
Yeah, I was testing it on a server. But I fixed it, my flash window wasn't transparent, so I couldn't 'see' the iframe.
But now that I've got your attention, maybe you could help me with a slightly different problem .
To understand what I mean, take a look:
http://www.rovorm.nl/testtoine/
Go to the 'work' section and then drop down 'interior', as soon as the mouse hits the html section (top of the photo), the drop down goes away, while in the .swf itself it works fine.
Any idea?
Thanks for your time!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|