Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Opening Html In Frame From Flash



hi, just a beginner here.

having problems finding the correct coding that will allow me to open an html page in a frame in the same page as my head flash menu.

any ideas?

thanks in advance,
Mohnie



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 02-24-2004, 05:24 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Opening Html In Frame From Flash
hi, just a beginner here.

having problems finding the correct coding that will allow me to open an html page in a frame in the same page as my head flash menu.

any ideas?

thanks in advance,
Mohnie

Opening Another URL In HTML Frame Set Which A Button In Flash?
Hello,

>>I have a frame set: FramesSet.HTML

>>which has the frames: Right.HTML and Left.HTML

>> I have a Flash Movie located in the Right.HTML page.

>>In the flash movie I have a button which I want to use geturl and open a diff. url in Left.HTML.

How do I do this???? I know it can be done I am stuck!!!

Thanks

Opening A HTML File In A Specific Frame
Hi all,

I have a frame based HTML file in which my SWF is displayed in the left frame. My SWF file has a button that simply, when clicked, displays a HTML file in the "rbottom" frame. Following is the code I used:


Code:
var a:String;
function aboutmeClicked(evt:MouseEvent):void {
var targetURL:URLRequest = new URLRequest("resume.htm");
navigateToURL(targetURL, "rbottom");
}
aboutmeB.addEventListener(MouseEvent.CLICK,aboutmeClicked);
Unluckily, when the button is clicked at run-time, the "resume.htm" file is opened in a separate window rather than in the specified frame.

Any guideline is highly appreciated.

Opening Html In Flash
ok i kinda asked this b4 but i want sumthing diffenrt now.

i have some buttons in flash that i want to link to a page i wrote in html in a new window

im thinking

on (release) {
getURL("E:/directory/directory/yourImage.jpg","_blank");
}

but it wont work becuase of the directory.
i need it to be more easier. i mean in html i can just go for a pic
< img src="image.jpg" >

can i do sumthing like this to load the .htm?? without a directory as long as its in the folder becuase im wanting to write the .swf or whatever into a CD and i still want it to work and im not sure if the computer im using has access to the internet.......

i also need this to work for opening images straight. like html

[F8] Opening Html Pop Up With Flash
Hello, I am trying to open a pop up window from flash into an htm page.
When the button is clicked the page pops open, minimises and closes in a matter of a second. This code is supposed to work but hasn't for me:

on (release)
{
getURL ("JavaScript: openWin('pic_view.htm', '620', '500')");
}
here is the js for the htm opening:

<script language="JavaScript">
function openWin(url, w, h)
{
var winprop = "width=" + w + ",height=" + h;
openwin = window.open(url,'',winprop);
}
</script>

If i just target an htm page without setting browser variables it works fine.
Any help appreciated.

Opening Flash From Html Page
i am new to flash and have designed a site that is 700x350 and when viewer comes to my site it will be an html page that ask viewer if they want html site or flash site....what i want to do is if a viewer selects flashsite i want it to open in a widow that has nothing but a frame around it and is in center of window......how would i accomplish this? very anxious to get this finished so any help would be greatly appreciated.

Opening A Html File From Flash Exe
hi anyone,
I need to open a html file (without toolbars) with a button click from the flash exe file. If anyone got the answer pl forward...

Opening Html Page In Flash
Good Day, When you read my question you will see that I am a complete novice.
I have a drop down menu where I have three buttons. I currently have text descriptions that appear when you hit the respective buttons. I would also like to have a an html document ( actually a webcam with an IP address) open in the same flash document . Any help would be apprecitated

Opening Html From Flash Navigation
I've got an HTML page, that contains 2 things:
1. flash navigation
2. normal html stuff - image, text, scrollbars, etc.

