Inserting Flash Movie In HTML Document
This seems simple enough, but I am having the darned-est time with making a Flash movie appear when I insert it into my HTML document.
The movie contains 3 simple buttons. I have saved it as a .swf file, published it, and exported it as a movie (though I'm still fuzzy on why I have to save, publish, and export - what's the difference?!)
In DreamWeaver I then insert the movie as a Flash file, but it doesn't appear when I view the doc in my browser. I have made sure that I saved the Flash file in my root folder and that I'm inserting the .swf version, but I've had no luck.
From the description I've given can anyone tell me what I need to do differently? If you need more info, please let me know.
Thanks very much in advance.
By the way, I've also tried breaking the movie up into separate elements - the gradient background (a sidebar), plus 3 buttons that link to URLs. No luck with this either.
FlashKit > Flash Help > Flash Newbies
Posted on: 11-19-2001, 11:43 AM
View Complete Forum Thread with Replies
Sponsored Links:
Inserting A HTML File Within A Flash Movie
I have made a small website and I have put the navigation along the top. Now, what I want to do is have a "box" of some sort in the main area that I can link to a .html file. Is this possible?
It would be the same idea as using a scrollpane with a swf - but with a html file
Thanks in advance
View Replies !
View Related
Commands From A Flash Movie To A DW Html Document
I'm using ajax to load a flash movie when a button is pressed. the movie loads ok and all, but I need to have a button within the flash movie to be able to close both the animation and the layer.
http://amedeldesign.com/interiores2/
I took the idea from those animations that sometimes appear in yahoo, where you click on a corner for example, and a flash animation that cover part of the page appears on top of the other content.
I don't know if what I'm doing is as practical code-wise either.
So also, if anyones has suggestions to do it in a better way, please let me. The least I ask is how to send a command fromt he flash movie that affects the html document.
Thanks!!! Here's what I have so far, Please note thtat the layer witht he aniomation closes with another html on top of the flash movie, that's not how I want it...
http://amedeldesign.com/interiores2/
View Replies !
View Related
How To Load An Html Or Text Document Over A Flash Movie
Hello,
I am trying to load the text from either a standard *.txt file or the data from a *.html file on to level 1 or 2 of a movie. I have already got an action on level one:
startDrag ("/crsInvi", true, 0, 100, 800, 355);
So I tried at first using :
unloadMovieNum (2);
loadVariablesNum ("test.html", 2);
When this failed to do anything except stop the action on level one working, I tried:
unloadMovieNum (1);
loadVariablesNum ("test.html", 1);
again, nothing! Can anyone please tell me how I can load up an html file over this movie, the background is black, and so the text must be white or beige.
Any help woyuld be most appreciated...
Yours Sincerely
joe
View Replies !
View Related
Inserting An Image Into An XML Document?
You all were so helpful the last time around (thanks so much!) that I thought you'd be able to help with this.
I want to add an image inside the text on the first page of my site, http://www.1uskc.com. I've tried using standard html in Dreamweaver to no avail. Is there a way to put the image on the html page rather than the flash page?
Here's the css:
function loadPage1(page:String){
var pageLoader1 = new XML();
pageLoader1.ignoreWhite = true;
pageLoader1.onLoad = function(){
_root.home_mc.content_mc.window1_txt.htmlText = this;
}
pageLoader1.load(page);
}
var windowCSS:TextField.StyleSheet = new TextField.StyleSheet();
function setCSS(cssStyle:String){
with(windowCSS){
setStyle("headline", {
color: '#333333',
fontFamily: 'Arial, Helvetica, sans-serif',
fontSize: '20',
fontWeight: 'bold',
marginLeft: '4',
display: 'block'
});
setStyle("headlineemphasis", {
color: '#8F1D03',
fontWeight: 'normal',
fontStyle:'italic',
display: 'inline'
});
setStyle("subheadline", {
color: '#062E56',
fontFamily: 'Georgia',
fontSize: '15',
fontWeight: 'bold',
marginLeft: '6',
display: 'block'
});
setStyle("author", {
color: '#8F1D03',
fontFamily: 'Arial, Helvetica, sans-serif',
fontSize: '12',
fontWeight: 'normal',
fontStyle:'italic',
marginLeft: '8',
display: 'block'
});
setStyle("mainbody", {
color: '#666666',
fontFamily: 'Georgia',
fontSize: '12',
fontWeight: 'normal',
marginLeft: '4',
marginRight: '6',
display: 'block'
});
setStyle("bodybold", {
fontWeight: 'bold',
display: 'inline'
});
setStyle("bodyitalics", {
fontStyle: 'italic',
display: 'inline'
});
setStyle("a:link", {
color: '#00389E'
});
setStyle("a:hover", {
textDecoration: 'underline'
});
}
_root.home_mc.content_mc.window1_txt.styleSheet = windowCSS;
}
setCSS("internal");
loadPage1("karate.html");
stop();
----------------------------------------
Here's the xml file:
<?xml version="1.0" encoding="iso-8859-1"?><html>
<body><subheadline>~CONGRATS: </subheadline><mainbody>Stephen and
William both successfully tested for their red and brown belts
respectively. Way to go!</mainbody><br>
<subheadline>~NEW STUFF: </subheadline><mainbody>We've updated the videos page with a new look! Once the "buffering video" message has
gone away and the image appears on the screen, click the vid you want
to see. Give it a few seconds to load and enjoy! We'll be adding more
videos in the future.</mainbody><br>
etc, etc, etc ....
Thanks again
View Replies !
View Related
Preload Swf Movie In Another Html Document
I want a swf file to be loaded before you enter the html page where it is. Is that possible!?!:
I have this html page called intro.html with this swf movie called intro.swf. This intro.swf files says welcome to the webpage meanwhile another swf.-movie should be loaded.
The other swf movie is called main.swf and is placed on a html document called main.html.
So when the main.swf movie is loaded it should be able to enter this main.html page - but not before that.
Hope you can help me. I really need this.
Mads
View Replies !
View Related
Inserting Flash HTML
When trying to insert fireworks html into dreamweaver, I am getting an error as shown below.
At line of 429 file "C:MacromediaDreamweaver MXSharedMMScriptsinsertFireworksHTML.js":TypeE rror: menufn.match(searchpatt) has no properties
any ideas would be helpful.
cheers
SmileyUK
View Replies !
View Related
Inserting Flash To Html On The Web
How do I take a sidebar I've made in flash and add it to an internet where you have to load it to their server (freewebs.com) and the use it from there. We have the main page and everything, but I just don't know how to use the code to find the flash movie. The one time I had anything, it worked for a bit, then after trying to add it, it just had a white box where the movie would be and the web page never loaded. Thanks.
View Replies !
View Related
Inserting Flash In Html
I've designed a website in flash, and I want to integrate it in html to be published. It works fne in my computer and another one i have, but a friend of mine sees the movie centered in the screen half the size it was supposed to be, and with the background colour all around it (the animation should occupy the whole screen vertical and horizantly). He uses ie on a 1024x768, and I've tested it under those conditions in my computer and it works.
Lots of people seem to have problems with this, and after reading loads of posts none of them seemed to work. the html code being used is:
PHP Code:
<style type="text/css">
<!--
body {
background-color: #999999;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0" bottommargin="0" topmargin="0">
<div id="Site" style="position:absolute; width:100%; height:100%; z-index:1; left:0; top:0; overflow: hidden; background-color: #999999; layer-background-color: #999999; border: 1px none #999999;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="100%" align="top">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="indera.swf">
<param name="bgcolor" value="#999999">
<param name="loop" value="false">
<param name="QUALITY" value="high">
<param name="SCALE" value="exactfit">
<embed src="indera.swf" align="top" width="100%" height="100%" loop="false" scale="exactfit" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed>
</object>
</div>
</body>
</html>
[/code]
Does anyone have any idea how to stretch the animation to fit the viewer's screen properly?
View Replies !
View Related
Inserting A Flash Into My Html Template
Im ready to toss the monitor out the window here.
This is my problem. I am building a flash intro. In my html, there is a table with 3 rows and 3 columns. In the middle, row 2 column 2, sits the flash animation. The image or flash animation area is supposed to be 300x300. So I make my flash animation movie size 300x300. When I publish the damn thing and bring it in, and view it in the browser, the flash animation is down by a pixel! Always down one pixel. I've tried to move the background down to match it, then the animation is up a pixel! Im going crazy here...why is the animation always off by a pixel????
Some for the love of god help me please!
Thanks.
View Replies !
View Related
Inserting Html Info Into Flash
How do I get this html info into my flash site so that my customers can connect with my shopping cart?? Please help!
<table> <tr> <td>
<center> <FORM ACTION="http://www....login.tam?" METHOD = POST>
<b>View Previews Online</b><br>
<INPUT TYPE="text" NAME="usrpasswd" size="18" VALUE=""><br>
<INPUT TYPE="submit" VALUE="Login"></center> </form>
</td> </tr> </table>
View Replies !
View Related
Flash Nav Inserting Html Links Into Div -example-
I have made a flash navigation bar and I want it to link to the pages on the same page:
.................................................. ........................................
.................... http://www.cbsanswer.com/framecomeon.htm ......
Of course I understand frames are outdated. I have read through CCS and read about SSI, but I cannot find how to open content into a Div. You can see what my objective is when you visit the website above.
Two problems:
1.) What is the codeing for linking a flash button to a corresponding div or frame? (I tried programing the MANUFACTURING link to open in the _Parent frame and than tried the name of the frame "mainFrame".)
2.) Can I make sure that the entire navigation is viewable? I had to put this stupid scroll bar in.
I appreciate any advice as I have already checked out every book on the subject and spent two days searching the internet.
*Dan
View Replies !
View Related
Inserting HTML In A Flash Site. Plz HLP
I whant to know how to insert a Html page into flash mx ?
Like the tutorial in kirupa where you learn how to load a .TXT format text file into flash mx. But I whant to load a Html - htm format file. How can I do that. Also load it into a Dynamic text feild or something like the tutorial.
Note :- I have searched the Forum, but I did not find what I need to know.
Please tell me how to do this.
Kajinku uses it in his website.
Thank you very much for your help.
View Replies !
View Related
Inserting Flash Video Into HTML
Hi Everyone! I'm new here and am hoping someone out there might be able to help. I'm building my own website (never done it before, so all the jargon is new to me) and have purchased a ready made Flash video to use on my opening page. Unfortunately I simply cannot figure out how to get it there. I've got as far as seeing a video type box similar to the ones you'd see on YouTube but that's not how the file looks when I view it in its html format. I'm using one of Serif's DIY packages. Am not sure if this doesn't support it???? Can anyone give me some advice please????
View Replies !
View Related
Problem Inserting Flash Into Html Page
Hi,
I have a 120X90 flash design that i am trying to ad to a table on one
of my frames. i created the ad using swish and i added the link to the flash .SWF file in the img src part of the table.
but it won't play the flash i just get that red X
http://www.scubadivernet.com/delta/index.html
its the two smal boxes on the lower right side.
thanks
View Replies !
View Related
Inserting A Flash Audio App Into A HTML Only Page?
Hey folks, I have a site that is strickly HTML and nothing more. No flash at all. I want to add one of those (for lack of better term) little audio icons that will turn on/off music.
now I know how to do this in flash but...... when it comes to combining it with a HTML page I'm lost.
I have no frames set up on my pages either. but I wan't when someone goes to the index.html page I wan't the music to start playing (with the icon to turn on/off) but when someone goes to a different page of my site I want the song to keep playing.
So can someone give me some info on how to do this?
BTW Dreamweaver MX 2004/Flash MX 2004
View Replies !
View Related
Inserting HTML Into A Flash Component With Amfphp
Hello, I was wondering, is it possible to insert html code into a flash component, like a text area? I have an example at http://andydaykin.com/flash where I want to insert html code like:
<ul>
<li><a href="whatever.com">something</a></li>
</ul>
into the text area at the bottom, how would I put html into there?
I am using amfphp, and I am returning a string of text that has html in it.
View Replies !
View Related
Inserting Flash Video Into HTML Page
Hello,
This is probably a silly question, but how can you take a video you have encoded into flash and insert it into an HTML page? I tested the video with the "test movie" in flash and there it was, video and controls and all. How do you now take this to the HTML page to place it where you want on there?
Thanks again!
Rob
View Replies !
View Related
What's The Script To Load A HTML Document Into A Text Box Within A Movie Clip
I got a mc clip called channel1 with a text box called with instance name "text" (as opposed to variable name) in it. I can load plain text with no problem
Code:
onClipEvent(load){
***loadVariables("my_text.txt", text);
}
How do I rewrite it, and also properly write the text file, so that I can use an HTML file that will retain it hyperlinks and bold formatting.
I have somthing similar to this in Flash 5 with
Code:
loadVariablesNum("mytext.txt", 0)
but I was just changing the html file in the same dynamic text box everytime. Here's proof
Maybe I am thinking along the wrong path?
View Replies !
View Related
New To Flash - Inserting A Navigation Onto A Html Hidden Layer
Apologies if I use the wrong terminology - I'm used to html/css coding, and haven't ventured into Flash yet, but a client has requested a very specific navigation system and I think Flash is the only way to achieve it.
It's a fairly straightforward html/css site and the client wants to have a semi-transparent navigation overlay on the page (hidden layer) accessible by clicking on the company logo. The overlay will be an image of a globe with text links at different angles - hence the need for Flash rather than html. The text should have mouseover behaviours and link to other pages within the site.
So, since I'm a solid gold newbie, is there a step-by-step tutorial on achieving this? I think that it's a relatively straightforward process, just one that I don't know!
Thanks for your patience.
View Replies !
View Related
HTML-document In Flash?
ActionScript Code:
ask = question();question = function () { if (possibleToDisplay.HTMLDocument.inFlash == true) { if (method != textBox.htmlText) { trace("Yipeee! How, then?"); mood = "Happy!"; } else if (method == textBox.htmlText) { trace("Why is it not possible? That sucks! Shame on you, Macromedia!"); mood = "Angry!"; } } return mood;};
(sorry for the formulation )
Edit: Yes, I was quite bored when I wrote this...
View Replies !
View Related
HTML In A Flash Document?
is it possible to use HTML in a FLA document? for example my whole website is flash but i want to add some html items like a counter and other stuff that are in HTML only. So is it possible to add them to my flash document? if so could someone explain or send me somewhere i would appreciate it. Thanks in advance
View Replies !
View Related
HTML-document In Flash?
ActionScript Code:
ask = question();question = function () { if (possibleToDisplay.HTMLDocument.inFlash == true) { if (method != textBox.htmlText) { trace("Yipeee! How, then?"); mood = "Happy!"; } else if (method == textBox.htmlText) { trace("Why is it not possible? That sucks! Shame on you, Macromedia!"); mood = "Angry!"; } } return mood;};
(sorry for the formulation )
Edit: Yes, I was quite bored when I wrote this...
View Replies !
View Related
Loading HTML Into A Flash Document... Please Help
thanks in advance for help.
heres my situation. i have a flash movie with a banner at the top, a navbar on the left side, and a blank "main" area with nothing in it. my question is, can i load an html file into that blank space? i cant use the loadMovie action to do it; it wont work. and i cant figure out if i can use the getURL action some way... can anyone tell me how?
View Replies !
View Related
Flash Pop Outs Over An HTML Document
I am currently working on a menu for my website. The menu is going to be done in flash but the rest of the site will be in html. When people roll over certain items on the menu, I want that item to expand over the html to show more options and then collapse on roll off. Can anyone tell me how to do this?
Thanks in advance
Kenny
View Replies !
View Related
Is It Possible To Have A Multilayered Html Flash Document?
Hi. i am creating a site, and was wondering if it is possible to have a multilayered html document using flash elements. so in the final html document you would have several swf's. i need it to be inside the html because i want the main swf to stay centered and i want the other swfs to align with the top and bottom corners, so when you drag the browser window larger and smaller the main swf is always in the middle, and the other swfs are round the corners of the browser.
cheers
View Replies !
View Related
Linking An Html Document To Flash MX On A CD
Here is the problem. I am creating a CD-ROM that is done in flash MX. Three of the buttons link to seperate html documents. The CD will contain all files and will be an auto run CD. This is the problem I have the html files in there own folders on the CD and have the script on the buttons in Flash as such
getURL "../renier1/launch.htm","_blank");
should it be...
getURL "../renier1/launch.htm","_self");
When I take it out of the folders and leave it on the root of the CD it functions fine but the html document is an audio powerpoint presentation so as you can imagine there are alot of files that would need to be brought out and onto the surface of the CD. Plus the people who created the html files labeled the three seperate html documents by the same name. If I can add a character to each and put all the documents on the root I think that will work but I wanted to stay away from that.
Hope that all makes sense.
Thanks
cs
View Replies !
View Related
Loading A Html Document Into Flash
Hello again it you favorate victim. I have been given a project and it involves multiple people.
The breakdown
I am making a website using flash and my boss has another company who's manageing a job list. pretty soon she will have a link to that database and that link will display the web interface for the job listing, kinda like using a iframe on an webpage.
The prob
I know it is imposible to display an entire webpage in flash but can I create a single page with just the html tags that would have loaded this second page and then render that list of html code in flash?
Any help will be greatly appreciated.
View Replies !
View Related
Include Outside HTML Page In Flash Document
How can I include an external html document in a flash document? I want it to be sort of like a window to a certain file where that file can interact as a normal webpage with other html files inside of a flash document. Let me know if I make no sense, it happens often!
Thanks
View Replies !
View Related
Communication Betwen Flash And Html Document
I have two frames 1.screen and 2.menu.
menu has the flash menu which contains buttons for which i want to use certain java script from other frame screen.
so what does action look like if i want to activate java script function in another (screen) frame.
ie. i have zoom in and zoom out function in screen frame.
menu buttons must activate one of those functions in other frame.
thank you
View Replies !
View Related
Navigating From Flash Movit To Html Document
OK..now I am just in my second semester using flash so I am rather new to it. I have done well so far but the Instructor threw us a curve with an assignment where we have to create a flash movie and link it to the first html document of what is supposed to me a website without uploading. The flash html version is ready and I have the fla and swf saved saved as well as the published version of the movie.
We are to use just HTML code which I have no problem with. The navigation part from the movie to the document I want to navigate to is the problem. My question is how can I accomplish this under all the aforementioned circumstances.
View Replies !
View Related
Communication Between Two Flash Movies On A Html Document.
Hello everyone!
My little question of the day:
I want to put two movies on a html document. In the first one I want to put a button that makes the second movie do something.
How can I do this?
I read a couple of things about the fs command and I believe this would be the way to go. But my problem is that I work on a mac and I read that it doesn´t work on this platform.
So... is there a solution? Because my web site is getting very "pretty" but I need this to work to finish it.
Thanks a lot for your help!
Agur.
View Replies !
View Related
Displaying Flash Document In HTML Page
I have created a Flash document and am going about displaying it in a HTML page.
I have displayed a background by referencing a .jpg file in the body background tag, and have then used the align tag to center the contents of the page - leaving me with the Flash document centered in the browser, on top of the background.
I would be grateful if someone could explain how I go about adding the following two features:
1. I would like the Flash document to be placed at the very top of the browser window, with no gap or top margin. The current Flash movie is NOT placed inside a table or anything else, and is embedded after the align center tag.
2. I would like to know how to create an effect I've seen on numerous sites (http://www.logoyes.com/index2.html) where a drop shadow or something similar is placed either side of the the embedded Flash document. I'm aware that the effect is usually acheived with a long vertical image, but don't know how to go about positioning the images.
Any help would be appreciated. Thanks in advance.
View Replies !
View Related
Loading Flash Data In An HTML Document
Is it possible to load a series of AS variables into a HTML document?
My server will not let me veiw their formmail script and require that I pass the information to their script via HTML. I want a 100% Flash site and need to post variables from a contact form to the html document which will then pass to the server's formmail.
Thanks
View Replies !
View Related
Submitting Html Form From Flash Document
Hello,
I have a crazy idea that I'm trying to implement.
I want to pass variables from a flash .exe file to a website where it will insert the variables into a database on a remote server via a php script.
I would love to do this w/out opening the webpage from the flash .exe file.
Any ideers?
Clem C
View Replies !
View Related
Loading Existing HTML Document Into Flash
Hi all
I am building a tool for editing xml that configures various sites we have.
The sites are located as follows:
http://www.sitename.com/siteversion/siteconfig.xml
there is an html page at http://www.sitename.com/ with a <base href=""> tag in that points the user's browser at the correct folder for the current version.
I want to load the html page, parse out the base href tag and get the location of the current site version then load the xml file.
Is this possible? loadVars won't do it and an xml object won't load the html in either.
Thanks.
View Replies !
View Related
Flash Modal Containing External HTML Document
I have a massive problem. I've been in forums and searching the net for days and can't find anything to help me on this...
I AM VERY NEW TO ACTIONSCRIPTING AND GET LOST EASILY...
I have a site that I developed fully in Flash 8... http://ashevillegolf.net/newsite/
If you visit this URL you will see the "For Sale Sign" at the top. If you visit that page you will see two buttons.
What I need to have happen is to click one of the buttons (probably stripping it down to one button soon... Not your problem), have it open a Modal window and load this page http://www.remax.com/Listings/StateS...O1=1&corp=true in the window with both scrollbars as needed. I do not want it to open up a new window showing in the status bar. I want a true Modal window with no address bar, no menus. Just a title, "X" and scrollbars.
I have no freakin clue how to do this and I am about to jump. LOL.
Please HELP!
G
View Replies !
View Related
Load Html Document Inside Flash
I have been informed that it is possible to load an html document inside flash, that you use an HTML tag, but I cannot find it in the scripts, can anyone show an example and explain how to make it work or if there is a tutorial for creating this inside of flash.
Thanks
View Replies !
View Related
Submitting Html Form From Flash Document
Hello,
I have a crazy idea that I'm trying to implement.
I want to pass variables from a flash .exe file to a website where it will insert the variables into a database on a remote server via a php script.
I would love to do this w/out opening the webpage from the flash .exe file.
Any ideers?
Clem C
View Replies !
View Related
Printing A Flash Document Imbedded In An HTML One.
Hello.
I am printing a flash document imbededd in an html file though a frame.
when printing I am not able to print the complete document.
Only viewable region of the frame is printing.
This is occuring only with flash files.
I ma trying to use the PrintJob Class but am unsure of the implementation.
Could anyone please help me in putting code within the html file hosting the flash swf file in order for it to print properly.
thanks again.
kiran
View Replies !
View Related
|