Flash Menu Targeting An Iframe Inside Of Another Iframe
i have a menu done in Flash, and i am tring to make it open html doicument in an iframe. that by itself is not that difficult to do. what i have a problem with is to open that html in an iframe that sits in another iframe. any ideas?
FlashKit > Flash Help > Flash MX
Posted on: 10-25-2004, 03:30 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Target Iframe From Flash In Iframe On Same Html Page
Hi,
I have my flash navigation, and its in iframe(1), i want to open a new page in iframe(2),
so far i have tried
on,release
get url something.php
window = Main
Main being the name of iframe 2,
but all this does is open the page in iframe(1)
Any ideas ??
Thanks in advance
Targeting An IFRAME From Flash....differently
Hey everyone,
I have been searching hi and low for this answer, I need to know how i would code this to target an Iframe within an HTML page called "cmain"
Here is the code
// Menu 1
Menu1.SubMenu.link1.theTitle = "Appointment Schedule";
Menu1.SubMenu.link1.theLink = "content/insideortho.html";
How would I write it so that the HISTORY.HTML page shows up in the iframe of my HTML page called cmain?
I am not using the getURL() function so its NOT that easy unfortunatly
Problem Targeting Iframe From Flash 8
Hey all,
I'm trying to make books.html come up in my iframe (named "contentwindow") but everytime I click "Books" it just comes up in a new window...
Here's my FLA:
http://www.austinmacauley.com/navigation.fla
Any ideas anyone?
Thanks in advance!!
Ben
{Flash 8} Targeting And IFrame From A Link Array?
Hello, anyone that might shine some light in the right direction would be my hero. First, I'm not a traditional programmer by any means, so if my code and/or method is completely irrational, just smack my wrist.
Ok, I have dynamic links that I'm pulling from an already published RSS feed (http://lacity.granicus.com/ViewPubli....php?view_id=2) using the xml in said document.
Now, the 'client' wants the video links from this document to link to an iframe above the flash interface. No problems targeting the iframe when the links are hardcoded into the flash piece, but they want complete control (yes, I know they're asking for a miracle). Here's my piece so far: (http://webdev.ita.ci.la.ca.us/Justin...id_player.html)
Here's the function and variable that pulls the links and titles: Code:
Code:
function getPageTitle(ind):String{
var this_text = "<a href='" + _level0.link_array[ind] + "'>" + _level0.title_array[ind] + "</a>";
return this_text;
This is what I tried (along with just single quotes and double quotes), but to no avail: Code:
Code:
function getPageTitle(ind):String{
var this_text = "<a href='" + _level0.link_array[ind] + "'" + ", "video_swap">" + _level0.title_array[ind] + "</a>";
return this_text;
Am I missing something really fundamental here, or what? Like I said, I know my method is completely out of the norm, but this is how I have it working at the moment. Is it even possible, or do I need to reformat what I'm doing?
I hope I made sense enough here. If I need to clarify, just let me know. Any help is much appreciated.
Thanks.
Iframe Inside Flash?
I am making a "profile" type thing for a site similar to MySpace, where the entire thing is in flash.
My problem here is that there is a separate page for comments on profiles. Instead of simply linking to that page from my flash, I was wondering if it was possible to load the page inside of flash, like an iframe?
Or, any way where it would grab the info from that page and display it in flash, somehow?
Thanks in advance.
IFrame Inside Flash
Hi all;
I want to put a small window inside my movie that contains information from another html file, information includes pictures, javascript and CSS. Just like <iFrame> tag in DHTML.
Is it posible to use <iFrame> tag inside my movie? Or is there something in flash that can work just like <iFrame> tag?
Any reponse will be appreciated.
Thanks
Virgil
Inserting An Iframe Inside Of Flash 8, Possible?
Hello,
I'm creating a small Flash object. I have four URLs that I want to display and dynamically change through Flash, but I'm not sure how to display these pages. I tried creating a dynamic textbox that displays html. I set a variable and put an iframe there pointing to the url I want to show. Is there a way to show html pages with Flash that works properly? Using this method, it shows the text inside of the iframe tags, but it doesn't render the actual page.
A bit of background - I'm using four small php pages, so I can't make them static, and I don't have the source code for the php, so I can't work with it anywhere other than the URLs that I'm getting. The size of each piece is 125x125 or so.
Any tips would be appreciated, thanks :)
Make An Iframe Inside An Exisitng Flash
Hi,
I'm new to actionscript, and I have an existing flash movie, that I would like to add an iframe code for it.
1. how can I do that?
2. if I need the iframe code to have a dynamic string in it (that is based on my mysql database query) how do I do that?
thanks,
Help: GetURL - Flash Inside Iframe, Target Outside
hi there,
hoping someone can help out. I've embedded a swf into an iframe, which is on a php page. However, I have links in this swf that I want to be targeted outside of the iframe and on the php page.
I've tried various pieces of code such as:
getURL(linkSelected, "name of php page");
getURL(linkSelected, "_blank");
These don't seem to work and the link just opens in the iframe the flash is embedded into.
If anyone could help it would be much appreciated.
Targeting An Iframe
I have a demo up of my latest endeavour.
http://matt.icecave.com.au/mech/test.html
Problem I'm having is that I cant seem to target the iframe.
In the scource flash i had a test button..and had the url as that required to appear in the iframe and the target was the iframe id..
This however was not working..
suggestiosn ideas?
cheers
vamps
Targeting An IFRAME
Hey everyone,
I have been searching hi and low for this answer, I need to know how i would code this to target an Iframe within an HTML page called "cmain"
Here is the code
// Menu 1
Menu1.SubMenu.link1.theTitle = "Appointment Schedule";
Menu1.SubMenu.link1.theLink = "content/insideortho.html";
How would I write it so that the insideortho.html page shows up in the iframe called cmain of my HTML page?
I am not using the getURL() function so its NOT that easy unfortunatly
I got this menu off of this site yet i can't find who was the author.
I am using Flash MX 2004
Targeting An Iframe
I have made a flash navigation bar and I am wondering if there is a way to make it target an iframe when opening up the page.
Targeting Iframe With AS3
How do I do this so that it works properly?
I want to use navigation (buttons) built in flash to target the iframe that will be on the same page as the flash swf.
the user clicks the button ie. photos and the iframe is loaded with the html page that has been called. Then the next button is clicked and that iframe is loaded with different html content again or a movie or what ever.
There is a lot of junk code out there in web land. What is the correct way to do this without browser issues? ( yes I mean Internet Explorer) Do I need Java too?
Targeting An Iframe?
Can a flash button be coded to target an iframe on a website so that the url will open inside the iframe?
Targeting An IFrame
hi all,
i have my html page which contains my navigation done as a flash movie. i also have the content of the page held in an iFrame called 'content'. how can i change the source of the iFrame from a button within the flash menu?
many thx
- G
Targeting An IFrame
hi all,
i have my html page which contains my navigation done as a flash movie. i also have the content of the page held in an iFrame called 'content'. how can i change the source of the iFrame from a button within the flash menu?
many thx
- G
Linking/targeting To An IFrame
-Using Flash MX 2004-
Hello! I am having trouble with a new site I am developing. The idea is to have a Flash area in one iFrame as well as another iFrame which will contain some html and graphics. I have set my Flash button links within ActionScript so that the script will load a new page in BOTH iFrames. For some reason, while viewing in the Safari Mac browser, the iFrames pop open in new windows. (this works fine in IE and Firefox on both Mac and PC) Any suggesions to get this to work in Safari??
Here's my code that's attached to my buttons in the Flash movie located in my first iFrame:
code:
on (release) {
//Goto Webpage Behavior
getURL("frame_1.html","sidestory");
//End Behavior
}
on (release) {
//Goto Webpage Behavior
getURL("flash_temp_01.html","flasharea");
//End Behavior
}
Any help would be greatly appreciated!!!
Thanks
[MX] Problem Targeting Iframe In Firefox
Hello there!
I'm making a flash menu (like this: www.hatebreed.com) that's supposed to open in an iframe (i've called "main").
So far it works with no problem in IE, but in firefox it only opens in a new window or tab...!!
I use flash MX v6. I can see in the source for this page that it's made for flashplayer 7 and i can only publish for flashplayer 6! Im afraid i'm doomed because i don't have a newer version, but i thought i'd give it a shot by asking someone in here...
This is how the action looks in the .fla:
on (release) {
getURL("news.htm", main);
}
I've tried adding expressions to "main" also, but that has no effect...
Does anyone have a fast solution for this perhaps?
I'm pretty new to all of this, so i don't know much about fscommands, actionscripts 1, 2, 3 and all that.
Looking for hours online today has pretty much just made me really confused, and now desperate... I have a deadline for this on monday... unless i can make up a story and i need to figure out if i have to consider making a html based menu with no animations. ...And that would be quite a disaster!
So if someone needs a lil challenge along with their morning coffee... Please help! Thank you!
GetURL Not Targeting Iframe From Button
Thanks in advance.... i've done a lot of searching for an answer to this.
I'm loading a flash file into an iframe which contains a button "skip intro", and is set to load the next page into the same frame. The button code is the basic:
on (release) {
getURL("main.html", "main");
}
And I know the iframe code is correct, and i'm using both name="main" and id="main", and have tried not using both.
I need to serve to IE 6, and yet it works perfectly in Firefox. I've even tried "_self" in the target and IE won't take it, but, again Firefox does.
Anyone know what's up?
Thanks so much,
K.
Targeting An Iframe Nested Within A Framset
OK so I am having difficulties with this problem and I thought I would post it here and see if someone could help me out. So here it is.
I am trying to target an iframe (name "body_iframe_content") and that iframe is nested (well I think it is nested, it is just inside a table in another frame named "mainFrame") within another frame.
The menu where the flash buttons reside are in a different frame within the frameset on the frame named "topFrame". I think that is where my major problem is. So how do I target to another frame within the frameset and target the actual iframe and not the frame itself?
Does that make sense or did I just confuse everyone?
Targeting An Iframe Nested Within A Framset
OK so I am having difficulties with this problem and I thought I would post it here and see if someone could help me out. So here it is.
I am trying to target an iframe (name "body_iframe_content") and that iframe is nested (well I think it is nested, it is just inside a table in another frame named "mainFrame") within another frame.
The menu where the flash buttons reside are in a different frame within the frameset on the frame named "topFrame". I think that is where my major problem is. So how do I target to another frame within the frameset and target the actual iframe and not the frame itself?
Does that make sense or did I just confuse everyone?
Flash Heir Menu Over An Iframe
One solution that I use when I want to have a flash menu on a page is:
Put an I frame that is 100% width and height into an HTML page.
In that same page, put your Flash thing in. Remember that form elements override z-index of all other objects in the browser.
put you page content into the iframe.
Here's an example of a heir-menu system over an iframe.
Click here
i could've made the iframe 100% width and height and set the parent html with zero margins... anyway.
There are some other tricks that make this work, but hey, thats not the point.
enjoy
tutash
Flash Menu To Control IFRAME
(Follow-up on earlier (deleted) thread)
I want to scroll through pages in an IFRAME
in a HTML page with my Flash menu.
It works partly but it doesn't go back and forth
correctly. This is the code I have now:
Code:
myUrl = 1;
btn1.onPress = function() {
if (myUrl<4) {
getURL("page"+myUrl+".html", "home");
myUrl++;
input = myUrl;
}
};
btn2.onPress = function() {
if (myUrl>0 ) {
getURL("page"+myUrl+".html", "home");
myUrl--;
input = myUrl;
}
};
Does anyone know how to do this correctly?
example:here
thanks
+++MODS I ACCIDENTLY POSTED WRONG! SHOULD BE IN AS FORUM!+++
Flash Menu To Control IFRAME
(Follow-up on earlier (deleted) thread)
I want to scroll through pages in an IFRAME
in a HTML page with my Flash menu.
It works partly but it doesn't go back and forth
correctly. This is the code I have now:
Code:
myUrl = 1;
btn1.onPress = function() {
if (myUrl<4) {
getURL("page"+myUrl+".html", "home");
myUrl++;
input = myUrl;
}
};
btn2.onPress = function() {
if (myUrl>0 ) {
getURL("page"+myUrl+".html", "home");
myUrl--;
input = myUrl;
}
};
Does anyone know how to do this correctly?
example:here
thanks
Flash Menu To Control IFRAME
(Follow-up on earlier (deleted) thread)
I want to scroll through pages in an IFRAME
in a HTML page with my Flash menu.
It works partly but it doesn't go back and forth
correctly. This is the code I have now:
Code:
myUrl = 1;
btn1.onPress = function() {
if (myUrl<4) {
getURL("page"+myUrl+".html", "home");
myUrl++;
input = myUrl;
}
};
btn2.onPress = function() {
if (myUrl>0 ) {
getURL("page"+myUrl+".html", "home");
myUrl--;
input = myUrl;
}
};
Does anyone know how to do this correctly?
example:here
thanks
Flash Navigation Menu Above HTML Iframe
Hi!
I am trying to integrate the flash movie inside HTML content. I want to create a movie for upper level navigation in my application (ready web application), so its menus will be opened above HTML content displayed below the navigation. The problem is clear here because flash movie is a different layer in the browser, the browser doesn’t know to place objects from the lower layer above the upper layer, so I search for a creative solutions.
Until now I've success to create a transparent flash movie like in this example:
http://www.duoh.com/csstutorials/flazindex/
But if I try to add an iframe to the HTML content, it doesn't work; the HTML is displayed above or under the flash and flash is not transparent any more. Also I want the menu itself will not be transparent but just the rest of the area.
My general idea is to change the layers order while showing the menu, but when I need the flash layer to be transparent for iframes
Any idea will be appreciated.
ExternalInterface.call Inside Iframe Not Working In IE
Hi all,
The structure of my site is as follows:
mainPage.html contains - menu.swf & iframe1
iframe1 contains - subpage.html
subpage.html contains - subMenu.swf & contentpage.html
The way it works is that when menu.swf is clicked it changes the .src of iframe1 to load the appropriate subpage.html. Then when you click the subMenu.swf it changes the .src of iframe2 to load the appropriate contentpage.html
This is all probably better illustrated if you have a look at the site http://www.curvecreations.com/portfo...cv_navnew.html
It all works perfectly in Firefox but in IE the ExternalInterface call from the subMenu never reaches the container page to change the .src of the iframe.
It seems as though it's something to do with the .swf being inside the iframe because I am still able to call a javascript function from within the iframe using an html button.
If anyone can help in any way i would be very grateful as my head is beginning to hurt from banging it against my desk.
Talking From Iframe To Iframe?
I am doing a site with a top flash nav, and Iframe with some flash and html in it.
Is there a way to have the flash in the Iframe give actions to the flash nav??
you can see it here:http://www.dyaddesigns.com/roque_new_layout/
when you hit the porperties button, i want the nav to change to FOR SALE.
something like:
on (release) {
_level0.clip.gotoAndPlay(2);
}
I hope this make sense
Talking From Iframe To Iframe?
I am doing a site with a top flash nav, and Iframe with some flash and html in it.
Is there a way to have the flash in the Iframe give actions to the flash nav??
you can see it here:http://www.dyaddesigns.com/roque_new_layout/
when you hit the porperties button, i want the nav to change to FOR SALE.
something like:
on (release) {
_level0.clip.gotoAndPlay(2);
}
I hope this make sense
Link From A Button In A Menu, To An Iframe.
I'm working on a project where i've created a Drop down menu, and i want the buttons to link to an IFRAME i have on the same page. The Iframe's "name" is content.and the page i want to get inside of it is main,(and so on for the rest of the pages).How can i do this?
This is what i tried:
on (release) {
getURL("main.shtml", "_content", "GET");
}
Thanks in advance
[MX] IFrame "content" From Flash Menu
Hi there - I have this menu here
The content for these pages will appear in the iFrame window on the right.
How can I achieve this ?
On text the link would appear as;
PHP Code:
</a><a href="mens.htm" target="content">Content-4</a>
I've tried changing the target value in flash but with no joy.
Any help would be appreciated.
Thanks
Rob
Iframe And Flash
Hi
I am trying to solve a problem with Flash 5.
Part of the page is in flash and the other is in html
I want to click on a button in flash and control an "iframe"
(note that this IFRAME is on the html page. IFRAME is a layered javascript frame)
What I want is to be able to take any designated button created in flash and link it to this IFRAME and the particular page with in it.
ex:firt part of code I think would be
onMouseUp="dourt()" <----- This is the code in html it connected to
function dourt()
{
MM_swapImgRestore();
window.history.back();<------ Javascript
help asap please
thanks
EXIT
Is IFrame In Flash Possible?
I'm doing a webpage and would like to include an Iframe in the flash page. This way, the whole page would be in flash, instead of cutting up the page into differents pieces.
The reason for this is because I plan on using Blogger as the page that will display the information because more than one people will be accessing the site and updating it. Also, using blogger to update the site is a lot easier than opening the file and updating it manually. It's also easier since they don't have to know HTML to update the page.
Any idea about how to do this?? Is it even possible? TIA!
IFrame Within Flash?
I have a SWF file, but I want it to display an HTML file... (with links, etc.)... how can i do that? would i have to make like, an iframe in flash or something?
also, can i make it just like a regular HTML document? like where you can right click, 'view source' or right click a link and click 'save target as', etc.?
Is that possible?
thanks
~Lorenzo
Something Like Iframe In Flash
hi all,
I've seen in some flash sites when you drag on a bottom it starts to roll the text and appears the bottom of text.so if anybody knows how to make such stuff please tell me.
using flash5
thanx
IFrame For Flash
I want to make a flash website, and I want to have a section where you can scroll up and down, like a iFrame(where it shows the html file). I donˇŻt want to update the flash itself when I want to update the site. Are there any tutorials where I can make a iFrame, so I can just update the html? Please give me the link of the tutorial I cannot find any. Thanks.
Iframe In Flash?
i was wondering if you could create an iframe on a full flash site b/c to me it would make things a lot easer to edit :-) if not then is there an easier way to edit my flash site test and crap with out having to open flash then re typing what i want to exporting and reuploading if there is a way/tutorial just give a link or post how here
Flash Iframe
is it possible to use a flash menu with links to change pages in an iframe? you know, just like a normal iframe but using flash links instead of jut text or image links.
Flash Over IFrame?
Hey y'all
So what we have decided to do is to put our dynamic content inside an IFrame on a main page with a flash menu based navigation on the bottom. My problem now is that my Flash menu, when extended, goes over top of the IFrame and I can no longer access any parts of it that are overlapping.
In IE this is not a problem, but I want to avoid telling people "You have to use IE to view this page!"
Here is an example: http://www.whatadewitt.com/coolriot
Look at it in FF, and IE (note: the links won't work, neither will the pictures, but you can click the little up/down arrow at the top to see what my problem is)
Thanks a ton!
Edit: At the moment I only have the IFrame at a certain size, so depending on your resolution, you may have to change the size of your browser window to see the problem. To see the problem you need to make sure that some of the flash is covering some of the whitespace.
thanks again!
--D
Iframe In Flash?
is it possible to use an iframe in flash? im trying to load a googlemaps thing into my site. but... if that's possible, i guess i can use a div and place it OVER the flash... but i wonder if that gets glitchy....
the other thing is i wanted to use a small drop shadow on the map. if i put a div over the flash somehow i'd have to update flash with the divs xy position and place a drop shadow sprite where the div is... blah sounds nasty already
Iframe In Flash
can you do an i frame in flash.
Like a regular html page that is loaded into a frame?
Thanks in advance.
Flash To IFrame
I recently discovered a website that appearantly uses a way of linking from a Flash button to load content into an iFrame on that page. I quickly figured out how to do the iframe, but have quite gotten how to link from flash to load content into the iframe. I tried the obvious of linking a test page to the flash button and telling it to load to the "Name" of the iframe. This didn't work, so I was hoping someone here would have some ideas.
Iframe In Flash?
hey, i need to create like an iframe in flash, or a similar thing, that will allow a user to scroll down in a box containing text within the flash movie.
any help would be much appreciated
IFrame In Flash
I made most of a website in flash, but I want all the pages to load into an iFrame...I can open the flash movie into a web editing program and then put the iFrame on top of the movie, but when i click on a link to open up th epage in the frame, the frame get's hidden, but when i click the link again the frame reappears and it opens the correct page. Anyone know how to fix this?
Iframe In Flash
Can someone help me out. I wantto put an iframe in flash with it locked on to a certain co-ordinate of the page without a scrollbar. Any help would be apprectiated.
How Do I Put Like A Iframe In Flash
how do i put a iframe in flash like lets say www.tek-labs.com i want to put a iframe like it in my site .. Can u give me a url to a tutorial or explain plz im sorta a flash N00B
Flash And IFrame
I am creating a Flash app that is meant to be a file/directory viewer for the local machine. Is it possible to do something (in Flash) similar to using an iFrame within HTML that points to a local directory?
Has anyone else created a sort of Project Management Interface, in Flash, that runs on the desktop and give you access to all your files?
Cheers!
Flash Over An Iframe?
Is there any reliable way to hover Flash in a layer on top of an iframe? When I try it, the iframe interferes and forces its way up to the top etc. etc.
|