ActionScript 2.0 :: Make A Link In The File "bildspel.swf" That Loads Another Movie?
Mar 14, 2005
I have a problem, i'm using this to load a movie into my main movie.
Code:
on (release) {
_root.bildspel.loadMovie("bildspel.swf");
But now i want to make a link in the file "bildspel.swf" that loads another movie in the same file as "bildspel.swf" loads into.
View 4 Replies
Similar Posts:
Oct 17, 2003
I have a html page that has a link, which links to another html page with a flash file on. What i need is when this flash page is accessed i need a new movie to load, which would usually load from the navigation when someone clicks on a button.Is there anyway to link to a page which then loads a new movie into the main movie. can this be done???
View 10 Replies
Mar 28, 2005
Im trying to make a class that loads in some external data, and then creates some arrays in the class, which names and content are based on the data that are loaded. What i have now, is something like like this:
[Code]...
View 4 Replies
Jun 23, 2010
I am trying to make a scrolling banner like the html <marquee> tag that loads text from a .txt file. Here is what I have so far:
Frame1
Code:
var formatObj = new TextFormat();
formatObj.size = 15;
formatObj.color = 0;
formatObj.font = "Comic Sans MS";
[code].....
For some reason it only works by using the stop(); command. The problem is that this causes the animation not to automatically start when placed into an html page. The result I want is for the text to automatically begin to scroll.
View 2 Replies
Oct 9, 2004
I created a movie that loads an XML file into flash and then.. does stuff with it (Like put text into text fields)My problem is that it works when I test it on my computer, but when I upload it and test it on my website, the XML file doesnt load.The movie is the XML load into has been loaded dynamically, as has the one above it (Like this: Lobby Clip > Games room clip > newgames Clip)
View 3 Replies
Jun 16, 2003
URL...How and where and what do I add to make the movies unload before only the movie corresponding to the button clicked loads up and doesn't overlay?I'm having trouble with the level and all that URL...
View 4 Replies
Sep 15, 2009
I know this goes against the logic of most menus. I am building a menu. I have very nice mc called "menu_list" and loading into the movie loads a easily editable external XML file with all my over categorys and sub menus
it looks like this...client.niallohara.net/xml_menu.html
[Code]...
View 0 Replies
Mar 28, 2009
Everything is embedded in an HTML site. The HTML loads a preloader that then loads the actual flash movie. Inside this movie I created a few buttons, inside a scroll bar movie clip. I want the buttons to load a whole new movie inside the same html. The code I'm using in the button is simply:
on(release) {
loadMovie("new_movie.swf", 0);
}
The problem is that it works beautifully in the Flash movie tester but doesn't do anything when tested inside the browser, embedded in the HTML. I think the problem is that the HTML embeds as an object the first movie, the preloader for the menu movie, not the menu movie itself.
View 3 Replies
Feb 23, 2010
have this flash xml menu that loads external swf files like this:
Code:
<item title="ABOUT"content_path="http://mysite.com/folder1/folder2/folder3/about.swf"target=""mouse_rollover_color="0xFFFFFF" mouse_rollout_color="0xDDDDDD" />
and I have this swf file with cms that I'd like for this menu to load. Currently the swf file load external text using this code:
Code:
if (contenturl1 ne "") {
loadVariablesNum(contenturl1 + "/" + userid + "/content.txt", 0);[code].....
but when the xml menu loads this swf file its structure loads but not its data.I tried using :
Code:
this._lockroot = true;
in the loading swf main time line but it did not work.I should also mention that the dynamic data that loads onto the swf that is to be loaded by the menu, resides not in it main time line but 4 movie clips deep .I don't know if that makes a difference or not.
View 1 Replies
Oct 1, 2010
I've been sent a swf file for a banner that needs to be linked to a url. I am adding this to my client's website and my client has been sent the swf and javascript to add to the page. The problem is that the javascript code is overly complex, and I'm wanting to use Jquery and Unobtrusive Flash Objects (I've not yet updated to swfobject on this site). Can I use Jquery and/or UFO (or indeed swfobject if I have to upgrade) to make the swf file link to an external url (preferably loading in a new tab/window)?
View 1 Replies
Jan 10, 2011
How can I make a link to my Flash file?
Like an image, I can do it like this:
<a href="http://stackoverflow.com"><img src="imagefile.png" /></a>
I've tried to put <a></a> around the Flash HTML code, but it does not work.
EDIT: I found a solution. I've just put some JavaScript into the code.
View 2 Replies
Nov 1, 2010
How to make flash movie as html link?E.g <a>embed</a> its not working.
View 2 Replies
Sep 30, 2010
I am trying to make a button work in a Flash cs4 file using as2. It is a template I am modifying from DreamTemplate. I don't know what I am supposed to change and exactly what I should change that unknown code to Here is the code I have:
[Code]...
As you can see I have tried to replace the url that was in the quotes and it does not work.
View 1 Replies
Jun 14, 2006
I've set up a test page in Flash:-
function loadXML(loaded) {
if (loaded) {
_root.resource = this.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue;[code]...
how do I make 'link' clickable in the flash file?
View 2 Replies
Aug 15, 2011
I saved as swf & got this error msg in the compiler errors: Symbol=but1,layer 4, frame=1 Mouse events are only for button instancesIn the library I checked the properties of the button and its a movies clip, I'm not sure if it will make any difference if I change to button or graphic?I would like to upload the fla and swf files but this forum doesn't seem to allow me to attach files to messages.
View 3 Replies
Jul 31, 2009
I am doing a brief with requires FLV in the movie, I have successfully done this but when I test my movie from the server it does not link to the FLV file.I have checked the linkage and seems ok...is there any other reason for this not working?
View 1 Replies
Aug 13, 2002
how to create a link to go from a flash movie to a pdf file... is this possible to do?
View 2 Replies
Jun 25, 2009
I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.Can someone point me to an answer or tell me how to do it? I have found a way in JavaScript but this only works on plain images, not swf files.
View 6 Replies
Jan 23, 2003
I have these movie clips you see..url...click on the text behind the white boxes.
1st I can't get the link texts to sit on top of the white boxes when it loads.
2nd, after loading the second or third box you'l begin seeing my swapDepths issues surface. I've tried pretty much every combination of swapDepths solutions.
Here is what I need. When the page loads and the box is small the link text is on top so you can read what you're clicking. When you click the link the section enlarges and I need the section to be on top. Whatd'ya think? Anyone up to a challenge? As a bonus question I can't figure out why the text goes all crazy looking at random... even the stationary text but not the dynamic text.
View 2 Replies
May 14, 2007
I click on the booking link and everyhing loads just fine, however, if I click on it again it only loads partially. Can anyone tell me why this is and how to resolve?
[Url]...
[Code]...
View 2 Replies
Aug 30, 2011
We're making a viral video which is going to be distributed as FLV movie file free for download and redistribution.
I don't know much about flash yet but I can imagine FLV is just some sort of special flash application which can also include arbitrary code.
Is it possible to track how many times that movie file has been played by letting the FLV file perform a server-callback when playback begins?
View 1 Replies
Dec 17, 2009
I am literally at the end of my wick with this one! Here's the skinny, so to speak:
home.swf
products.swf
button line mc
[code]........
View 3 Replies
Oct 22, 2007
I'm trying to make a text box that loads text from a text file. I've accomplished that, and now I want to have it so when I click a button is loads another var from the file by changing the end number. Here is my code:
myNotes = new LoadVars();
myNotes.onLoad = function() {
i =1 ;
[Code].....
View 5 Replies
Jan 11, 2010
i have created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.
i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?
View 1 Replies
Apr 10, 2003
I modified the loadBar from one of the popular preload scripts out there. What I am making is a progressbar, sorta like the ones you see in movie previews. But it doesn't seem to o work quite right. Here's what I have: interface.swf - dynamically loads the movie.swf's into itself and will control the movie (when I get around to it). it has the loadBar object
[Code]....
View 6 Replies
Feb 9, 2005
I have a modular movie format. All movies load into a shell/base movie. I have a video intro that loads into the loader component in an external movie. This movie in turn loads into the actual main movie.What I'm trying to figure out is when the video intro gets done playing, I want it to move to the the next frame (#3) so it can run a behavior I have there to load another movie in its place.I've tried the "on complete" with several variations to no avail.I have a button that will move you to the frame #3, but I want to make it happen automatically if I could.
View 8 Replies
Jun 8, 2011
So I wanted to give a demo of my project to someone, but I encounter a problem, Im loading an external swf file, and even if I give him both files, it doesn't work.Share swf file that loads another external file?
View 1 Replies
Oct 28, 2007
I'm have a flash file which loads an xml file sub.domain.com/data.xml. It loads fine when the swf is loaded from sub.domain.com but it does not load from [URL]..It's all the same directory on the webserver. I tried using crossdomain.xml and allowed access from *.sub.domain.com. Doesn't work.
Any idea what would work? besides using php to determine the current domain (www or not) and load in the path via flashvars.
View 2 Replies
Jul 8, 2009
I am loading/unloading various swf animation which is now working fine.
But I can work how to make a delay for 8 secs before the next swf loads.
This is the code which i have been using.
var clips:Array = ["clip0.swf", "clip1.swf", "clip2.swf"];
var index:int = 0;
var thisLoader:Loader = new Loader();
[Code].....
View 2 Replies
Jun 21, 2011
I'm creating a Flash file which pulls in external SWFs onto a container. The main SWF which has the container clip is called Main.swf then we have external swf's.
So basically, we have Main.swf, English.swf, French.swf, More.swf
More.swf has a load of buttons on it (contact.swf, about,swf etc etc)
To make things neater, I wanted to put all of my button code in the Main.swf, and I've got it sorted so that English.swf, French.swf and More.swf load correctly into holder_MC which is on Main.swf
Now, to get the buttons working, I can either have the code situated in More.swf (in which case, can I change the contents of holder_MC which is located in Main.swf from within More.swf? If so, how?)
Or, I can have an event listener to say that when Main.swf is loaded, create these functions to link to contact.swf, about,swf etc etc)
View 1 Replies