-
iframe in AS2
Hi,
It is possible to creative i frame in AS2? or any other way to do it?
I want to surf in a website from the iframe - for example: Google.
It's will be great if i can have the all code.
Thanks for the help!
-
.
Hi,
The short answer is NO, not with AS2, unless I'm mistaken!!
You can however put an iframe in your html code and target the iframe from flash.
http://www.w3schools.com/tags/tag_iframe.asp
-
Prid - Outing
fruitbeard is right, you can't really do it, but there IS a way though. You see, you can load the HTML code for a website in Flash using something like this:
Code:
webSite = new LoadVars();
webSite.onData = function(data){
trace(data);
}
webSite.load("http://www.google.com/");
BUT, only the raw HTML code will be sent to Flash, so you will have to write large chunks of code to format HTML code in Flash, and that's pretty difficult. Look at Google's source code, it's insane, they have really complicated coding that you won't even be able to format in Flash, so Google would be impossible. But, a simple HTML website CAN be shown in Flash, even without requiring much coding, as you can use a text field and enable HTML formatting, but only simple tags will be shown and it will still look pretty messy.
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
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
|