I have 4 buttons in the flash nav... music, shows, contact, links (it's an artist site)
My question is, how do I 'program' the navigation to not reload everytime I open a new page?
For each of the 4 html pages, music, shows, contact, links... I have the same flash navigation in it, so if you're at the home page, and click on 'music', it goes to the music page, but it also reloads the .swf.
What I want is for it to load the new html page, but also have the .swf keep it's place...

Opening Html Window From Flash
Hi,

I want to open a fixed sized html window from a button within flash mx. Could someone advise me how to do this? I'd be most grateful.

Thanks
SA

Opening Html Pages With Flash...
i'm designing a site that has flash pages and html pages... all of the pages (even the flash pages) have a html sub nav below the flash content... i was wondering if there is any way to have a link inside a flash movie load an html page into the current browser window (not into the area of the swf)...

so that the links on the flash pages don't have to open a separate browser window...

like loading into _self (if _self meant the actual html page not the swf area)...

does that make sense? and if it does... can it be done?

Opening The Browser Window In Flash Without The Frame Gaps.
Hello,

I'm once again stumped on a very simple, but now complicated code for javascript:window.open. I'm trying to launch the browser with the flash object embedded, but without that annoying space between the flash movie and the browser. To make a more clearer picture, let's say the movie is in a window size of 650x550. The movie is published at this size, but when I call for java to open it at this size it either doesn't fix correctly or I have this little gap in the window. I've tried everything to solve this,but I can't seem to get rid of it. Any suggestions would be greatful.

old_newbie101

Opening HTML Pages From Flash With Actionscript
Hi,
I have a flash emailer, that needs to open an html page from the web, but because the flash movie is not in an html page we can't use the javascript to specify the window sizes of the HTML page.

How do we open an HTML and sepcify the window sizes etc. using actionscript?

Please help!

Opening A Window In Flash - No HTML - Newbie
HI,

I would like to open a pop-up window from Flash that displays a larger image than the one showed in my main flash timeline. My project only uses flash - the movie is not played in a browser. I am making a projector file out of my site.

Can someone help please?


Newbie here,

Luke

How To Split An Opening Web Page 1/2 Flash Other Html
I need some advice on designing an opening page. www.probemagazine.com
I want to re-create a page that I can show rotating photos on right side but keep the left available for regular changes.
thanks
bestmann

Flash Link Opening An Html Page
I need to open an html page from a button in a flash app. Also need code to download a pdf from a flash button. Thanks

Opening An HTML File From A CD Through Flash Player
So I'm working on putting together an informational DVD (for a school) that has its content built as HTML files that the user will view in their web browser.

The person who had built it before me has it set up so that an exe file (exported from Flash as a projector) is launched when the disc is inserted, opening an swf. The user is instructed to click a button in the swf that then opens the HTML file on the disc.

This works fine in OS X and Vista, but I'm having a problem in XP. For some reason, when you click the SWF to open the html file (which just uses a basic getURL command), it opens a web browser like it is going to open the HTML file, but it never opens the HTML file. It just opens the browser with a blank page. Any ideas?

Opening A Scene In Flash With An HTML Link?
Hello all. New to the forum, good morning and such.

I am having a small issue getting this to work.

I want to click a standard old link on an HTML page and have it open a swf and go directly to a certain scene (or in this case a certain point on the timeline).

Is this possible? I'm guessing its Javascript but I'm at a loss at how to do this.

Any help would be grand. Much appreciated!

Thanks!

Opening Flash Links Into HTML Frames
Hello Everyone.

I am trying to create a Flash menu for my site that opens into an HTML frame. I have checked online to try and see how to get it to work, but nothing is working.

I have my action script set to open the links into the frame titled "main", but whenever I test it out, they open in a new window.

on (release) {
getURL("home.html", window="main");
}

I've also tried it without the "window=" part, but still nothing.

Can anyone help me out? Thanks so much!

Opening A Html Page In A Flash Scrollbar?
Hi,
Is there any way to display a html page in a flash frame or scrollbar?
I'm converting my html site flash and want to display the files in my server within a frame or something.
Any suggestions?
thanks,



sbayter

HELP Opening HTML Links From A Flash Movie
Hi

I am using a dynamic text field rendered as HTML to make a list of links whitin a flash movie. I am using this code to generate the text with links:
ActionScript Code:
amigostext.htmlText = "<font color='#000000'><a href='http://www.ultrashock.com' target='blank'>ultrashock</a></font>";

The problem is that whenever I test the movie whitin flash it works just fine ( opens a new browser window and loads the site), but when I publish the movie ( embeded into HTML) and run it form a browser the link does not work!.... I mean it displays the hand cursor but when you click nothing happens!. What am I doing wrong???

I´ve also tried using getURL and the asfunction methods but I´m still getting the same results!!!

can Anyone PLEASE HELP ME????

Opening A Flash Browser From A Html Page
Can anyone help me please?

I'd like to make a popup that pops up when the user presses a link on a normal html website

thanx in advance

How Do I Connect Flash Menu (top Frame) To HTML Pages (bottom Frame)?
Hi,

I am new to flash/swish...

How do I connect the Flash menu system that I set up in Swish that will be embedded in the TOP frame to the standard HTML pages to be selected in the BOTTOM frame?

FYI: I am using Frontpage 2000 to create the frames and standard HTML pages

I can create the HTML page containing the Swish/Flash menu- no problem there. I just don't see the connection between the two. WHat's glueing them together. Is this accomplished with hyperlinks within FrontPage OR is this done from the Swish side and then seen by FrontPage after it is embedded?

Thanks to all who reply.

All the best.

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.

Opening Html File Inside A Flash Window?
How can I open an html file INSIDE a small window WITHIN a flash document.

My site is 100% flash, and within it, i want to open another website inside a small window in the middle of my flash site.

TO BE CLEAR: i don't want to separate my flash site from the html site i'm trying to open, I don't want to split the site into a top and a bottom... just trying to use a box in the middle of my Flash site to display some html content from the web.

Any ideas???? I'm stumped!

Thanks in advance for any ideas you may have!

-------------------
|.....--------........|
|.....|........|.........|
|.....|.html.|.Flash.|
|.....--------........|
-------------------

Opening A HTML Page From A Flash Site (_self)
i have a navigation setup in flash. When i click the flash i want it in the same window, replacing all the flash with HTML, similar to the "_self" target in HTML. Anyone know how to do that?

This is what i currently have.


Quote:




home_btn.addEventListener(MouseEvent.CLICK, toHome);
function toHome(event:MouseEvent) {
var request:URLRequest = new URLRequest("home.html");
navigateToURL(request);
}

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

Opening Flash Presentation From Html Home Page Problem
Hello,
My flash presentation is finished. I designed a simple home page to check the users plugin and open the flash presentation. I added a behavior to a button to open the presentation (Dreamweaver): Link, window size, window name.

When I test the home page in Netscape, the new window opens fine. The presentation plays. When I test the link in IE 5.0 the presentation opens, the window contains scroll bars which give about 20 pixels vertically and horizontally. AND a third window opens with the home page at the same size as the flash presentation.

Questions:
Does anyone have any idea why the third window opens?
Should I create the link to my flash file directly or to an html page with the embedded flash file? It sould be noted that I am trying very hard to have the window open at a specific size.

Hope to hear from you,

cv

HTML Code In Flash To Load An HTML Page In A Frame
Hello.

I have an existing website built in html, with three frames. One on the top for the banner, one on the left for navigation, and a larger window to the right of the navigation for the main content. I want to replace the content in my navgation frame with a flash built navgation menu, and when my menu items are selected, it will load a new page in the content frame.

I currently have this working fine in html. I can make my buttons link to a URL no problem in flash, but how do I tell it to load the content into the other frame? I haven't started this process yet, and figured I'd ask first to get any ideas.

Thanks.

Opening A NEW Html Page From Flash In Opera - Simple GetURL Question
Hi!

I would like to solve the simplest problem I've ever met in Flahs, but I cannot succeed. It works in IE but not in Opera. However, I would like my webpage to work under Opera too.

I would like to open a new html page in my browser from Flash. So not embed an html page, nor use Javascript connenction or something - just make a hyperlink, as I would do in html (a href).

I write:

getURL("http://www.unideb.hu","_blank");

The IE works normally, opens the website of University of Debrecen in a new page.
While the Opera makes the following:

- opens a new window
- try to open a new webpage, but not the one I specified in the first parameter of the getURL method ("http://www.unideb.hu") - it adds the webserver name (the root directory, or what) as a prefix, and tries to open the address: "weboldalteszt.atw.hu///www.unideb.hu".
- meanwhile it shuts down the original page's Flash content, so I "lose" the original Flash page as well...

If you want, you can check it:

weboldalteszt.atw.hu
after the preloader click: "Magyar"
from the menus, choose "Linkek"
and click on the first blue "e" letter, in the first row

Normally, you should see the page: http://www.unideb.hu, as it works under IE.

Can anybody help to solve this very-very simple task - I hope I will be able to put a hyperlink on my Flash page under Opera - that shouldn't be so difficult :-)

Thanks in advance,

Alex

Opening New Html Window Without Toolbars And Scroll Bar From Html Link
Hello - is there a way to open a new html page( that will have my flash embedded) from my main html page that does not have the toolbars and scroll bar? I am trying for a clean look that will be supported by most if not all browsers.

Need .swf In One HTML Frame To Tell .swf In A Differnt HTML Frame To Play The Movie
UPDATED:


Need .swf in one HTML frame to tell .swf in a differnt HTML frame to play the movie

How would I do this?

Would I be able to put this in AS code in flash? or something like this?



Button1.....
On (release)
geturl: http://www.jfhs.tk target="fraMain"
javascript:fraTop.document.MovieTOP.GotoFrame(02);

Opening SWF On Certain Frame
I am wanting to open a SWF file on a the 50th frame of my movie. but i have tried using the loadMovie("path","holder") solely and that will not work. i need something that will launch the SWF on the frame i need it to be played in the holder. I have been able to get it to work using the on(release) but i am not sure the correct actionscripting to get it to open on a certain frame. any help is appreciated.

Opening Url In Different Frame
This is my first post here, so I hope this doesn't sound dumb.I have a flash movie for a nav bar in a top frame of a web page,
I'd like to have the links in it open in the lower frame while the top frame dosen't change.I've tried almost every way in the object actions pane but the links still opens a new window
Thanks

Opening Flash Movie In Html Window Exact Dimensions Of Movie?
Is there an extension or particular method to get this to happen perfectly.

I have been opening browser windows and setting the dimensions manually in behaviours to the same as the movie dimensions, but its never right. Its often bigger.

there must be a way to do this so that its the same as the flash movie size pretty much cross-browser - its ok...i hold no hope for Netscape

Thanks in advance,

Cesca

PS) Also, what happpens or whats the disadvantage of having a link open up the .swf (as opposed to it embedded in an html file)......sorry if the answer is clear and obvious...its just that on my local network it works so nicely

