ActionScript 3.0 :: How To Load HTML Files
Jul 10, 2008How can I load html files using actionscript 3.0? Can also this be formatted with CSS?
View 3 RepliesHow can I load html files using actionscript 3.0? Can also this be formatted with CSS?
View 3 RepliesI need to figure out how to utilize one SWF player/file to load different streaming F4V files dynamically.[code]...
Currently I am publishing a separate SWF player/file for each F4V, but this is unacceptable. I need to use one SWF file to load different F4V files. I'm not that knowledgeable in the ways of Flash, but I believe that the "src" attribute of the embed tag and the "name='movie'" attribute of the object's param tag needs to point to the SWF player/file. So does anybody know how I can manipulate the object and embed tags to make them load a different F4V file into the SWF player?
I'm trying to use one html page to load multiple swf files and I can't figure out the correct code to do it.Basically, each main page in my navigation is a separate swf.I need the swf files to be able to load seamlessly over one another.
View 9 RepliesI'm making a rather simple portfolio site, ment to be atleast.the Buttons are named as follows, both as name and instance name.[code]...
View 1 Replies_root.links.link1.onRelease = function() {
loadMovie(page1.html, _root.content);
}
[code].....
I have got 3 swf files scene1, scene2 and scene3. Out of which scene2 and scene3 are embedded inside html files named scene2.html and scene3.html. I also want to include pre-loader at every intervals between the scenes, since the total file size including images and scripts is around 4mb.
View 3 RepliesI need to allow users to preview audio files for purchasing. I have CF pages that return records form a SQL database. Each record contains the same swf file however, each swf file points to a different mp3 for previews of different audio examples. So far, everything is working fine. My problem is that I need to be able to stop the sound from one swf when I click to play a second swf .The only solutions I see in Flash forums deal with loaded swf files. These are not loaded files they are separate files within a page. The question is: How do control one swf from another swf in the same page.The following items have not worked: soundChannel.stop();,soundMixer.stopAll()
View 2 RepliesWithout including swfobject.js can only swf files be loaded through html.And if so is there a common tag for all the browsers.
<object id="myMovieName" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
<param value="#FFFFFF" name="bgcolor">
[code]...
new using flash, is it possible to load an html or htm file in a flash movie clip?
View 1 Replieshow to load for example two xml files, and how to address each of the files? The red comments will explain what I want
[Code]...
I'm currently downloading website via an ActionScript HTMLLoader to later have access to the DOM to get some information out of the page. The problem is: each resource that is linked on the page (images, stylesheets, javascript) is also loaded which takes some additional time. I don't really need those resources, because only the plain HTML/DOM is interesting. Is there any way to disable loading of linked resources? At first I tried using an URLLoader and parse the result as XML, but when the website isn't valid this doesn't work. I also didn't find a library that validates/parses a given HTML-string into valid XML.
View 1 RepliesI would like to show some textcontent from a website in a textarea box in flex.
<?xml version="1.0" encoding="utf-8"?>
import mx.managers.PopUpManager;
import mx.core.Application;
[code].....
I was wondering if flash can load html document, the way browser displays it.
View 1 RepliesI have a flash musicplayer, that is very simple by itself. it has one button, Start/Stop. The player itself is in footer.
The Problem: when the page loads music won't start (FLASH player won't play) before you don't see it on the page, I mean, when the screen is small by resolution, you don't see the footer - and music doesn't start. when you scroll down to footer (when you see the player) it starts playing.
How should I do that no matter if you see the player or not - the player starts playing.
I am making a few animated flags for the corners of my website... so I made some pretty cool ones in Flash. but HTML doesnt like the swf files... So I had the ingenous idea to make them into gifs.... But now the mask I used to make the flags comes out on top and you cant see the 'flag' part anymore You can download it here
[URL]
I have a .mov movie that I want to play on my website. In years past, I would use Adobe Video Encoder CS3 (I believe that's what it was called) and would turn the file into a .flv. Then, I believe I would use swfobject and it would display with the typical play and expand to full size buttons as well as the timeline.
I downloaded the latest version of swfobject (2.2) but this only seems to play swf files.
Is it just me or are others having problems loading things like html an fla files?
View 3 RepliesWas just wondering if its possible to have a two swf files on the same html page that can communicate to each other.
I have one movie that asks a series of question and what I'd like to happen is for those results to be shown in the 2nd swf. Sounds simple, which means it probably isnt
In main.swf I loaded file.swf as:
var loader:Loader = new Loader();
var request:URLRequest = new URLRequest("file.swf");
When main swf loaded in HTML with an absolute link like:[URL].. It reports 404 error loading failed of file.swf
Because it looks for file.swf at current web host.What's the best way to do this without hard code absolute url in main.swf?
I have been desperate to find how to do this. I have found some answers to this, but nothing I can make work. The main place I have found is[URL].. and it wants to have the html docs as a template for flash. This is just confusing the issue and would rather find an example and don't mind editing and adding things by hand. I know this is difficult, at least from what I read and I don't know what I am missing. I assume the java in the html is what is messing me up.I don't have mx, so I cannot do the local thing, and need a flash 4 or 5 way of doing this. I have found some small ways of java, but I need to instruct the second movie to go to a label depending on what button is pressed in the first movie.
View 1 Replieshow do I passing variables between two swf (html) files For instance how can I request the variable "var_1" in the file blikvanger.swf (or blikvanger.html).Here is my code of one as file (contact.as):
Code:
...
homelink.addEventListener(TextEvent.LINK, linkHandler);
homelink.htmlText = "<a href="event:../blikvanger.html">THUIS</a><br>";
homelink.styleSheet = myCSS;
[code]....
I've created a full screen flash website. When I test the file in flash, its all good. Now I need to put it online to show the client, but whenever I try to do this...all I get is a black screen. Even if I use Flash's own Publish as HTML option, all I see is a black screen. the code on my main timeline is like this:
[AS]
import caurina.transitions.Tweener;
import caurina.transitions.properties.ColorShortcuts;
import caurina.transitions.properties.FilterShortcuts;
[code]....
nothing is wrong when I test the actual SWF from Flash, or even just open the SWF in windows...
When the web page is loaded the flash (and PHP) is going to load up a Yahoo! page [URL]and somehow load the daily Couples horoscope into my dynamic text box. If you look at the source of that HTML page, it has the following:
Code:
<b class="yastshdotxt">Daily Couples:</b><br>Intellectual curiosity helps keep you young at heart. Take a trip to the library together, or head out to your favorite neighborhood galleries.<br><br>
My question is, how do i get actionscript & PHP to load that horoscope into my text box? My current source is attached (in MX 2004 format).
I have created a website with one flash animation banner.The banner .swf has 5 menus. Each menu goes to different movieclips inside the .swf file. and at the same time i want to load the corresponding html file when i click the menu button and place the html content into the bottom area of the main html page without refreshing the html page.
View 2 RepliesWithout including swfobject.js can only swf files be loaded through html.And if so is there a common tag for all the browsers.
<object id="myMovieName" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
[code]...
i saw source codes of a [URL],i downloaded all swf files and linked them to my page but i cant view the pre-loader and my page just typically loads. i downloaded: swfobjects.js, swfaddress.js and Blade.swf. i used
[Code]....
In Flash CS5.5 when selecting, Publish Settings: html and swf, the html file does not display the swf from the URL after ftp. The swf file, however, does display from the URL without the html file. My work around has been to hand code the html. Is this a known issue or is there something else that might be causing this to occur?
View 5 RepliesIf someone provides me the FLV with the support SWF files and HTML page (so that the movie is embeded on the HTML page with the skin controls)...and I need to rename the movie from what they sent it as...will I also need the native FLA? Do I simply rename the HTML page to the desired link name for brand consistency on my website, will that solve the problem without needing the FLA?
View 2 RepliesI'm creating a portfolio sitethat has an AS3 Flash navigation in one div (#main-left) and what I'd like it to do is load local .html files in the div next to it (#main-right). I had gotten it working by placing an iframe inside the right div, and calling it with:
ActionScript Code:
function contactURL(e:MouseEvent):void{
e.currentTarget.gotoAndPlay("hit");
[code]....
I am right at the beginning but am already having an issue. I have watched Lee's tutorial over and over and I cannot see what I am missing. All the files are in the right spot adn the HTML is identical to Lee's. The problem I am having is that the URL does not change properly. The URL shows Home.html# and not Home.html#/ASU Foundation or Home.html#/Tempe The title changes in the browser perfectly but nothing happens in the URL.
Code: Select allimport com.asual.swfaddress.*;
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, onChange);
function onChange(e:SWFAddressEvent):void
[code]....