Open Frame In Html By Clicking Flash Button
hi buddies,
actually i need to detect which button have been clicked 1st in flash form by using javascript. i have 4 html page:
1. form.html - which include a flash form with 2 buttons n some input field. 2. a.html - will appear at the right frame of main.html when btn1 been clicked. 3. b.html - will appear at the right frame of main.html when btn2 been clicked. 4. main.html
From the form.html(single page), i need to detect which button have been clicked first. Let said, if i clicked btn1first, a.html will appear on the right frame of main.html, n form.html will straight away be insert into the left frame of main.html, same thing happen if i clicked btn2 first. However if i clicked 2nd btn fist, b.html will appear at the right frame of main.html, n then when i click btn1after that, a.html will appear at the bottom right frame of main.html, so the right side of main.html will become 2 row of frames, therefore, main.html will have 3 frames after both buttons been clicked.
Is it possible to do so? n how do to work it out? BTW, the input data must not be change when the form.html become 1 part of main.html.
anyone can help on this?
Thanks.... ^_^
gracequeen
FlashKit > Flash Help > Flash General Help
Posted on: 05-09-2004, 11:32 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Open Frame In Html By Clicking Flash Button
hi buddies,
actually i need to detect which button have been clicked 1st in flash form by using javascript. i have 4 html page:
1. form.html - which include a flash form with 2 buttons n some input field.
2. a.html - will appear at the right frame of main.html when btn1 been clicked.
3. b.html - will appear at the right frame of main.html when btn2 been clicked.
4. main.html
From the form.html(single page), i need to detect which button have been clicked first. Let said, if i clicked btn1first, a.html will appear on the right frame of main.html, n form.html will straight away be insert into the left frame of main.html, same thing happen if i clicked btn2 first. However if i clicked 2nd btn fist, b.html will appear at the right frame of main.html, n then when i click btn1after that, a.html will appear at the bottom right frame of main.html, so the right side of main.html will become 2 row of frames, therefore, main.html will have 3 frames after both buttons been clicked.
Is it possible to do so? n how do to work it out? BTW, the input data must not be change when the form.html become 1 part of main.html.
anyone can help on this?
Thanks.... ^_^
gracequeen
Open Frame In Html By Clicking Flash Button
hi buddies,
actually i need to detect which button have been clicked 1st in flash form by using javascript. i have 4 html page:
1. form.html - which include a flash form with 2 buttons n some input field.
2. a.html - will appear at the right frame of main.html when btn1 been clicked.
3. b.html - will appear at the right frame of main.html when btn2 been clicked.
4. main.html
From the form.html(single page), i need to detect which button have been clicked first. Let said, if i clicked btn1first, a.html will appear on the right frame of main.html, n form.html will straight away be insert into the left frame of main.html, same thing happen if i clicked btn2 first. However if i clicked 2nd btn fist, b.html will appear at the right frame of main.html, n then when i click btn1after that, a.html will appear at the bottom right frame of main.html, so the right side of main.html will become 2 row of frames, therefore, main.html will have 3 frames after both buttons been clicked.
Is it possible to do so? n how do to work it out? BTW, the input data must not be change when the form.html become 1 part of main.html.
anyone can help on this?
Thanks.... ^_^
gracequeen
Open Frame In Html By Clicking Flash Button
hi buddies,
actually i need to detect which button have been clicked 1st in flash form by using javascript. i have 4 html page:
1. form.html - which include a flash form with 2 buttons n some input field.
2. a.html - will appear at the right frame of main.html when btn1 been clicked.
3. b.html - will appear at the right frame of main.html when btn2 been clicked.
4. main.html
From the form.html(single page), i need to detect which button have been clicked first. Let said, if i clicked btn1first, a.html will appear on the right frame of main.html, n form.html will straight away be insert into the left frame of main.html, same thing happen if i clicked btn2 first. However if i clicked 2nd btn fist, b.html will appear at the right frame of main.html, n then when i click btn1after that, a.html will appear at the bottom right frame of main.html, so the right side of main.html will become 2 row of frames, therefore, main.html will have 3 frames after both buttons been clicked.
Is it possible to do so? n how do to work it out? BTW, the input data must not be change when the form.html become 1 part of main.html.
anyone can help on this?
Thanks....
gracequeen
Open A New Link In Html By Clicking Button In Flash
Hi,
I'm facing problem while opening a new html window by clicking button created in flash.
For this i don't want to write single code in flash but want to handle this through the html only.
For this I have used <embed> tag to add swf file in html. but could not add click code in HTML on that button.
Could any one help me out?
Open A New Link In Html By Clicking Button In Flash
Hi,
I'm facing problem while opening a new html window by clicking button created in flash.
For this i don't want to write single code in flash but want to handle this through the html only.
For this I have used <embed> tag to add swf file in html. but could not add click code in HTML on that button.
Could any one help me out?
Open Full-size HTML Page Bly Clicking Flash Button.
Hi,
For example:
1--I have a movie playing in my browser with a button on stage.
("A.html" + "A.swf")
2--When i click this button a new browser window must open "FULL SCREEN". ("B.html" + "B.swf" in it.)
3--This browser window ("B.html") must always stay on top of all window's (Like "A.html" and all other window's.)
4--In the full-screen window ("B.html"):
Movie ("B.swf") has two buttons on stage:
--The first button loads a new movie ("C.swf") in the full-screen page. ("B.html")
--The second button opens a pop-up window. ("pop_up.html")
5--The pop-up window ("pop_up.html") must always stay on top of the full-screen window. ("B.html")
If someone can help me with this i would be very grateful.
I cant find out myself.
Vincent,
[MX04] Open A New Link In Html By Clicking Button In Flash (no Code In Flash).
Hi,
I'm facing problem while opening a new html window by clicking button created in flash.
For this i don't want to write single code in flash but want to handle this through the html only.
For this I have used <embed> tag to add swf file in html. but could not add click code in HTML on that button.
Could any one help me out?
Flash Button To Open Html In Frame
Hi. I am trying to make flash based navigation for a website. I wanted to use frames to put my navigation alongside of my content, and use the buttons to load new html content into the main frame. My button refuses to open content in the frame - always opening it in a new window.
This is the code for the button i'm using:
btn.addEventListener(MouseEvent.CLICK,callTheFrame);
function callTheFrame(event:MouseEvent):void
{
var request:URLRequest=new URLRequest("top.htm");
navigateToURL(request,"mainF");
}
I'm using dreamweaver CS3 to generate the html for the frames (also tried using and Iframe - no luck). If there is some 100% noob tutorial for buliding flash navigation - or an easier way of going about this - please let me know!
Thanks all.
Open New Window By Clicking On A Button
I wanted to open a fixed-size window with a button click. I have everything in place... but for some reason when I edit my button all actions are disabled. Is it true for all buttons ...or do I have to create a new object (ex. movie clip)?
Thanks
Clicking A Button To Open A .txt File
Alright...
So I want to Press a Button... Then a .txt OR .bat file will appear. I dont care wich one, you choose .txt or .bat. Dont get it? Here is what I mean.
Ok, here is the Button.
And when I press the button, this will appear.
Or of course, a .bat file. So please help?
Open Independent Html Page In Flash Frame
Hi,
Is it possible to open an html page in a flash movie?
More specifically, I am using geturl ('http://path/to/script', '_self', 'post');
don't think that is exact syntax cause I'm not looking at the script but it's about right.
Anyway that script is processing some variables, but the bad thing is that it's doing it in a completely different page. So the user has a hard time getting back to the movie after the processing is done. I'm trying to figure out a way for this to happen but the user not leave the movie and one way I thought of was to have the page show up on like frame 50 or something. then I could put a back button in. So in a nutshell, is it possible to open up yahoo.com (for example) in a flash frame?
tia,
dan
Button Flash To Open In A Bottom Frame. Lil' Help
I have a Top frame (header) and the contents to load in the frame on bottom, the Flash button opens in a new window the content, or sometimes in all the parent page, how to make it the flash button GET the URL in the frame on bottom ? Thanks again..
http://www.cpv2.com/fr.jpg
Flash Button To Open Html File
OK basically ive designed a little flash movie with a OPEN button......but i want to link the button to my Main.html file instead of a URL.........which makes it much easier for me to edit and update my website......currently i only know how to get it to open www.musicalorange.co.uk/Main.htm but i want it to open C:MusicalOrangePageMain.html
id appreciate any help thanks ill buy you all a pint... merry christmas
How Do I Open An Html Page With A Flash Button?
I'm building a website with a flash navigation. I want to know how to use the buttons on my flash movie to open a web page. I am using the geturl
method something like buttonname.onPress{geturl(webpage, frame, "")}
please excuse the syntax, I'm new to this. Anyway I am not getting a response from the button, also the site uses frames. the flash movie is in the top frame and the buttons should open the requested pages in the main or bottom frame. Any help would be appreciated. Thanks.
Alias Text Blurs After Clicking On Button To Go To Next Frame
i'm getting really frustrated--have spend waaaay too much time on this. The task at hand: animate a poem. SO. The font must readable as justified text, it then must animate to reveal a second poem inside the text block.
the problem: the first keyframe is crystal clear. The second keyframe, which is the EXACT same image (and arrived at via a button) is BLURRED.
My verdana 10 alias text is positioned on whole numbers on the x/y coord, so this isn't the issue. I am completely baffled as to why this text image mysteriously blurrs after the button goto action on the next keyframe.
Please HELP. I'm poor and I need this job!
p.s. since each letter animates in this poem, I've made each letter of the alphabet a symbol and then realigned them over a text guide layer! Am i just stupid or was there an easier way to do this?
New Html Page Loading Upon Clicking A Button?
so, let's say i wanted a new page to load upon clicking a button symbol. how would i go about that?(for example, if we were in "index.html" of my site and i wanted the page "home.html" to load when you click the button.) the new page could either be in a new window or in the same window...just curious. for this i assume we would definitely need actionscript...
Open Html With Specific Size With Flash Button
Hi everyone!
well I need some help here...I have this flash presentation which ends up with 6 buttons. These buttons when clicked I want that they display an html document.
Up to there I am fine, the problem is here...I want that this html page may have a specific size, no scrolls, no bars apart from the title bar, not resizable.
I put this script on the flash button in this flash presentation:
on (release) {
getURL("javascript:window.open('wake.html','','hei ght=711,width=953,toolbar=no,scrollbars=no')");
}
and then in the html document where I put the flash file I insert in the head this tag:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
open.window(theURL,winName,features);
}
//-->
</script>
What happens is that when clicking flash button 2 html pages open (one with the things I specified, and another one in blank)
What is wrong?? Which script should I use??
thank you all!!
zanda
AS2, Flash 9 Button To Open Html Full Screen
I urgently need to find javascript that opens an html page full screen from a flash button. I have used code before that opens when published as Flash 5 and 7 but cannot get CS/9 to work.
Thanks
Open Html File With Specific Size With Flash Button
Hi everyone!
well I need some help here...I have this flash presentation which ends up with 6 buttons. These buttons when clicked I want that they display an html document.
Up to there I am fine, the problem is here...I want that this html page may have a specific size, no scrolls, no bars apart from the title bar, not resizable.
TAKE A LOOK OF WHAT HAPPENS!! CLICK BELOW!
when you get at the end, click WAKE (IS THE ONLY THING DONE BY NOW)
www.radicalsurfex.com/paginas/intro.html
I put this script on the flash button in this flash presentation:
on (release) {
getURL("javascript:window.open('wake.html','','hei ght=711,width=953,toolbar=no,scrollbars=no')");
}
and then in the html document where I put the flash file I insert in the head this tag:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
open.window(theURL,winName,features);
}
//-->
</script>
What happens is that when clicking flash button 2 html pages open (one with the things I specified, and another one in blank)
What is wrong?? Which script should I use??
thank you all!!
zanda
How Do I Make A Flash Button Open A URL (.html File) In Same Window?
I’ve created a button in Flash CS3 which has been imported into Dreamweaver CS3. The button works fine in preview (with Internet Explorer) but opens in a new window. How do I get it to open in the same window, on the same page?
The code that has been written to the button’s action-script 3.0 (in a separate layer) in Flash is:
button.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("videos.html"));
}
When I add the code , “_self” to the action-script, nothing happens when I preview it in Explorer, why? What am I doing wrong?
The code now looks like this:
button.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("videos.html"), “_self”);
}
How Do I Make A Flash Button Open A URL (.html File) In Same Window?
I’ve created a button in Flash CS3 which has been imported into Dreamweaver CS3. The button works fine in preview (with Internet Explorer) but opens in a new window. How do I get it to open in the same window, on the same page?
The code that has been written to the button’s action-script 3.0 (in a separate layer) in Flash is:
button.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("videos.html"));
}
When I add the code , “_self” to the action-script, nothing happens when I preview it in Explorer, why? What am I doing wrong?
The code now looks like this:
button.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("videos.html"), “_self”);
}
Having Trouble Whit Clicking My Text Button In A Html Window
i can only select my text button,but not click it,
whit enaible simple button it do's work in flash,but not in a flash player of html previeuw.how come?
Normally dint had any problem whit this,i wonder why i cant right now.
can somebody help me?
Still Unable To Open An URL In Another Html Frame.
It always open it in a new window.
I have a frameset, the top frame name is 1
the main frame name is 2
i have a Flash movie in the top frame.
A button in the flash movie should call an URL into the main frame
I did so:
on (release) {
getURL("theurliwanttoload.htm", "2");
}
It always open it in a new window.
Open Swf On Certain Frame Using HTML Link
Hi,
I have an HTML page which I want to link to a flash movie. Within the HTML page there are 5 buttons, I want these 5 buttons to point to the same flash movie but to different points throughout the timeline of the movie.
Can anyone tell me how to do this? is there a simple way of pointing to frame labels through the URL of the link?
Thanks,
How To Open A HTML File Into A Specific Frame
Hi all,
I have a frame-set based html. My flash has buttons on the left frame and I want the code that enables me to let the browser open an HTML file into the "mainFrame" when the button is pressed.
I tried the following but it didn't work. When the button is pressed on the browser, nothing happens:
ActionScript Code:
var a:String;
function aboutmeClicked(evt:MouseEvent):void {
var targetURL:URLRequest = new URLRequest("home_pp.htm");
navigateToURL(targetURL, "mainFrame");
}
aboutmeB.addEventListener(MouseEvent.CLICK,aboutmeClicked);
Here is the code of the frame based HTML file:
HTML Code:
<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*" frameborder="NO" border="0" framespacing="0">
<frameset cols="115,475*" frameborder="NO" border="0" framespacing="0">
<frame name="leftFrame" scrolling="no" noresize src="lbar_pp.htm" marginwidth="0" marginheight="0" bordercolor="#FFFFFF">
<frameset rows="40,519*" frameborder="NO" border="0" framespacing="0">
<frameset frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="topFrame" noresize scrolling="NO" marginwidth="0" marginheight="0" bordercolor="#FFFFFF" src="../tbar_pp.htm">
</frameset>
<frameset frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="mainFrame" src="home_pp.htm">
</frameset>
</frameset>
</frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF">
I apologize; this site was designed to be viewed using browsers supporting frames
only.
</body></noframes>
</html>
How To Open A HTML File Into A Specific Frame
Hi all,
I have a frame-set based html. My flash has buttons on the left frame and I want the code that enables me to let the browser open an HTML file into the "mainFrame" when the button is pressed.
I tried the following but it didn't work. When the button is pressed on the browser, nothing happens:
Actionscript Code:
var a:String;
function aboutmeClicked(evt:MouseEvent):void {
var targetURL:URLRequest = new URLRequest("home_pp.htm");
navigateToURL(targetURL, "mainFrame");
}
aboutmeB.addEventListener(MouseEvent.CLICK,aboutmeClicked);
Here is the code of the frame based HTML file:
HTML4Strict Code:
<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*" frameborder="NO" border="0" framespacing="0">
<frameset cols="115,475*" frameborder="NO" border="0" framespacing="0">
<frame name="leftFrame" scrolling="no" noresize src="lbar_pp.htm"
marginwidth="0" marginheight="0" bordercolor="#FFFFFF">
<frameset rows="40,519*" frameborder="NO" border="0" framespacing="0">
<frameset frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="topFrame" noresize scrolling="NO" marginwidth="0"
marginheight="0" bordercolor="#FFFFFF" src="../tbar_pp.htm">
</frameset>
<frameset frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="mainFrame" src="home_pp.htm">
</frameset>
</frameset>
</frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF">
I apologize; this site was designed to be viewed using browsers supporting frames
only.
</body>
</noframes>
</html>
How To Open Flash Pop Up In Html Using Flash Button
Hello Everyone,
I just purchased a flash template and i am having the html versions of the same. I am replacing the text in the html but i don't want to loose the look and feel of the template so i want to make sure that it will open the same flash pop up which was there and coded in the original fla.
So can anyone tell me how to call that flash pop up using that flash button. Please resolve the query urgently.
Regards,
Shishir
Flash Button & Html Frame
I created a button in flash with link that loads a pages into a html frame.
Everything works fine locally.
However, whenever i upload it to the server, it does not work. it loads the html page with the another flash menu into the frame.
this is the action i used for the menu, and i believe it's right..
on (release) {
getURL("download.htm", "ohaibody");
}
Can Please help me ~~~~~
it's urgent!!!!
Open Blank Window & HTML Frame Sets
I am trying to open a new window with the following code:
on(press) {
getURL("http://www.anothersite.com",_blank);
}
(My main flash movie is being called with in an HTML frameset...)
But when i click the link to open the new window, it opens in the frame, not in a new window...
what am i doing wrong?
This is elementary stuff, I know...i appologize
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
Flash > Linking Button To A .html In Frame
is this possible?
say i have 2 frames,
frame1 = flash file (.swf)
frame2 = homepage.html
and in flash, i make a button that opens up bla.html in frame2?
if so what is the code to link a flash button to a frame, html page?
thanks
Loading HTML In Second Frame From Flash Button
Hi All,
im sorry to bother you, and this could be something else.. but i have a problem, i cannot seem to work it out at all. i have been on at this for over 3 weeks, and still no solution.
I am completing a website for a client.
http://www.candfa.com
as you will see the page consists of two frames, _top and _main.
in the top frame is a flash banner, and in the bottom frame php coding.
Now.. the site works fine. for me, and for many other visitors who have visited the site, and we have no problems, however.
When my client, visits the site. and clicks on one of the flash buttons, the page that should open in the bottom window, actually opens in the whole page. So the frames disapear..
Now the funny thing is that
when he clicks on the link to the site through MSN, it works fine.. but if he types in the url it doesnt, and it generates the above error..
Of course, if the site is not working, then i dont get paid. and this really has me stumped. I have tried moving servers. recoding the flash, and allsorts but still he gets the error.. The funny thing is. It is not only him..
His friend gets exactly the same problem.
Any ideas will be greatly appreciated..
Cheers
Flash > Linking Button To A .html In Frame
is this possible?
say i have 2 frames,
frame1 = flash file (.swf)
frame2 = homepage.html
and in flash, i make a button that opens up bla.html in frame2?
if so what is the code to link a flash button to a frame, html page?
thanks
Print One Frame From Html Frameset Via Flash Button?
Hi All
Not sure if this is possible.
I have an html frameset, lets call them 'nav', 'main' and 'bottom' to make it simple.
I have a print button in 'nav' but I want to print the frame 'main'.
Can it be done??
Thanks
L
How To Make Flash Button Load Html In Seperate Frame.
Hello everyone,
I was wondering if anyone knows how you can make a flash button load and html page into a seperate frame.
example: Flash navigation bar resides in a top frame in html.
the html pages load below in the main frame. Clicking the flash button loads the html page in the bottom frame.
if anyone knows how to do this I would greatly appriciate it.
Patrick
Dream FX Media
www.dreamfxmedia.com
The Ultimate Challenge Flash Button Needs To Target New Html And Specific Swf Frame
please see http://stellarDJservices.the317life.com
If you click on rates, it brings you to a split frame html set. the new menu up top currently just sends the user back to the index.html that embeds the flash file stellar3.swf which all the other links are part of.
How can each button of my rates menu target the correct html then target the correct frame (which have frame labels main, pics, services, & contact in quotes) of that swf? Making sure it all happens in the "_parent" frame of html. Been searching the forums and still need help. Shouldn't be too difficult right?
THANKS!
Button Link Open In A Frame
I'm trying to open a link using action
This is what I'm using,
on (release) {
getURL ("about.html", "_self");
}
but everytime I click on it it open in a new window, I want it to open on a frame called main_area??
Any help would be appreciated.
Lamuz
Button Script To Open Documents Outside Of Swf In A Frame
Let me give you the summary of what I'm doing or trying to do: I made a navigation panel with several buttons in Flash, I put the Flash swf object in a frame within the website I want these buttons to be used for. I want to use the buttons I made in this navigation panel to open pages in an other frame within the document. Is there a way to give a target frame along with a URL? Thanks in advance.
-Tim
|