Flash To Html Frame?
I saw a website where a person had a menu made in flash and embedded in HTML. When you click on one of the buttons which was a link to some content, it showed up in a different part of the page but in html format not within the flash itself, i think its a frame but i'm not sure.

How would i do that?

what i mean is at this site:

http://www.carbon4.com

the menu buttons are flash, but the content shows up in the html part in the bottom right. Any ideas?

HTML In FLASH (Frame)
HELP HELP HELP!!!

I made a movie in Swish and part in Flash MX, its more a layout, now I have a menu and a banner in one file (800x600), now I want to use some kind of i-frame to open my HTML files in to, I dont want to make all my files in flash.

Is it possible to make/use somekind of HTML I-FRAME in a flash movie??? Please help.

Thnx

Flash And HTML Frame
I use a frameset in my web page and I have looking eyes that follow the mouse cursor. The problem is that the eyes stop follow the mouse cursor when I leave the frame that contain the eyes.
Is that possible to have my eyes still follow the mouse cursor when the mouse cursor is in the HTML frame?

Html Frame In Flash
Hey all,

Basically I'm trying to do something much further beyond the knowledge I have now. (best way to learn right?) Anyways, I was wondering if you can set up something in flash where a MC would act like a frame on an html page that could load in other html content. I tried using the getURL command on an MC but it just loaded the url in the browser which I was figuring it would do. Any ideas? Let me know.

