Flash MX - Flash ONTOP Of HTML?
Hey there... I'm interested in having a flash movie play over html. You may have seen this on MSN.com with some flash ads they have? Any ideas? Java? Actionscript? I'm sure this will be a popular topic!
Thanks Brad
FlashKit > Flash Help > Flash ActionScript
Posted on: 05-26-2004, 10:41 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Html Message Ontop Flash Element
Hi,
I have a large flash header, the form error message (html, javascript) only has room to go ontop of this. Ive arranged the z index so the message should go ontop of the banner but its behind. Will the swf always be infront of a html element? Or can I alter this.
thanks
Flash Movie Ontop Of A Flash Background
As the title says im trying to get a flash movie to play ontop of a flash background. How iv been doing it so far is this.
<style type="text/css"><!--
#top {
position: absolute;
z-index: 0;
}
#bottom {
position: absolute;
z-index: 1;
}
--></style>
Then i use the <div> tag with the flash html part. Both of the flash movies have transparent backgrounds. the only difference in the two is one scales and the other does not. Now what happens is i cant see the second flash movie. The one that should be in the back.
Can someone help me with this or possible show me a better way to do it?
Thanks!
Buttons Ontop Of Flash Animation
I have a flash movie(generalPlayer) that in turn loads another flash movie(converted from powerpoint) and plays it. I have this generalPlayer loading in a java JDIC browser window. Since i cant make flash automatically grab keyboard focus after the movie is loaded into the browser(one has to click once on movie for movie to get keypress events). I have decided to attempt to put a button that sits on top of the playing slide show so the user can click it to get the window to close, should they decide to close it before the show is finished.
how can i accomplish this? i add a button to the stage, and it does show up. But as soon as the slideshow gets loaded and starts to play it then covers the button. How do i get this button on top of the slideshow?
-ChazZ
Opening Browser Ontop Of Flash Cdrom.
i made a cdrom that contains links to different pages on the web.
i want it so that when you click on a link the browser window opens on top of the cdrom interface. right now it works on some computers and not on others.
this is the code im using on my buttons:
on (release) {getURL("http://www.media.visitflorida.org/corporate/index.cfm?source=cd","_self");
}
help.
Flash Over Html, Hide Flash Access Html After Flash Movie Ends
We've got a green screened video playing in a flash movie over top of our html content.
when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).
this works and you can interact with the html content after the flash movie in all browsers except firefox...!
anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?
any input would be greatly appreciated!
New To Flash Newer To Html How Do I Test Flash-html Links?
im making a site but becuase of file size restrictions my flash has to be split up and put on html pages bit by bit, now i need my menu to link to html pages and so not frames in flash anymore. So far i realise that id need for example getURL "croject/project/news'_blank'"
however i want to test my html with the links on my PC as it is not server side yet i cant replace THIS
getURL"croject/project/news'_blank'"
WITH THIS
getURL"http://www.blahblahblah/news.htm" because it looks for a web page not there yet as it isnt actually uploaded or existing yet, so how do i test my flash-html link?
um that sounds complex, but is there a quick flash fix, which lets u put in say _something/news which allows it to work as C: drive and/or www. prefixes?
Be greatful for any help
Graphic Ontop Help
Ok, I am making a little menu swf for my site and it has sliding graphics in it.
There is three buttons and when you click a button a graphic slides out. It does this for each one but i need each one to be ontop. So when i press button 1 a graphic slides out, and when i press button 2 a graphic slides out ontop of the other which is good but while button 2's graphic is there when i press button 1 i cannot see it because it is behinde graphic button 2. How do i make it so when the graphic is slided out it is on top? Please help if you kind of understand.
*Transparent SWF Ontop Of Another?
can you place one SWF ontop of another?
EXPLAINATION:
i need to have my page be 100% liquid. and i need to have one SWF overlap another SWF. the one ontop, would be transparent, so you can see the bottom SWF. is this possible? what about with DIV tags???
thanks
matb007
When A MC Is Dropped Ontop Of Another...
(Following on from my timer escapade I have finished that part of the code but am now going to attempt to be more graphical in my design.)
What I am trying to achieve is on the left of the screen there will be "time chunks" which can be dragged over to another area on stage. For exmaple drag and drop a 10 minute "chunk" onto the panel and it adds 10 minutes to the timer. When the user is happy with the total time they can then click a button to start the count down.
But what I need to know is what code do i need to make an event happen when a movie clip is dropped onto another?
Loading A .swf Ontop Of A .swf....
A client of mine wants a freeflowing webpage.
In other words, completely flash where elements are able to freely roam the browser.
I know a certain way to do it is to load a background .swf and just let it fill the browser. However i'm having trouble identifying how to structure the architecture. Should i just build it all in one swf and load the other pages externally? And upload the .swf as the index page? or should i lowd a swf externally on TOP of the background swf. if that's even possible.
Basically i'm not sure how this could work. I'm open to any ideas.
Thanks a bunch.
Replacing Object Ontop Of Each Other
So, I'm wondering if its possible to have objects "climb" over each other. I'll try to explain what I'm wanting to do.
Object 'A' is on the bottom, object 'B' is ontop of it. Object 'C' is on top of both. These are all visible on the movie.When the user selects (from a global nav) 'A', the 'A' object moves up, first ontop of 'B', then ontop of 'C'. So it looks like the object(s) are stairs, and are climbing up and down at the same time.
So now the order would be, 'B' is on the bottom, next is 'C' and then 'A'.
Of course this would work at this point if I want to go to 'B' or 'C' or whatever.
I thought this would be a loadMovie command, externally, but I'm trying to do this in one swf file.
Any help would be greatly appreciated.
Can't Get Anything To Go Ontop Of Scrolling Menu....?
I've got a scrolling menu to scroll with a variation for the mouse (or mouse follow action) location, but I can't get anything else to be ontop of the scrolling menu without stopping the menu from working...I want the menu to be able to scroll behind some other symbols....how do I do it.?
Getting Movies To Play Ontop Each Other
I have three buttons placed on the main stage, all on the same layer. Each button has its own move that it plays. Each movie is placed on its own layer on the stage, because of this one of the movies will not play ontop of the other because it is layered below the other.
How do I get my movies to play ontop of each other?
Thanx for the help!
[F8] How To Stop This MC From Working When Another Mc Is Ontop Of It?
You can see the flash in question here
You can download the .fla here
When the magazine is open you can still click on the cup.. Ive tried the following AS to try and fix it but so far no luck.. If anyone can see where im going wrong please tell me!!
I have this AS on the root:
stop();
_root.magazineOpen =false;
I have a mask button over the magazine so when you click on it, it goes to the next frame inside the magazine movie clip till it hits a stop.
When the magazine is open I want to disable the water machine from working in the background.. The cup is still clickable..
Please can someone point me in the right direction!!?
Loading Php Docs Ontop Of A Swf.
I have created a site in flash with nothing but a series of animated pages. eg a blank page that is tweened onto the stage.
Is there any way i could load my php document which are set to a similar size ontop of my flash animations.
I thought it may be difficult to do with php so im thinking i may have to place the files in iframes within a html doc, if it can be done at all...
cheers
Duplicated Movieclip Ontop
whenever i duplicate this movie clip
the duplicated movie clip goes ontop of everything else
how do i duplicate it in a manner that prevents it from sitting
on top of everything else in my screen?
Movieclip Ontop Of Loaded Movieclips?
Need Help!!!
i have a extermal movieclip loaded into level 1 but i need a movieclip object on the main timeline to stay ontop of the loaded .swf
Is this possible???????
ive tryed this:
onClipEvent (load) {
this.swapDepths(1000);
}
but this just makes it ontop of everything in the main timeline not the loaded ones....
Please Help
Drawing Lines Ontop Of An Image
OK I have an empty MC. I want to draw lines that show on top of an image, but everything I try draws the lines below my image.
This code is ran from the main timeline.
This is my code so far.
Code:
_root.attachMovie("Audiogram_Chart","Show_Audiogram",100000); //this is my MC that will hold the graphics
_root.Show_Audiogram.attachMovie("Audiogram_Chart_Pic","Audiogram_Chart_Pic1",0); //this is a graphic with linkage
_root.Show_Audiogram._x=200;
_root.Show_Audiogram._y=200;
//RIGHT EAR
_root.Show_Audiogram.lineStyle(2, 0xFF0000, 100);
_root.Show_Audiogram.moveTo(0, 0);
_root.Show_Audiogram.lineTo(200, 150);
_root.Show_Audiogram.lineTo(100, 50);
//LEFT EAR
_root.Show_Audiogram.lineStyle(2, 0x0000FF, 100);
_root.Show_Audiogram.moveTo(0, 0);
_root.Show_Audiogram.lineTo(100, 50);
_root.Show_Audiogram.lineTo(40, 150);
Drawing Lines Ontop Of An Image
OK I have an empty MC. I want to draw lines that show on top of an image, but everything I try draws the lines below my image.
This code is ran from the main timeline.
This is my code so far.
Code:
_root.attachMovie("Audiogram_Chart","Show_Audiogram",100000); //this is my MC that will hold the graphics
_root.Show_Audiogram.attachMovie("Audiogram_Chart_Pic","Audiogram_Chart_Pic1",0); //this is a graphic with linkage
_root.Show_Audiogram._x=200;
_root.Show_Audiogram._y=200;
//RIGHT EAR
_root.Show_Audiogram.lineStyle(2, 0xFF0000, 100);
_root.Show_Audiogram.moveTo(0, 0);
_root.Show_Audiogram.lineTo(200, 150);
_root.Show_Audiogram.lineTo(100, 50);
//LEFT EAR
_root.Show_Audiogram.lineStyle(2, 0x0000FF, 100);
_root.Show_Audiogram.moveTo(0, 0);
_root.Show_Audiogram.lineTo(100, 50);
_root.Show_Audiogram.lineTo(40, 150);
Drawing Boxes Ontop Of A Background Layer
how the heck do I draw a box ontop of a background i stuck into a layer called background... THe box always goes behidn the background!! GRrrr
and how do I make links on my page!? I'm very new to flash
Drawing Boxes Ontop Of A Background Layer
how the heck do I draw a box ontop of a background i stuck into a layer called background... THe box always goes behidn the background!! GRrrr
and how do I make links on my page!? I'm very new to flash
Load External Movie, NOT Ontop Of Parent...
Hey all. I'd think this is a pretty easy question but I just don't know the answer. What code would one use to load an external swf but not on top of the original, just in place of? (hope that makes sense) Thanks!
[MX04] Loading A Moving Ontop Of Another Movie.
Hi
ImJust trying to be able go from one web page to the next using a screen wipe. This would be done easiest I thought by using movies for each page and then loading a new movie with the mask wipe in it, on top of the other movie, thus creating a loop going from one page to another always with a wipe.
Thanks in advance. Graham
[F8] Drag And Drop Ontop Of Another Draggable Item
Hello,
I am trying to build a simple drag-and-drop application where a user drags a character onto a background, and they begin to sing. This I have working, that's the easy part.
What I am struggling with, is that if one character is already singing, and the user grabs another head to place onto the background. What it should do, is move the already singing head back to where it was, and then have the new face start singing. I can't seem to get this to work. If the user drags a second head ontop of the already singing head, Flash will not allow the new head to drop, but stops the old one from playing.
I've included a FLA file which demos this without all my images (and sound), but just with simple shapes. It works OK if you drag a second shape onto the drop target, but if you place it right on top of the first shape, you'll see the problem.
Any thoughts?
Text Ontop Of Loaded Movie Clip
I am loading a movie from an external SWF file into my main movie via the loadmovie command.
The movie I am loading has an FLV imported onto its main timeline and then text on top of it. When I play this movie everything is fine. We will call this one "Movie 2".
When I play "Movie 2" from within "Movie 1" the text doesn't show up. If I trace the text to the screen it displays it. "trace(movieCl.text)" etc.
Has anyone had this problem? Does the above make any sense?
Deactivating Buttons When Another Movie Clip Is Ontop
Hi, I am creating a flash website and want my buttons to stop operating whilst the portfolio is open and is ontop of the other main buttons. I am just calling a function to add the portfolio as a movie clip ontop of the scene, at the moment you can click through it, using the buttons behind. I'm pretty sure I could sort this out using attachMovie/removeMovie for each button but this seems a very lengthy and time consuming method.
Any Ideas?
Thanks
Depth Control Problem? New Generated Movs Always Ontop
Hi guys great place you have here. I'm pretty new to the whole actionscript thing and I just finished a small six week course on flash. I know just enough to be dangerous and that's about it.
The thing is I was cruising your site and came across an actionscript coded starfield created by pixelwit in the movies section. I fell in love with the darn thing that i needed to use it in a small roject of mine. Problem is though the starfield seems to always be generated ontop of any other content I created even though the starfield mov and actionscript are on the lowest layers. I think it has to do with the movie's depth values created.
Quote:
var maxY = 10;
function star (){
this.Dot._xscale = this.Dot._yscale = 2;
this._rotation = Math.round(Math.random()*360);
this.scal = .5;
var r = Math.random()
this.scalFact = 1+r/10;
this.Dot._y = maxY-r*maxY;
}
star.prototype = new MovieClip;
sp = star.prototype;
sp.onEnterFrame = function(){
this.scal*=this.scalFact;
this.Dot._xscale = this.Dot._yscale+=this.scal/10;
this.Dot._y+=this.scal;
if(this.Dot._y>900){
this.removeMovieClip();
}
}
Object.registerClass("Star", star);
function makeStar(){
for(i=0; i<Math.random()*5+3; i++){
++starCount;
attachMovie("Star", "Star"+starCount, starCount, {_x:450, _y:300});
}
}
starGen = setInterval(makeStar, 300
);
I've tried contacting pixelwit all week through PMs and email, so now I'm posting it here to see if anyonew else could tell me what I need to do to fix it.
Thank you,
kev.
Flash MX - HTML Parsing Problem: Custom Extension File Won't Parse As HTML
I am using Flash MX.
The problem is, I have a movieclip in my main timeline. This movieclip has a main key and a refresh key, which updates the dynamic textfield's contents with a loaded variable named content. The variable content is stored within a file named readme.ifh. When I load the variable in the textfield, it shows me the source of the HTML, not the rendered version.
What's wrong (and yes, I do have the "Render as HTML" option checked)?
URGENT: Flash Navigation Embedded In Html That Link To Frameset Content In Html
Hi all,
I want to build a website that consists of a menu navigation (made in flash but embedded in a topframe in dreamweaver. On the left site, there would be some flash animations (images etc.)embedded in the leftframe and in the right/main frame, there would be either flash content or html content (depending on the content). The menu bar is made of 7 buttons; when you mouse over a button, you get a scrolling menu with different items, those buttons items have a rollover effect and when you click on one of this items it will load either a flash or html content in the right/mainframe of my dreamweaver site. My question is what is the best way to build this navigation bar so that when i click on one of this item, it will load the correct content in the right/main.frame.html. When this occurs, i want that the scrolling menu still displays while the content is loading so that when the visitor have seen the content, he just needs to click to another item to load the content (so no ectra step). Please help me with this as it urges.
Be clear in your responses as i am not a pro of actionscrit!
Many thanks, lineda
Getting Flash To Load HTML Pages Into Iframes In A Seperate HTML Page
Hi everybody
Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm currently running an animation within a webpage, and my client would like to be able to have some captions in HTML on the page that go with specific parts of the animation.
He wants the captions done in seperate HTML pages so that they can be changed into different languages at a later date.
I am loading these captions (HTML pages) into <iframes> on the page.
So far so good..... however...
I need to be able to get flash to load the HTML pages into the <iframes>, in certain points within the animation.
So... Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm guessing getURL is used somewhere, but I don't know the exact code.
Hope you can help!
Deadhands
Getting Flash To Load HTML Pages Into Iframes In A Seperate HTML Page
Hi everybody
Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm currently running an animation within a webpage, and my client would like to be able to have some captions in HTML on the page that go with specific parts of the animation.
He wants the captions done in seperate HTML pages so that they can be changed into different languages at a later date.
I am loading these captions (HTML pages) into <iframes> on the page.
So far so good..... however...
I need to be able to get flash to load the HTML pages into the <iframes>, in certain points within the animation.
So... Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm guessing getURL is used somewhere, but I don't know the exact code.
Hope you can help!
Deadhands
Passing HTML Form And Hidden Variables From Flash To Html Page
Hi,
I have a html/flash site now, http://www.zachariack.com.
i access email from my site itself by giving the userid and pwd text box which i copied from the actual website hosting my email access. i copied the entire
<form...></form> tag to my page and thus was able to put the name and pwd in my home page only and access the email in a separate window.
now i have redesigned my webpage using only flash. i would like to know how i can implement the same using flash. as i have not much experience using action scripting i am a bit stuck about how you pass the hidden form variables. the below is the the exact form syntax:
<form name="form1" action="http://www.accudatanet.com/mail/msglist.php" method=post>
<input type="hidden" name=sid value="E9697301F704A0CE947DEF42CF86636A">
<input type=text size=15 name=f_user value="">
<input type=hidden name=six value=0>
<input type=password size=15 name="f_pass">
<input type=submit name=submit value="Login >>" class="button">
</form>
how do i implement the above using action scripting. thanks.
regards,
vasant
Dynamic HTML Textbox Won't Display Flash Generated HTML?
I'll TRY to keep this simple... Keep in mind that the Hand Coded HTML works. It's the HTML that Flash writes that doesn't....
How I create the file:
------------------------
1st, I created a movie in Flash that has a HTML formated input box. So when I type things into that field, Flash automatically generates the HTML into the variable for the input box.
Next, I take that variable and display the HTML code in a dynamic text field. Then I copy and paste it into a text file, assign it a variable (myText=....), then I save it to my harddrive.
Got me so far?
The Problem
-------------------------
I have another movie that is just supposed to load the txt file and display the code in an Dynamic HTML text field. However... Flash can't seem to read the HTML that it creates? But it can read the HTML that I simplify and hand write. Does anyone know what I can do to use the Flash generated HTML?
Here is the code in the movie
----------------------------------------------
Code:
loadVarsText = new loadVars();
// load the text file
loadVarsText.load("scroller.txt");
// function which fires when the data is loaded:
loadVarsText.onLoad = function(success) {
if (success) {
// activate html
scroller.html = true;
// myText is var to put in the textfile
scroller.htmlText = this.myText;
} else {
trace("not loaded, try again!");
}
};
Below is what i'm loading into my movie. It's the HTML that Flash Generates from the input box, and below that is the HTML that I hand coded. HOWEVER I CAN'T GET THIS TO DISPLAY THE HTML CODE
FLASH CODE
-----------------------------
myText=<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* A hospital-acquired infection caused by methicillin-resistant Staphylococcus aureus or vancomycin-resistant Enterococcus can double the time a patient stays in the hospital</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* Infections in burn wounds account for 3 to 7of all infections in patients with burns, occurring most frequently in children, followed by the elderly</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* An analysis of post-surgical wound infections following head and neck surgery demonstrated an increase in the average hospitalization period from 14 days when wounds healed without complication, to 24 days when the wounds became infected.</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* In a survey of 96 English hospitals, surgical site infections led to an additional hospital stay of 6.5 days, and the hospital costs were doubled.</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* About 59of diabetic lower extremity amputations are proceeded by an infected foot ulcer; among people with diabetes (150 million globally), 15will experience a foot ulcer in their lifetime</FONT></P></TEXTFORMAT>
MY CODE
----------------------------------------------
myText=* A hospital-acquired infection caused by methicillin-resistant Staphylococcus aureus or vancomycin-resistant Enterococcus can double the time a patient stays in the hospital<br><br>* Infections in burn wounds account for 3 to 7% of all infections in patients with burns, occurring most frequently in children, followed by the elderly<br><br>* An analysis of post-surgical wound infections following head and neck surgery demonstrated an increase in the average hospitalization period from 14 days when wounds healed without complication, to 24 days when the wounds became infected.<br><br>* In a survey of 96 English hospitals, surgical site infections led to an additional hospital stay of 6.5 days, and the hospital costs were doubled.<br><br>* About 59% of diabetic lower extremity amputations are proceeded by an infected foot ulcer; among people with diabetes (150 million globally), 15% will experience a foot ulcer in their lifetime
Thanks in advance for any help you can give
Frequent-C
http://www.Freq-Fest.com
[Edited by Frequentc on 06-10-2002 at 05:06 PM]
Passing HTML Form And Hidden Variables From Html To Flash
Hi
I need some help passing a html code to flash code. Maybe you guys can set some light on the subject.
<html>
<script>
function Dimensiones()
{
document.getElementById("tamx").value= document.getElementsByTagName('body')[0].clientHeight;
document.getElementById("tamy").value= document.getElementsByTagName('body')[0].clientWidth;
}
</script>
<body ONLOAD="Dimensiones();" ONRESIZE="Dimensiones();">
<form method="Post"
action="http://Validation link.asp">
<input type ="hidden" name="tamx">
<input type ="hidden" name="tamy">
<input type ="hidden" name="url_return" value ="http://Link.asp">
<input type ="hidden" name="url_ot" value = "http://Validation link.asp">
Nombre <input type="text" name="UserName" value="" size="20">
Password <input type="password" name="UserPass" size="20">
<INPUT type="submit" value="Enviar">
</form>
</body>
</html>
I'm having a real hard time passing the function Dimensiones() and dealing with the hidden variables. Can you guys help me with this? Thanks
Full Screen Flash Over HTML - Access Underlying HTML?
Im pretty sure this is done with JS somehow - but does anyone have any insight? I have a full screen transparent movie that overlays the html content below. The problem is, none of the html below (links, rollovers, etc) are accessible. How can I fix this?
Thanks in advance.
M
Passing HTML Form And Hidden Variables From Html To Flash
Hi
I need some help passing a html code to flash code. Maybe you guys can set some light on the subject.
<html>
<script>
function Dimensiones()
{
document.getElementById("tamx").value= document.getElementsByTagName('body')[0].clientHeight;
document.getElementById("tamy").value= document.getElementsByTagName('body')[0].clientWidth;
}
</script>
<body ONLOAD="Dimensiones();" ONRESIZE="Dimensiones();">
<form method="Post"
action="http://Validation link.asp">
<input type ="hidden" name="tamx">
<input type ="hidden" name="tamy">
<input type ="hidden" name="url_return" value ="http://Link.asp">
<input type ="hidden" name="url_ot" value = "http://Validation link.asp">
Nombre <input type="text" name="UserName" value="" size="20">
Password <input type="password" name="UserPass" size="20">
<INPUT type="submit" value="Enviar">
</form>
</body>
</html>
I'm having a real hard time passing the function Dimensiones() and dealing with the hidden variables. Can you guys help me with this? Thanks
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.
[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?
Call Flash Function From Href Tag Within A Flash Html Text Field?
I'm creating dynamic html fields within Flash and have been succesful calling javascript functions or launching browsers, but what would REALLY be cool would to actually call Flash functions with those href tags.
Does that sound like a possibility to anybody?
Or, alternatley, could a javascript function in the web page execute a function within the swf?
Flash Buttons That Navigate To Html Files In Same Folder As Flash Movie?
I'm completely new to Flash and AS3.......
however, i've managed to build a simple "intro" flash movie that has buttons on it that need to navigate to non-flash, DWCS3 based site files.
when i go into the button in flash, if i select text in the button there is a spot in the properties panel that allows for a URL link...i enter the name of the html file but it doesn't work......but this URL property field is not available to the entire button....
so i started looking at AS because i'm pretty sure i need to use events and event listeners....BUT all of the tutorials only cover getting an external URL or linking to a frame within a flash movie......none of them cover linking to an existing HTML file in the same folder.......(ie., to access the meat of the website through the flash intro buttons....)
help?
the movie is at www.methods.com/msite07/site07_intro_more.html if you'd like to take a look....the animated buttons need the link functionality.......
Flash 8 Loading External HTML Pages Inside Flash Window
Hi
I was wondering if it is possible to load a google map into a window within my contact page that one can scroll about like you can in actual google maps. At the moment i just have a static picture that when you click on it it takes you to a seperate page. But i dont want to clog my site up with extra graphics if i can avoid it.
Many thanks
Greg
Flash Working In Flash Player, But Not When Inserted In A Html Page
Hello guys. I have a very strange problem.
I have created a dynamic banner, made up of two simple combo boxes, with 3 parts actionscript.
The ideea is, when first loading the banner, the first combo box receives a lists of artists and it populates itslef with them. After selecting an option, it will send the id and receive a second list of tracks that belong to the selected artist.
After you select a track, you will be redirected to the page where you can listen to it.
MY problem is that while testing it, it works just fine in flash player, but after publishing it, my computer gets frozen up, untill a popup message appears, saying that my computer will become unresponsive do to the script.
This happens when i've uploaded the swf on the server. On my local computer, it only started to work in HTMl after i've modified the settings and set it up as trusted script.
ANy ideea how i can make it work in the browser?
Thank you for your help and here is the code of the banner:
!st code goes int he first frame:
Code:
myData = new LoadVars();
myData.load("http://website.com/banner/banner.php");
myData.onLoad = function() {
total_var=this.variabile;
myComb_cb.addItem({label:["Select an artist"]});
for (var i:Number = 1; i<=total_var; i++) {
myComb_cb.addItem({label:this["variabila"+i] },{data:this["variabila"+i]});
}
};
2nd code goes in the first combo box:
Code:
on(change) {
_root.myComb2_cb.removeAll();
var reply_lv = new LoadVars();
var send_lv = new LoadVars();
send_lv.id = this.selectedIndex;
send_lv.sendAndLoad("http://website.com/banner/banner.php", reply_lv, "POST");
reply_lv.onLoad = function() {
total_var=this.variabile;
_root.myComb2_cb.addItem({label:["Select a track"]});
for (var i:Number = 1; i<=total_var; i++) {_root.myComb2_cb.addItem({label:this["variabila"+i] },{data:this["id"+i]} );
}
}
}
And thirs code goes in the second combo box
Code:
on(change) {
getURL("http://website.com/banner/banner.php?id_piesa="+this.selectedIndex, "_blank");
}
'Layering' Html/css Over A Flash File (flash Aplet As Background)
so i know VERY little about website design and html/css/flash blah blah - but i was wondering if anyone knew if it's possible to create a .swf flash file and use it as a background on a webpage - i.e. put links and text over it using html and such rather than creating them in flash. am i talking crazy?
Hybrid Flash.HTMl Site - Flash Reloads?
I have a website im working on, my first site using flash.
I have a header which is FLASHMX and the bottom part is HTML.
When you click on the flash it plays an animation, loads a picture, then uses "get url, self" to open a new html page.
My problem then is that the flash header reloads itself!!
How do i get around this??
Ive seen plenty of hybrid flash/html sites....dont tell me that they all use Frames??
There must be a way..
|