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
Adobe > Flash Data Integration
Posted on: 02/18/2008 12:03:07 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Html Document Inside Flash
I think I already know the answer to this one, but I'll double check with all you superbrains!
Is there anyway of loading a html page inside a flash document? The same way iframe does in HTML??
Loading Html Files Inside A Flash Document
I have a flash website. Buttons on the left and content loading on the right. A border graphic is around the whole thing. Pretty basic.
I am curious instead of having the buttons load swf files into the right content section can I load an html file? I will not be using frames. The border around the whole thing is done in flash so I need the html file to load inside the content section. Maybe have an empty movie load the html? I just want the html to be loaded in a box in the middle of movie. Kind of like using iframes in html.. is this possible?
Flash Buttons To Activate Javascript Code Inside HTML Document (Dreamweaver)
I've been tearing my hair out for over a week, trying to find information on this, and would be extremely grateful if anyone could help with this...
I have a web site done in Dreamweaver, with a collection of all my Flash movies. It has only two simple pages: "Movies" and "Notes". The first one launches movies in separe (new) windows, whereas the second one displays notes (information) about the movies, in the main window (not in a new window).
The way it works on the "Movies" page, is that I use a block of Flash buttons, that when clicked, will use the following Actionscript to launch a new window, that contains the movie:
on (release) {
getURL ("javascript:window.open('http://voxton.hypermart.net/flash/cucumber.html','Cucumber','width=570,height=420,to p=100,left=100'); void(0);");
}
So far so good. But on the "Notes" page, I have gotten stuck. I want to display a scrollable window, with text in it. I have created a layer (DIV table) for each window, and set all layers to be invisible (Except for a default one, that says, "Click on a movie to read notes about it"), and I want the user to be able to click on flash buttons just like in the "Movies" section, and have Flash send a signal to the HTML page, telling the Javascript code/CCS-P/whatever code to set the layer for the notes window on the corresponding movie button, to true...
This is a bit complex, so forgive me if I am unclear -- I'd be glad to explain further. I'm getting a bit desperate here, because I've been stuck for over a week on this one. It seems as if the FSCommand option may be a way of doing it, but I can't find a way to apply it practically -- most of the examples I found seem to not be related to anything quite what I am trying to do.
To get a better idea, maybe you can look at the actual site I have, which is here:
http://voxton.hypermart.net/
The Movies page is working as intended. But the Notes page, I had to try and make it work with HTML/Javascript (Dreamweaver Methods) instead of using the Flash block of buttons that I use on the Movies page...
Would be deeply appreciative of any guidance.
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
Load HTML Page Inside FLASH?
Hey guys, It's been a while =)
Anyway, here's my question; I have a flash app that I need to load an HTML page within. How would I do this?
That's the long and short of it. Thanks in advance for your help!
Load HTML Site Inside Flash?
I just had an interesting brainwave: Is it possible to load a HTML website into a frame within Flash, and if so, how would it be done?
External SWF's Won't Load In An HTML Document
I'm in the process of building a flash website and I've hit a brick wall that I never encountered before. I'm trying to have a main navigation page that loads an external swf with each different button. This works just fine when I preview the file in flash player and even when I right click and directly open the swf in IE, but when I put it in an html document the buttons will not load the external swf's.
Since the site I'm building is on a larger scale, I even went and built a test file where there is two items: a button that has the code to load the swf; and a box that changes color when the button is clicked so that I know the button worked.
I've tried several different methods to load the swf (I work in AS 2.0):
on(release){
this.createEmptyMovieClip("mc_1",1);
this.mc_1.loadMovie("ryan.swf");
_root.box_mc.gotoAndPlay("red");
}
on(release){
loadMovie("ryan.swf",2);
_root.box_mc.gotoAndPlay("red");
}
on(release){
_root.holder_mc.loadMovie("ryan.swf");
}
...all of the following work in a preview but than not in IE, Firefox, or Safari. The box changes color like it's supposed to, but the swf never loads. I'm building a very large site for a very big company, and I need to be able to load each page externally, otherwise the site will most likely take five minutes to load. Can anyone help me???
Controlling The Load Order Of Swfs In A HTML Document
Hi all I have a document containing multiple swfs. Is there anyway I can control which swf loads first etc. Obvisouly it would start from which ever one is higher in the HTML document.
However I would like to control what loads first, also can this be done with images?
Any help is much appreciated.
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?
Call An Swf File To Load Into Html Document From Seperate Swf File In HTML.
I am trying to get advise on the best way to do this or how to do this. I have a layout that the customer is happy with, in an HTML document, but the SWF files will be seperated because of the layout. If you go to this link, you will see what I mean. It all takes place inside of the black bar...
http://www.hairdrezzersonfire.com
I want the icon movie on the left to play first and after it is done, I want to be able to call the main SWF file to play in the center of the black area. After that's done, I want that main SWF file to call the text logo movie to play that comes in on the right side of the screen.
I assume that I will use a placeholder of some sort in an HTML cell and it will be replaced by the swf file, but I don't know how to call it with actionscript. Any ideas?
Searching For Txt Inside My Own Flash Document
Hi,
How are you all doing? I was wondering whether i could get some help on somethig. I've got a flash website i'm making and i am importing swf files when a link is clicked but i want to be able to add a searching mechanism into the flash site so i can search inside the document for certain key words and have them highlighted, yeah. i believe i'd first have to make a text field component and add some actionscript to it to perform a required task. but this is as far as i got as a test code for myself.
function Finder (){
var textFound = "";
textFound = input.getText();
Labeler.text = textFound;
}
go.onRelease= function (){
Finder();
}
the code i wrote changes a label to the text i type into the text component, but that's not what i really wanted to do. it was just a way of seeing if the text component would do what i wanted it to do.
i don't know how to conduct the search or code the search. could anyone please give me some pointers on how to do this or show me where i can find such code. it'd be really appreciated.
sincerely,
jay aka 007megaplayboy
Load HTML-PHP Inside A Swf
Hi,
I know, I'm posting multiple messages at a time, but I have many questions as I'm still learning Flash...
So here's my question.
First, check www.simo-multimedia.com
All the page that are accessible through the menu are separate swf files loaded with the following ActionScript:
PHP Code:
on (release) {
loadMovie("accueil/accueil.swf", "placeHolder");
}
Problem is, The "Forum" and "Livre d'or" (guestbook) section are gonna be PHP, so I'd like to know if there's a way to load these inside the main SWF (into the placeHolder) or if my only solution is to open them in a separate browser window, wich will not be very clean visually...
Plus, I've never heard about or seen a Flash forum. Does this actually exist? And are there any opensource flash forums available?
Thanks,
Simo
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...
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
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...
How To Load A Pdf Document From Within Flash?
I need to know how to load a pdf document from within flash. Using Flash Mx
I have tried using a batch file which i know works but for some reason flash will never execute it. The command i have used is
On (Release){
FSCommand ("EXEC", "launcher.bat");
}
But it doesnt work, IS it because Flash Mx doesnt support it?
Should i try another version?
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?
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
How To Put Html Code Into A Flash Document?
i want to put in an Counter for my site .
I got the Html Code for a Flash counter.. But dont know how to put that in the Flash document. Can someone help me here.
Thank you in advance
God Bless
Ysman
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
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
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.
How Do You Load Things Within The Flash Document?
Like you know on www.2advanced.com where you click one of the buttons and it loads within the flash document...how do you do that? Cuz i ahve my layout but I don't know how to get the buttons (when you click on one) to load in the same flash document and if you could include how to do a preloader with that to it would be very much appreciated thank you ^_^
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.
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
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
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.
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.
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.
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
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
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.
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
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/
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
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
Flash MX / Multiple Playable, Linking ,swf's In One Html Document
Basically, I am trying to try something very interactive. I'm trying to have 2-5 differint flash movies in one webpage. And with in one of those navigation flash movies, be able to change another flash movie using the main navigation one. So somehow I need to define a target and then telltarget to change swf.
J.J. Mancini
(Any help would be awesome!... Keep in mind I am not trying to load multiple flash movies inside the same swf...)
to see non working example... clickhere... http://www.mabh.org/main.htm you can see the multiple flash movies, and a timeline on the bottom needs to control all of the other movies.
Problem With Open.window From Flash To HTML Document
Here's my problem:
I have a flash movie in the HTML document and within flash movie I want to open another HTML document. On the button in the flash movie is a simple script:
javascript:window.open('http://www.bioagram.hr/fashion.html','FASHION','width=550,height=400,scro llbars=no,resizable=no,menubar=no');
Everything is fine on my Mac, it works great, both in Safari and IE, but on the PC it opens window I want to open and another window that displays only this text (object)
You can see the problem here www.bioagram.hr/havai.html and click on any button....
thanks for your time and I hope someone can tell me where the bug sleeps?????
Problem With Open.window From Flash To HTML Document
Here's my problem:
I have a flash movie in the HTML document and within flash movie I want to open another HTML document. On the button in the flash movie is a simple script:
getURL
javascript:window.open('http://www.bioagram.hr/fashion. html','FASHION','width=550,height=400,scrollbars=n
o,resizable=no,menubar=no');
Everything is fine on my Mac, it works great, both in Safari and IE, but on the PC it opens window I want to open and another window that displays only this text (object)
You can see the problem here www.bioagram.hr/havai.html and click on any button....
thanks for your time and I hope someone can tell me where the bug sleeps?????
Help Loading An External .html Document Into A Text Box In Flash MX
I really need to learn how to load an external HTML document into a flash MX text box. I am aware of how to load .txt documents, but I need to be able to have images loaded into the box as well as text. Please help me if you know anything about this and drop me an e-mail. Thanks.
Help Loading An External .html Document Into A Text Box In Flash MX
I really need to learn how to load an external HTML document into a flash MX text box. I am aware of how to load .txt documents, but I need to be able to have images loaded into the box as well as text. Please help me if you know anything about this and drop me an e-mail. Thanks.
Sending A Flash File To Back In HTML Document
Hi
I have a Flash graphic (made for Flash 8) positioned underneath a line of options. Each of these options open up a drop down menu using the HTML <li> command, in much the same manner as the "File" "Options" & "Help" menus at the top of most windows programs.
However, the lists generated by the <li> command always appear behind the SWF graphic beneath. Is there a way of specifying the order, i.e. of sending the Flash graphic "To Back" or the HTML "To Front"? I've looked all through the options in the Macromedia Flash Editor and I figure it must be something in the corresponding HTML that displays the SWF but I'm not sure as I'm new to Flash.
Any ideas on what I'm missing?
Thanks a million
|