Frozley

HTML Frame In Flash?
can anyone help me?
I would like to add a html frame to one of my flash pages.
It dosn't matter if this is an iframe or a regular html frame...

Html Frame In Flash
I want to know what the easyest way of dynamicly loading a php page into my flash movie is. I have a link that attaches a movie to the main timeline then in the attached movie i need to load the php page. I also need to be able to send variables from the flash to the php page. At the moment the as for the button is

ActionScript Code:
on (release) {
    _root.txtBox.gotoAndPlay(1);
    _root.txtBox.txtHolder.attachMovie("picDisplay", "picDisplay", 1);
    _root.txtBox.txtHolder.picDisplay.title = "Other";
    _root.txtBox.txtHolder.picDisplay.open = "other";
    _root.txtBox.txtHolder.picDisplay.picHolder.loadMovie('picpage.php', post);   }
open is the variable that needs to be sent to the php page
right now this will attacth the movie clip fine but will not load the php page, any help would be great thanks

XML To Flash To HTML Frame?
Ok, here's my problem/challenge

I'm developing a site that uses a Flash menu for navigation.
The Flash menu gets all it's content from an XML file.
But now I want Flash to use the XML content, and set up a page in the frame with links.

Why do I want this??

Basically my client wants a page that they can update themselves, so if you have 1 XML editor, 1 smart Flash application that can parse XML, and 1 MS Word template to export HTML content for the Frame, then they can keep the website updated themselves!

