Scrolling Different Sized Movies In HTML IFrame.
I have an HTML page with a static header and footer. My Flash file is embedded in a cell in a table. The problem is that my movie size changes. It goes from a height of 342 to 430.
I have went the UIScroll component route, but that is not what I need. I need for the movie to go from a height of 342 (the size of the frame) to a size of 430 and add a scrollbar within HTML, not flash. I would like it to dynamically switch on and off between 342 and 430 (stage size)
Is this possible??
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 08-14-2006, 05:54 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
Scrolling Images As Buttons - Play Full Sized Image
Hey there. I sure hope someone can help me with this, as this is one of the last things that I need to do for this web site. I have been browsing and doing numerous slide show tutorials found on Flash Kit (which are pretty cool), and I have searched the message boards to find out how to do this, but could not find anything that was quite what I was looking for.
Basically, what I envision for my customer's photo gallery is just the same as this: MySony.com (requires a membership to see the page) (scrolling image buttons that pause on mouseOver) with one minor difference. When one of the items is clicked, I want it to open the full sized picture on the same page within a picture frame (a GIF file that I have already placed on that page).
So what I am needing to know is (1) how to create the scrolling image buttons movie clip, (2) how to make it pause on mouseOver, and (3) how to make the buttons open a separate movie clip on the same page within the picture frame.
Can anyone help me with this? I am most grateful for any help.
Thanks,
Summarah
HTML Sized Window
Once I click on a link on a flash site I am working on, I need it to open a html window that is sized at 300pxx200px. Can someone please help me and give me the code needed.
Thanks!
Html Sized Window
Hi
I need help with one thing.
I need probarly a javascript that makes when you klick on a html link a new html window appears with a swf file init. The html window should be non reziseable and be as big as the swf file so no scrolls needed.
This is probarly very simple and i hope you guys can help me.
MVH
Proohf
Loading Pixel Sized Mclip Into 100% Sized Swf: From Flash5 To Nowadays
hi everybody!
I hope you don't mind if these questions have been answered before... I just couldn't find the keys...
well... I have a "main" swf with no bitmap image in it, so I'd like to publish it at 100% of the browser window.
my problem is I do have bitmap images in my "intro" external swf I have to load. I wonder if there is any way I can force the loaded mclip to stick to its original "pixel" size, and I wonder if I can do that in a Flash5 swf...
as a second thought, I could first load the "intro" swf and then "call" my main swf in the same browser window.
but then I would still have some issue:
1) I'd like my "intro" to start preloading the "main" swf even during intro's playback
2) loading the "main" swf in the root of the "intro" swf I would have to shift from "real size" to 100% size in the same browser window... and it doesn't sound like an easy task.. to me at least
well, once I got (hopefully) the solution, I'd really like to see how following versions of Flash handle this kind of issue... I think that would be very "educational"...
any suggestion? thank you very much for your attention and help.
ciao!
Pop-up, Sized, Display HTML Windows?
Hi guys!
I have often wanted to use pop-up HTML windows for high res images in my Flash sites. For example, I create image thumbnails with a button in my Flash element, and when the button is clicked, an HTML window is created, without any buttons or navigation, that is exactly 300px wide by 400px high and containing a high res version of the image.
Do any of you gurus out there have the info to help me?
Any assistance is much appreciated!
Thanks,
Jeff~
Simple Pop Up Html Window - Sized HELP
Hi guys,
I've been looking through the posts but just can't solve this simple question - it's 2 years since I've been in Flash and my memory is dying!
I'm linking from a button in index.swf - opening mainpage.html in a new window.
I have the link all working, my question is that I want the page to open in a new window - I have done this using _blank; however I want the windows to appear as a fixed size, #over# the original window. A classic popup window if you will - NOT a new page in the browser.
So when you click the button in the browser, the new page appears as a popup window, smaller and hovering over the original.
Simple question - no doubt a simple answer - PLEASE HELP!
Loading Sized HTML Page From SWF
Hi all,
I'm creating a presentation in Flash that loads a lot of child swf files into the main swf. My question is this. Can I have a child swf load an html page in a new brwoser window that has a set height and width while that child swf is loaded in the main file?
The GetURL function would work, but I need the window to be a specific size.
Any help would be greatly appreciated!
Thanks!
Linking Flash Movies To An Iframe
I am designing a site that contains flash on the left-hand side of the screen with an iframe in the middle. I understand how to link a movie to a different section of the site... For instance I know this is the normal code to call up a page:
on(release){
getURL("http://www.phillybma.org/news.htm");
}
But I want it to go to the iframe in the center of the page instead of opening into the whole browser. HELP! The iframe's name is T1 if that helps.... I just need a script example if somebody can help.
Html Sized Pop-up Window From Flash Button
In my portfolio website, I would like thumbnails that when clicked go to an html pop up window for a larger view of the thumbnail. I'd like that html window sized without an address bar,bookmark bar, or navigation bar. All I want is my enlarged images contained within a sized box, centered on the screen.
HELP! What action do I put on the button? Do I put javascript in a geturl?
see www.thatartisticfriend.com to see what I mean. Click on Fao Schwarz thumbnail for example.
Thanks
Pam
Open Specific Sized Html Page
Is there a way to open an html page through a flash button that is a specific size?
For my links in html I use:
Code:
<a href="/project/videotest.htm" onClick="chw=window.open('/project/videotest.htm','NewWindow','resizable=no,scrollbars=yes,status=no,width=500,height=420'); if (chw != null) chw.focus(); return false">
Is there a way to use that coding on a flash button to open that page?
Thanks.
Link To A Sized Html Page From Flash
I have seen where a flash website will have a button to open up a sized or small html page, in a new browser, for a form or picture. Is there a special hyperlink script to do that?
Targeted Iframe Scrolling
I'm trying to control the scrolling of a target iframe ("iframe3") with two buttons from inside flash.
Would this be a javascript/fscommand deal?
Because I've been using a dhtml/javascript button scrolling setup..and I'd rather just have everything in the flash.
How Can I Create A Centered, And Sized Html Pop-up Window In Flash?
i'm pulling my hair out trying to make html pop-up windows in flash that are centered, custom sized, as well as not have the status bar, location bar, etc...
i've included a copy of the javascript i've been trying to use on my html page, as well as the link type that makes it work on an html page. if someone could show me how to make this script work in flash, or show me another way, i would be very grateful.
thanks!
****copy of javascript****
<script language="javascript" type="text/javascript">
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math .floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Mat h.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(scr een.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPositi on+',left='+LeftPosition+',scrollbars='+scroll+',l ocation=no,directories=no,status=no,menubar=no,too lbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>
****end of javascript****
****copy of link in regularly used in html****
<a href="null.html" onclick="NewWindow(this.href,'null','400','300','n o','center');return false" onfocus="this.blur()"></a>
****end of link code****
A Resolution Sniffer>direct To Sized Html File
OK, so I've come across this code, which in 2 dynamic text fields with the appropriate variable names shows the current browser size:
_root.onEnterFrame = function() {
swfHeight = Stage.height;
swfWidth = Stage.width;
};
I have a site for a client, all Flash, but in an html frameset (1 top, a left, right, and middle frames, i.e., at http://www.concourseclub.ca), and it's set to open in a new window at just under maximized 800x600 dimensions, done via an onLoad call in the html BODY, as such:
<body onload="javascript:window.open('http://members.rogers.com/shawn.gibson.photography2/rob/main.html','home','width=788,height=570,scrollbars =no,resizable=no,status=no,toolbar=no,menubar=no') ;window.history.back()";>
My client is quite unhappy with the fact that, at home and at his girlfriend's, he is contending with a resolution smaller than this (on 14 inch monitors...so something like 640x480 if that's correct?), and I'm quite unhappy because I prefer a res of 1024x768 or greater. In other words, my choice to set a happy medium of 800x600...is failing.
Could I turn the index file into a Flash movie which sniffs out the res, as in the actionsctipt above, then directs to an html page with the appropriate dimensions in the onload javascript call in the html?
For example, if someone's current x and y res numbers are under 640x480, it directs to a page just under those dimensions; if between 641x481 and 800x600, it directs to what I have now; and if 801x601 or greater, it directs to a page that will be just under a res of 1024x768? Of course, someone may be on a 1600x1200 display and have a very small window currently, but I'll take my chances for that (most people have their browser fairly large, or maximized, right)?
I'm guessing it will be something like:
1) get those swfHeight and swfWidth numbers;
2) do some sort of "if" call based on under 640x480, 641x480 to 799x599, 800x600 and above
3) direct to the appropriate html page from there, i.e., call to the appropriate html file in the same window, open the appropriately-sized new window for the main site
...but my actual scripting skills aren't very intuitive.
Could someone offer me a bit of guidance with this, pretty please
Thanks a bunch,
Shawn
Opening A Preset Sized HTML Window From Flash MX
[Not sure if this is the right section to post but hey]
Here's the prob, I want to open an HTML window from Flash MX that contains a picture and is of the same size as the picture with no scrollbars and address bar etc etc. I can do this from Dreamweaver but i havent a clue how to do it from Flash. Any ideas?
(It may help to bare in mind im no expert so can any explanations be kept quite simple!)
Thanks, look foward to a repy.
How To Open Custom Sized & Centred Html Windows
Within a flash movie I want a button which will open a new browser window. I want this window without chrome, centered on the screen and to have specific dimensions. Anyone knows how to? Greatly appreciated.
Opening A Fixxed Sized Html Window Through Flash...
yall, im desperate for this fix. I'm trying to open a new fixxed sized html window from a flash document embeded in an html window. real simple probably. If someone can throw me that A.S. I would be much appreciated! Good lookin' yall.
-A
Loading JPEG Images In HTML With The Correct Sized Window
I've searched through this forum without success, so I'd thought I'd ask. I have 8 images scrolling through a masked area so only 3 or 4 can be seen. If you click on an image it opens a _blank window with the image in it (Internet explorer).
My question is how do I control the size of this window. I can do it normally in Dreamweaver, but seem unable to do it in Flash MX.
Flash Text Scrolling Window Like IFrame?
I have seen a few of these on flash websites and I'm not sure how they are made, can anyone help?
I'm talking about a flash file with a text box. On the right hand side there is a scrolling bar that goes up and down. I basically want to create something that looks like an iFrame inside flash for my resume. My resume is too long to fit legibly inside my flash project and I want to be able to create a custom side rectangle and put my text or pictures and text inside.
I've tried drawing a text box with the text tool but that only lets you create the width and not the height; plus when you enter a lot of text it just goes off the screen and does not stay contained in an area you specify.
I'm using both Flash MX 2004 and Flash 8.
Can anyone help me please?
Thanks,
Jeff
Iframe Html Hyperlink
Hi everyone,
I'm having problems with a flash swf that i have created.
I want it to hyperlink to the html iframe that i have created.
What is the script that i use?
This is the script that i have used if it will be any help.
Code:
button.onPress = function(){
getURL("no_fix_no_fee.html", "conveneit");
}
Thanks for your help
tecmeister
HTML Iframe Embeded Within My Swf? Help?
ok, I want to be able to update a news section easily, so in turn I was wondering if their is a way to have an HTML document load above my swf...is this possible? Or can I embed a blank movieClip that calls on an outside document for its content? thanks in advance, sorry bout the confusing explaination.
Loading HTML Into An Iframe From Flash
Seems simple, but I cannot get it to work.
I'm trying to place an iframe in my homepage. The iframe is named "Art" and I believe I gave it a Title="Art" and ID="Art" as well. Then I've added a simple flash app, with one movieclip, and I added the following actionscript:
on (release) {
getURL("Loadthis.html","Art");
}
And it does not work. I'd expect it to open the HTML page "loadthis.html" into my iframe named "Art" It gives me an error instead. Hmmm, that's interesting...it seems to be partially working when I access the site from work.
Interesting, I wonder...does the getURL command not work correctly if you access it from the file system and NOT via an HTTP request?
At any rate, I'd love to see some example code of a flash app loading a new page into an iframe. It seems so simple, yet I wasted 3-4 hours last night trying to get it to work.
Link To Html Page In Iframe
Hi,
I am currently building a portfolio website....
I have a scrolling bar containing images embedded into my html page.
I want each image to be a link that loads a new html page within an iframe on the current html page.
i have no idea how to define a target within flash, for example in html on the links i use:-
Code:
<a href="mypage.html" target="maincontent">My Link</a>
where the iframe is defined as "maincontent":-
Code:
<iframe src="content1.html" frameborder="0" scrolling="0" id="maincontent" name="maincontent" hspace="0" vspace="0" height="343px;" width="363px;"></iframe>
i'm sure this has been done many times before - can anyone give me some pointers?
All help/ suggestions appreciated
thanks,
carly
Loading Into Html Page <iframe>
Hey all...I have an embedded swf in an html page...the swf contains a button where I want it to load another html page into an <iframe> window on the original page. I got it to work, the only problem is that when you click the button in the swf file...the page loads in the window, but it changes my title tag to a #...does anyone have any idea why?
Load Html Pages In Iframe With AS
this is my code:
I have a line drawn underneath non-active tabs. i don't know how to add code to load 4 pages in an iframe or different window. here is my code. any help would be appreciated:
contents.stop();
numberOfTabs = 4;
tabnum = "this._parent.tab";
currenttab = "tabnum";
for (i=1; i<=numberOfTabs; i++) {
line = eval("tab"+i);
line.onRelease = function() {
for (i=1; i<=numberOfTabs; i++) {
otherTabs = eval("this._parent.tab"+i);
otherTabs.bottomLine._visible = true;
}
this.bottomLine._visible = false;
//contentFrame = Number(this._name.substr(3, 1));
//this._parent.contents.gotoAndStop(contentFrame);
if("currenttab" == "this._parent.tab1"){
this.getURL("page1.htm","main");}
else if("currenttab" == "this._parent.tab2"){
this.getURL("page2.htm","main");}
else if("currenttab" == "this._parent.tab3"){
this.getURL("page3","main");}
else if("currenttab" == "this._parent.tab4"){
this.getURL("page4.htm","main");}
}
}
tab1.bottomLine._visible = false;
if you want to see the .fla i can send attatch it
A Flash To Iframe In HTML Question
I am pretty much a beginner when it comes to actionscript.
Can somebody tell me how I can make an html page load into an iframe in the same window outside the flash movie when I click a button inside the flash movie?
I looked at the actionscript dictionary etc. and found out that I can load the link into the frame/iframe outside the flash movie using the Get URL action but I don't know the expression/method to do it.
HTML+FLASH+IFRAME+ANCHOR
I´m struggling with a problem that I haven´t been able to get an answer to sofar.
Here comes.
I have created an html file containing a table for swf navigation and an IFrame.
Triggering the Flash navigation is suppose to open the IFramefile in the iframetable with the triggered anchor point on top (this because I do not want to reload the swf each time a new page is opened).
I can get the IFrame file open in own browser window right anchor point on top, but cannot get it open in the iframetable at all (not to mention the right anchor point on top).
Works well when swf is switched to a div with following arealink, but hasn´t got the same looks:
Link: filename.html#anchorname
Target: iframetablename
Here´s how it should work (use right navigation bar) http://www.tomasons.fi/viva/uudet07/test/ostamassa.html
Have been trying with numerous variations of
on (release) {
getURL("
Load HTML Page Using Iframe With AS2
I have created a website within flash CS3 using AS2 and believe that I can display a basic html webpage using an iframe. I know this may be a newbie question but could someone please guide me on how to do this. A simple step to step guide. I have attached the code within my html file. All i want to do is open up http://www.bookingcalendar.info/9380 inside my .swf file on a frame of its own. Would I do this using a dynamic text box? Any help would be really appreciated as this is for a project and I'm really struggling with time. Sorry for the long message.
Thanks in advance,
Kev
Attach Code
<IFRAME SRC="http://www.bookingcalendar.info/9380" TITLE="http://www.bookingcalendar.info" height="820" width="610" SCROLLING="no" frameborder="0" allowTransparency="true" STYLE="background-color:#F7F5F5"></IFRAME><br><a href="http://www.bookingcalendar.info" style="text-decoration:none;"><font size="1" color="#C0C0C0" face="arial">Free availability calendar</font></a>
Target HTML Iframe With FLASH?
Hey guys...
Im doing a site where the menu is in flash, and the rest of the site is in HTML.
I was wondering if it's possible to target an Iframe with Actionscript or flash?
Thanks
Flash Masking In A Html Iframe?
Hi guys,
I've posted this problem on other forums and haven't had much success so far.
http://www.djgchild.com/home.html
The above link shows a page i have created using a flash scroll feature. The page itself contains an iframe where the main content appears. The .swf file is where the scrolling images and buttons are.
The problem i am having is that "sometimes" when i click on a button, the iframe section shows a masking effect where the target page is displayed through an animated circle.
The actionscript i have used for opening the particular pages is as follows:
on (release) {
getURL("bookings.html", "mainiframe" ;
}
The iframe itself makes no reference to any flash, therefore it just display the relevant content, but it appears that a masking effect is applied.
Is there a reason for this to occur as I do'nt know why its happening or how to remove it.
Anyone know of a way to overcome this?
Loading A Html Page Into An Iframe
Hi,
I have an external txt file that contains the following link when a flash button is pressed:
url1=http://www.arteria-gaming.com/membership.html&target=main
The page loads fine, BUT.. it does not load into the iframe named "main". I need this to load it into the iframe.
is there something that i have missed out?
Cheers
Steve
Control HTML IFrame From Flash
Hi Guys,
I'm want to change a site's HTML-menu to flash-menu.
The index file of the site is made out of 3 objects (iframes in a table):
Top Banner, Menu , Main field.
The buttons, should load/switch the html files inside the "Main field".
If you could give me a general code for a button on the menu that
enables me to control the frame in the html page i'll be more than
gratefull.
Thanks,
Udi
Button Links To An IFrame On An HTML Page
I just created the navigation of a web-site in flash, and the content of that site is loaded into a iFrame I have in the html page... how can I on release in Flash load the correspoding content (*.html) in the iFrame?
Is it even possible?
thanks!
Control Html Iframe With Flash Buttons
so i have a flash header with buttons on top, and below it is my iframe for my contents in html. how can i control my pages, which are home, about, contact, with my flash swf header within the iframe? is there some awesome javascript i have to use? with some actionscript line? or some alternative? thanks...i read this thread, it only works for IE....
http://www.actionscript.org/forums/a...3/t-72976.html
and it has a bug. thanks!
Flash Buttons Used To Load .html Into <iframe>
Hello,
I am trying to get my flash buttons (which are in a banner created for my website) to load or open specific .html files into my <iframe> located in the lower portion of my website.
It was working the other day...and strangely enough..it appears to NOT be working now!
When I click the flash buttons...the page loads in a new window over my webpage and NOT in the <iframe> window as I requested
Here is the code I have for the buttons (obviously each button is to open a new .html)
on (release) {getURL('morphic.html','content');
}
*So i have named my <iframe> window 'content'
Shouldn't it be easy to load that specific html file into the window named content??
Am i doing something wrong?
Thanks in advance for any help!
Target Nested IFrame From Flash Using HTML
Evening Gents,
Got a good one here.
I have an HTML site. The site is laid out with a MainLayer as the core, with a MenuLayer and an iFrame(ContentiFrame) nested within it:
MainLayer
>MenuLayer
>iFrame
The Menu Layer contains a flash navigation menu. When a button is clicked, the iFrame should display the chosen HTML page. However, the HTML page is currently being displayed in a new window instead! I've previously had this working properly using
Code:
getURL("under_construction.html","ContentiFrame");
But since modifying the menu and layer layout (i.e. nesting them), I've broken it.
Is it a simple case of pointing to the correct iFrame within the HTML doc (using MainLayer/ContentiFrame or similar), or is it more sinister?
I assume the z-value of the layers has no effect on this?
Also, does the relative path of the flash movie to the HTML docs have a bearing too?
If this makes no sense whatsoever, head to http://www.domdriver.com to see how messy it looks!
Thanks for any help in advance.
Flash Scrollbar To Control HTML In IFrame
I would like to place a scrollbar in the HTML page that is in the iFrame. I also would like to remove or hide the original scrollbar from the iFrame (without using the scrolling="no" since this stops scrolling all together). Is any of this possible? Am I able to control HTML scroll with a Flash scrollbar? Will I need to use javascript?
I understand my way around both actionscript, html, CSS, and some javascript....if any of this is a possiblitiy could you at least point me in the right direction?
Would this be better if I built .PNGs and created Divs to build the scroll bar on the HTML page?
Thanks,
Jo
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.
Display A Html Page Within A Flash Site (like Iframe)
hello friends,
is it possible at all if i have a full flash web-site to display html content in some of the flash sections? Just like you would do with an iframe in html. Is there such a function for flash? To be more specific, I have a nice photo gallery that i would like to display in my flash movie.
if thats no possible what would the best alternative be? link to the external html page? create something in flash? ...
thanks for any help,
florian
Flash Buttons Makes A Html Page Load In A Iframe
Hi mates,
I've a problem. I think it's pretty strange since it should work.
I want to load a html page in a iframe when i click a flash button.
My code for the iframe:
HTML Code:
<iframe name="IFRAME" height="100%" width="100%" border="0" frameborder="0" title="IFRAME">Your browser does not support iframes. Sorry.</iframe>
So the name of the iframe is IFRAME.
The actionscript for my button:
Code:
on (release) {
getURL("news.html", "IFRAME");
}
Shouldn't that be alright? I've tried with _IFRAME too, but didn't work out. Instead of opening in the iframe, it opens in a new window.
My flash button is on the main page, not in a iframe and the iframe is on the mainpage too.
What's wrong?
Cheers,
Simon Henriksen
Flash Buttons Makes A Html Page Load In A Iframe
Hi mates,
I've a problem. I think it's pretty strange since it should work.
I want to load a html page in a iframe when i click a flash button.
My code for the iframe:
HTML Code:
<iframe name="IFRAME" height="100%" width="100%" border="0" frameborder="0" title="IFRAME">Your browser does not support iframes. Sorry.</iframe>
So the name of the iframe is IFRAME.
The actionscript for my button:
Code:
on (release) {
getURL("news.html", "IFRAME");
}
Shouldn't that be alright? I've tried with _IFRAME too, but didn't work out. Instead of opening in the iframe, it opens in a new window.
My flash button is on the main page, not in a iframe and the iframe is on the mainpage too.
What's wrong?
Cheers,
Simon Henriksen
Html Pagina Openen In IFrame Door Een Button In Een Flash Movieclip
Godemorgen
Op mijn site heb ik één iFrame met daarin een Flash menu, waarin de buttons in een Movieclip staan. Met het klikken op een van deze buttons wil ik dat de html pagina in een ander iFrame op de site gewijzigd kan worden.
de betreffende site is te vinden op http://www.dijkonline.dds.nl/mijnsite/
Ik hoop dat iemand in staat is mij hierbij te helpen.
Alvast bedankt,
Maarten van Dijk
|