HTML Frame In Flash
Hi there!

Is it possible to display an HTML file inside a swf? For instance, can I tell a movie clip to display in it's area a HTML file?

Thanks in advance.

Popup Not Opening From Frame In IE6
I'm having a problem opening a pop-up window from an HTML site within a frame, but only in IE6. I have a 2 framed window. One frame opens a site (eg, www.site1.com) that contains a flash interaction with a button that opens a pop-up window. I'm using the following getURL statement:
on (release){
getURL ("javascript:window.open('http://www.whatever.com','newwindow','width=640,height=48 0,top=0,left=0, scrollbars=1,resizable=1'); void(0);");
}

and the button opens a pop-up window when the site is viewed from outside the framework. However, when the site is viewed from within the frame nothing happens when I click on the button.

This is specific to IE6 - it works in Netscape 6 and 7, so I'm guessing its a problem to do with DOM. Any ideas how to resolve this?

Thanks
-Kim

Opening Frame Problem
HI, I have a html page made in dreamweaver with a series of 6 flash buttons, when these buttons are pressed they open my swf file in a frame. Is it possible for the swf file to be opened at differant frame locations? for example button 1 will open the swf in frame one, button 2 will open the swf in frame 2, button 3 will open the swf in frame 3 ect ect ect?

regards

Kev

[CS3] Question About Opening A New Frame
how do you make it so when you click on a link, it opens what you want displayed in a new frame?

Getting Off I-frame After Opening New Page
Hi guys, I have a problem with an i frame. I have an html page with a flash intro file embedded into it that is being loaded as an iframe on another page. The problem is that my actionscript on my last frame on the flash has a link to the "home page". But when the link executes it loads the home page but still within the iframe. So all my pages from the website load as i frames instead of loading the actual pages on the browser. Is there any way to load the home page off the i -frame? I wouldn't want to open a new blank page but just to open up the page in the same browser but not on that i frame I ahve. Anyone have any ideas??? Thanks in advance!!

danny

GetURL Not Opening In Right Frame
Hi Guys, I have read previous posts regarding the subject but they all seem to come to a dead end. Due to "security" reasons flash player does not open Urls LOCALLY using the GetUrl instruction in no other frame than "_blank". I am trying to show a customer a site which hasn't yet been uploaded online and I get a bunch of new browser windows every time I click on a button. Have tried the AllowScriptAccess="always" (doesn't work), have tried renaming the mainFrame to another name (doesn´t work) and running out of ideas here.
Has anyone encountered a similar situation? How did you solve it? Thanks in advance..

Opening A Window W/ Only Frame
Hi,

Is there a way to open a new window (to display an image) that doesn't have the menu, address bar, or anything other than the frame? I just want to show an image and have the window be the full image size.

Thanks!
Jay

Copyright © 2005-08 www.BigResource.com, All rights reserved