LoadMovie Relativity (header For Site)
The goal is to have a header that i can include in different flash movies. I have created a header that loads its contents from an xml file and then displays everything. _root.loadMovie("header.swf") will load the movie into another flash movie, but nothing else on the stage shows up, so i try to load it into a mc called nav, and it screws up all of the paths and nothing draws out correctly. what do i do about this problem? the relative paths in flash confuse me enough, so i don't think it would be possible for me to change the paths, unless someone has a little instruction there. Help is much appreciated!!!
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 07-01-2005, 02:43 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flash Header In HTML Site
I have an html site and I have a header at the top with a little flash animation of the logo. poblem is, when the user clicks on a new page, the header reloads and the flash animation starts all over again, and again and again...you get the idea..it looks silly.
How can i make the flash load only once even though the header reloads each time the user goes to a new page?
Thanks!
Bravia Site Header Smoothness
hi gang
happy new year!
I have a question about the smoothness of the scrolling images in the Bravia website: http://www.bravia-advert.com/
notice how the paint blobs move nicely without any distortion or funny visual effects? I'm just wondering how I can duplicate that. I'm using a high frame rate (like 40) but I still get a bit of skipping and a bit of noise around the edges of the images...
Your help would be greatly appreciated!
Thanks
HTTP Header Problems When Using LoadMovie
Hey, thanks in advance for reading.
The problem is that when doing a LoadMovie, and attempting to load up a swf from the same server. All the header information fails to be passed to the server (in case we wanted to set up some restrictions), i'm talking about the ALL_HTTP header information. Try it out, make sure a flash movie is trying to load another flash movie.. and that flash movie displays the Request.ServerVariables("ALL_HTTP") information... nadda.
How we tested this is having a SWF embedded within a page, call up another swf onto a level using LoadMovie. Then we have some software on the server to catch the incoming request, and look at all header information. Alas, all the useful tid-bits like the HOST, and REFERRER are gone
Can anyone think of a fix, other than using a querystring variable? eg LoadMovie("verify.asp?file=that.swf").. we would have to change way to many files to this new standard.
What we have is a single swf that can load numerous other swfs.. but we want to be able to protect the other 10k+ swfs by restricting direct download of them from the server. Meaning we would have to view the header information of any request and check either the host or referrer, then grant access. We would then set up the server to deny access to any swf file unless the header contained sufficient info on the user/request... Sooooooo, any ideas?
Also, testing this using a Flash 5.0 swf, but the results are the same whether it's the Flash 5.0 or 6.0 player, so I don't think it's that... since it's the player (or browser?) that's responsible for header information.
-J
HTTP Header Problems When Using LoadMovie
Hey, thanks in advance for reading. And sorry if you've seen this in a different forum, I wanted to make sure it recieved exposure in at least a couple of the related categories.
The problem is that when doing a LoadMovie, and attempting to load up a swf from the same server. All the header information fails to be passed to the server (in case we wanted to set up some restrictions), i'm talking about the ALL_HTTP header information. Try it out, make sure a flash movie is trying to load another flash movie.. and that flash movie displays the Request.ServerVariables("ALL_HTTP") information... nadda.
How we tested this is having a SWF embedded within a page, call up another swf onto a level using LoadMovie. Then we have some software on the server to catch the incoming request, and look at all header information. Alas, all the useful tid-bits like the HOST, and REFERRER are gone
Can anyone think of a fix, other than using a querystring variable? eg LoadMovie("verify.asp?file=that.swf").. we would have to change way to many files to this new standard.
What we have is a single swf that can load numerous other swfs.. but we want to be able to protect the other 10k+ swfs by restricting direct download of them from the server. Meaning we would have to view the header information of any request and check either the host or referrer, then grant access. We would then set up the server to deny access to any swf file unless the header contained sufficient info on the user/request... Sooooooo, any ideas?
Also, testing this using a Flash 5.0 swf, but the results are the same whether it's the Flash 5.0 or 6.0 player, so I don't think it's that... since it's the player (or browser?) that's responsible for header information.
-J
Flash In PhpBB Header With LoadMovie
I'm trying to put Flash into a phpBB (forum software) header. I can do that fine. However, even if all my flash file are in the same folder as my header file (overall_header.tpl) where I'm embedding the Flash, my files I'm trying to load with loadMovie into the main Flash movie will not load. Everything except the loadmovie stuff works fine. If I load the flash movie in a regular HTML file, it loads the movies fine. Any ideas? Thanks.
[Flash8] Help With Random LoadMovie Header
Hi all,
I've bitten off a bit more than I can chew with the following and need some help!
I have a sequence of 8 movies which I need to load initially randomly into an instance "mcHolder" then have them loop in sequence - displaying for 15sec each. (using setInterval and some sort of x = x+1 I guess)
I also need to place a "forward" and "back" button in the parent movie which finds the name/number of the current movie in "mcHolder" and loads the next or previous movie in the sequence.
I would like to create variations of this "random" movie which load a specific rather than random movie and do not loop but still retain forward/back navigation.
The movies will be named "movie01" "movie02" etc. for convenience.
I realise this is a big ask but any help would be much appreciated.
Thanks.
Flash Header With Database Driven Site
Hello all
I would like to use a flash header at the top of the page of a database driven website.
I am experienced with loading variables into flash from php pages by the method -
data_corporate2.load("http://192.168.1.204/forepoint2005/data_nextprev.php?level2=30");
but, as I would like to use the same flash header file on each and every page on the website this is no use.
If I am displaying the page 'content.php?pageId=33', which also displays the flash file is it possible to pass variables from the php page to the flash file?, similarly if I am displaying any other pageId is it possible to pass the variables?
What I would like to know is - Is it possible for the flash file to pull in the pageID (or any other variable) of the page that is being displayed upon.
Thanks in advance for any help
Need Swish Header Template For Sports Site
Currently, I have a client that wants a Flash header for his basketball web site (I'm using Swish) and I'm just not able to get the results I need. Perhaps I need a few more tutorials,
My question, is there a place I can go to have someone create my header generically so I can go in and change certain things? Like a template just for headers, not an entire site.
Any help would be great!
Conecting Rest Of The Site In Flash Header
I have been almoust done with customizing monster tamplate but there is one thing left I have problems with. In flash header I have trouble inserting links of other pages of the site. I can do this by clicking on lbrary (macromedia mx) then find movie clip and paste link i want to connect. However problem is that these clips or whatever they are, have that mouse up affect, so visitor have to click exaclly on text to open new page. if it is not clicked on text (bit lower) brownser opens some junk page.
any ideas how to fix this?
Site Centering Problems With A Flash Header
Hi,
I have designed a site that uses a flash header as it's main design element. It's width is set to 100% and causes issues with it centering in IE at 1024*768. I have tried everything(overflow-x:hidden etc) but I cant get it to center at 1024*768, it's always left-aligned which causes issues as content to the right is getting cut off. I'm hoping I can fix it in the css as the client has already signed off on the design and I don't want to be repositioning elements . Any help would be amazing.
http://www.nicfc.com
Thanks
Ryan
Flash Header STAYS In Dynamic Site
Hey all,
I wanted to build a site that included both flash and html. I wanted to create a flash header with the banner, graphics, navi and music; and have the rest of the site in HTML. But what I wanted to learn how to do is to just have the html part of the site change on the click of the buttons. I don?t want the flash to reload over and over again as we switch pages, so the music doesn?t have to start over and the animation docent have to reload all over again. If anyone can help in this, it would be greatly appreciated.
ex: http://www.willmusser.com/eko3/ if you go through clicking the main navigation buttons the music stays the same without reloading or starting over.
Thanks in advance.
knite
Sound Loop On Flash Header In HTML Site
I'm developing a hybrid HTML-flash, where each page has an flash head, the rest is static HTML. This flash component contains a sound loop (actually, 3 tracks), with the option of stopping all sounds. Problem is, when I go to another HTML page, the sound loads right up again. Rather annoying for those who would rather keep the sound off. Is there a way, without resorting to page frames, to keep the sound off when going to another page?
Here's the site. I haven't added the loading page to the sound clips so give a second or two to load:
http://www.setvideotv.com
thanks....
ps...the first page is all flash, the rest of the site is HTML with flash headers.
ActionScript - Objects _root And Relativity GURU?
Can you take a quick scan???
Sorry, I posted the whole stupid thing... but my problem lies in the pictureLoader and pictureFader function.
All the movieclips exist on the main stage, except for the thumbnails...
I pass all the movie clips paths to the PhotoAlbum which you can see in the creation of the object at the bottom of the page.
The problem is that the pictureLoader function doesn't work unless i use _root. It doesn't work with _parent, or with _level0.
In turn, I got _root to work, but when I try to make a pictureFader function so that after the preloader checks _root.animPar_mc.aHolder.getBytesLoaded, and it does all the preloading, it never calls the fade function... it's like.. sometimes I can say this.aHolder and it does what it should, and other times, it doesn't know what this.aHolder is at all. Please help.
this is the file in action...
http://www.variablemedium.com/dev/ph...aToggleTry.swf
ActionScript Code:
stop();//---------PROTOTYPE CODE------------------//written in flash 6//Create the global photo album function_global.PhotoAlbum = function(animPar_mc, aHolder_mc, loadBar_mc, thumbNav_mc, thumbMask_mc, photos_arr, thumbs_arr) { this.animPar = animPar_mc; this.aHolder = aHolder_mc; this.photos = photos_arr; this.thumbs = thumbs_arr; this.loadBar = loadBar_mc; this.thumbNav = thumbNav_mc; this.thumbMask = thumbMask_mc; this.thumbNav.setMask(this.thumbMask); this.yMove = 30; this.yPlus = 40; this.xMove = 14; this.createThumbnails(); this.showPhotoAt(0);};//set index so that it loops through array//show the photo at provided n valuePhotoAlbum.prototype.showPhotoAt = function(n) { var lastIndex = this.photos.length-1; if (n>lastIndex) { n = 0; } else if (n<0) { n = lastIndex; } this.index = n; this.aHolder.loadMovie(this.photos[this.index]); pictureLoader = setInterval(this.pictureLoader, 1000/30);};//the callback function for the preloader in the showPhotoAt functionPhotoAlbum.prototype.pictureLoader = function() { this.animPar._alpha = 10; this.loadBar._alpha = 100; var percent = (_root.animPar_mc.aHolder_mc.getBytesLoaded()/_root.animPar_mc.aHolder_mc.getBytesTotal())*100; _root.animPar_mc.loadBar_mc._xscale = Math.floor(percent); if (percent>=99) { this.loadBar._alpha = 0; clearInterval(pictureLoader); pictureFader = setInterval(this.pictureFader, 1000/30); }};//call back function to fade in preloaded imagePhotoAlbum.prototype.pictureFader = function() { this.animPar._alpha +=10; if(this.animPar._alpha>=100){ clearInterval(pictureFader); }};//createThumnailMenuPhotoAlbum.prototype.createThumbnails = function() { for (i=0; i<this.thumbs.length; i++) { this.thumbNav.createEmptyMovieClip("outer"+i, i); this.thumbNav["outer"+i]._y = this.yMove; this.thumbNav["outer"+i]._x = this.xMove; this.thumbNav["outer"+i].myNum = i; this.thumbNav["outer"+i]._alpha = 99; this.thumbNav["outer"+i].onRollOver = function() { this._alpha -= 20; }; this.thumbNav["outer"+i].onRollOut = thumbNav["outer"+i].onReleaseOutside=function () { this._alpha += 20; }; this.thumbNav["outer"+i].onRelease = function() { album.showPhotoAt(this.myNum); }; this.thumbNav["outer"+i].createEmptyMovieClip("inner"+i, i); this.thumbNav["outer"+i]["inner"+i].loadMovie(this.thumbs[i]); this.yMove += this.yPlus; }};//--------END PROTOTYPE CODE---------------//--------INITIAL VALUES--------------------_global.loadFrom = "local";//-- END INITIAL VALUES//----LOAD FROM WEB OR LOCAL CONDITIONAL SATEMENT--------if (loadFrom == "web") { loadVariablesNum("getPhotoNames.php", 0);}this.onData = function() { if (loadFrom == "web") { photos_arr = fileNames.split(" "); thumbs_arr = thumbNames.split(" "); photos_arr = photos_arr.sort(); thumbs_arr = thumbs_arr.sort(); } else { dir = "images/"; thu = "thumbs/"; photos_arr = [dir+"pic1.jpg", dir+"pic2.jpg", dir+"pic3.jpg", dir+"pic4.jpg", dir+"pic5.jpg", dir+"pic6.jpg", dir+"pic7.jpg", dir+"pic8.jpg", dir+"pic9.jpg", dir+"pic0.jpg"]; thumbs_arr = [thu+"pic1.jpg", thu+"pic2.jpg", thu+"pic3.jpg", thu+"pic4.jpg", thu+"pic5.jpg", thu+"pic6.jpg", thu+"pic7.jpg", thu+"pic8.jpg", thu+"pic9.jpg", thu+"pic0.jpg"]; } album = new PhotoAlbum(animPar_mc, animPar_mc.aHolder_mc, animPar_mc.loadBar_mc, thumbNav_mc, thumbNav_mc.thumbMask_mc, photos_arr, thumbs_arr);};
ActionScript - Objects _root And Relativity GURU?
Can you take a quick scan???
Sorry, I posted the whole stupid thing... but my problem lies in the pictureLoader and pictureFader function.
All the movieclips exist on the main stage, except for the thumbnails...
I pass all the movie clips paths to the PhotoAlbum which you can see in the creation of the object at the bottom of the page.
The problem is that the pictureLoader function doesn't work unless i use _root. It doesn't work with _parent, or with _level0.
In turn, I got _root to work, but when I try to make a pictureFader function so that after the preloader checks _root.animPar_mc.aHolder.getBytesLoaded, and it does all the preloading, it never calls the fade function... it's like.. sometimes I can say this.aHolder and it does what it should, and other times, it doesn't know what this.aHolder is at all. Please help.
this is the file in action...
http://www.variablemedium.com/dev/ph...aToggleTry.swf
ActionScript Code:
stop();//---------PROTOTYPE CODE------------------//written in flash 6//Create the global photo album function_global.PhotoAlbum = function(animPar_mc, aHolder_mc, loadBar_mc, thumbNav_mc, thumbMask_mc, photos_arr, thumbs_arr) { this.animPar = animPar_mc; this.aHolder = aHolder_mc; this.photos = photos_arr; this.thumbs = thumbs_arr; this.loadBar = loadBar_mc; this.thumbNav = thumbNav_mc; this.thumbMask = thumbMask_mc; this.thumbNav.setMask(this.thumbMask); this.yMove = 30; this.yPlus = 40; this.xMove = 14; this.createThumbnails(); this.showPhotoAt(0);};//set index so that it loops through array//show the photo at provided n valuePhotoAlbum.prototype.showPhotoAt = function(n) { var lastIndex = this.photos.length-1; if (n>lastIndex) { n = 0; } else if (n<0) { n = lastIndex; } this.index = n; this.aHolder.loadMovie(this.photos[this.index]); pictureLoader = setInterval(this.pictureLoader, 1000/30);};//the callback function for the preloader in the showPhotoAt functionPhotoAlbum.prototype.pictureLoader = function() { this.animPar._alpha = 10; this.loadBar._alpha = 100; var percent = (_root.animPar_mc.aHolder_mc.getBytesLoaded()/_root.animPar_mc.aHolder_mc.getBytesTotal())*100; _root.animPar_mc.loadBar_mc._xscale = Math.floor(percent); if (percent>=99) { this.loadBar._alpha = 0; clearInterval(pictureLoader); pictureFader = setInterval(this.pictureFader, 1000/30); }};//call back function to fade in preloaded imagePhotoAlbum.prototype.pictureFader = function() { this.animPar._alpha +=10; if(this.animPar._alpha>=100){ clearInterval(pictureFader); }};//createThumnailMenuPhotoAlbum.prototype.createThumbnails = function() { for (i=0; i<this.thumbs.length; i++) { this.thumbNav.createEmptyMovieClip("outer"+i, i); this.thumbNav["outer"+i]._y = this.yMove; this.thumbNav["outer"+i]._x = this.xMove; this.thumbNav["outer"+i].myNum = i; this.thumbNav["outer"+i]._alpha = 99; this.thumbNav["outer"+i].onRollOver = function() { this._alpha -= 20; }; this.thumbNav["outer"+i].onRollOut = thumbNav["outer"+i].onReleaseOutside=function () { this._alpha += 20; }; this.thumbNav["outer"+i].onRelease = function() { album.showPhotoAt(this.myNum); }; this.thumbNav["outer"+i].createEmptyMovieClip("inner"+i, i); this.thumbNav["outer"+i]["inner"+i].loadMovie(this.thumbs[i]); this.yMove += this.yPlus; }};//--------END PROTOTYPE CODE---------------//--------INITIAL VALUES--------------------_global.loadFrom = "local";//-- END INITIAL VALUES//----LOAD FROM WEB OR LOCAL CONDITIONAL SATEMENT--------if (loadFrom == "web") { loadVariablesNum("getPhotoNames.php", 0);}this.onData = function() { if (loadFrom == "web") { photos_arr = fileNames.split(" "); thumbs_arr = thumbNames.split(" "); photos_arr = photos_arr.sort(); thumbs_arr = thumbs_arr.sort(); } else { dir = "images/"; thu = "thumbs/"; photos_arr = [dir+"pic1.jpg", dir+"pic2.jpg", dir+"pic3.jpg", dir+"pic4.jpg", dir+"pic5.jpg", dir+"pic6.jpg", dir+"pic7.jpg", dir+"pic8.jpg", dir+"pic9.jpg", dir+"pic0.jpg"]; thumbs_arr = [thu+"pic1.jpg", thu+"pic2.jpg", thu+"pic3.jpg", thu+"pic4.jpg", thu+"pic5.jpg", thu+"pic6.jpg", thu+"pic7.jpg", thu+"pic8.jpg", thu+"pic9.jpg", thu+"pic0.jpg"]; } album = new PhotoAlbum(animPar_mc, animPar_mc.aHolder_mc, animPar_mc.loadBar_mc, thumbNav_mc, thumbNav_mc.thumbMask_mc, photos_arr, thumbs_arr);};
Theory Of Relativity "not Working"?
Is it me or Flash MX 2004 does not let you choose between "absolute" and "relative" when you are trying to write Actionscript code on a movieclip?
Here is what I mean:
I make a circle, convert it into a movieclip and call it "myMovie_mc". I also give it the instance name of "myMovie_mc". While having it selected on the main stage, I hit F9 to access the Accions panel.
I type "onClipEvent(something){", go to the next line, and then I hit the little radar button where I see the root symbol and the "myMovie_mc" instance symbol, in a tree-like form. No changes from MX to MX 2004 so far...
If I select the instance of "myMovie_mc" and select the relative radio button, I will get a
Code:
this
in the next line once I hit the OK button. But that will not let me have a dropbox of the properties of "this" if I type a period.
So I select the instance of "myMovie_mc" and select the absolute absolute radio button. This way I get a
Code:
_root.myMovie_mc
in the next line, and if I hit the period I will get a NICE dropbox of all the properties, events and methods available to the movieclip...
Apparently this doesn't happen in Flash MX 2004. No matter which radio button I select; I get "this" instead of "_root.myMovie_mc"...
The only way around it would be to type the whole actionscript snippet in the first frame of some "actions" layer, but that's NOT what I want to do. I want to be able to type the actions on the movieclip I am dealing with, not inside some frame of some layer...
Anyone else noticed it, or am I wrong with this theory of relatiivity...?
Theory Of Relativity "not Working"?
Is it me or Flash MX 2004 does not let you choose between "absolute" and "relative" when you are trying to write Actionscript code on a movieclip?
Here is what I mean:
I make a circle, convert it into a movieclip and call it "myMovie_mc". I also give it the instance name of "myMovie_mc". While having it selected on the main stage, I hit F9 to access the Accions panel.
I type "onClipEvent(something){", go to the next line, and then I hit the little radar button where I see the root symbol and the "myMovie_mc" instance symbol, in a tree-like form. No changes from MX to MX 2004 so far...
If I select the instance of "myMovie_mc" and select the relative radio button, I will get a
Code:
this
in the next line once I hit the OK button. But that will not let me have a dropbox of the properties of "this" if I type a period.
So I select the instance of "myMovie_mc" and select the absolute absolute radio button. This way I get a
Code:
_root.myMovie_mc
in the next line, and if I hit the period I will get a NICE dropbox of all the properties, events and methods available to the movieclip...
Apparently this doesn't happen in Flash MX 2004. No matter which radio button I select; I get "this" instead of "_root.myMovie_mc"...
The only way around it would be to type the whole actionscript snippet in the first frame of some "actions" layer, but that's NOT what I want to do. I want to be able to type the actions on the movieclip I am dealing with, not inside some frame of some layer...
Anyone else noticed it, or am I wrong with this theory of relatiivity...?
Theory Of Relativity "not Working"?
Is it me or Flash MX 2004 does not let you choose between "absolute" and "relative" when you are trying to write Actionscript code on a movieclip?
Here is what I mean:
I make a circle, convert it into a movieclip and call it "myMovie_mc". I also give it the instance name of "myMovie_mc". While having it selected on the main stage, I hit F9 to access the Accions panel.
I type "onClipEvent(something){", go to the next line, and then I hit the little radar button where I see the root symbol and the "myMovie_mc" instance symbol, in a tree-like form. No changes from MX to MX 2004 so far...
If I select the instance of "myMovie_mc" and select the relative radio button, I will get a
Code:
this
in the next line once I hit the OK button. But that will not let me have a dropbox of the properties of "this" if I type a period.
So I select the instance of "myMovie_mc" and select the absolute absolute radio button. This way I get a
Code:
_root.myMovie_mc
in the next line, and if I hit the period I will get a NICE dropbox of all the properties, events and methods available to the movieclip...
Apparently this doesn't happen in Flash MX 2004. No matter which radio button I select; I get "this" instead of "_root.myMovie_mc"...
The only way around it would be to type the whole actionscript snippet in the first frame of some "actions" layer, but that's NOT what I want to do. I want to be able to type the actions on the movieclip I am dealing with, not inside some frame of some layer...
Anyone else noticed it, or am I wrong with this theory of relatiivity...?
LoadMovie And .Net Site
Greets,
I have a main menu movie with buttons to shoot to 3 other replacement movies. I'm using loadMovie to accomplish this.
Everything works fine in an HTML page, but when our programmer puts the main movie in a .Net page the links do not load in the new movies on their levels.
I'm using absolute URLs in the loadMovie. Can't seem to find anything online about this. We're stumped!
Thanks for your help.
-Mark
LoadMovie From Another Site?
Hello, I need to know if it's possible to use loadMovie to insert a .swf into my flash movie, if they're on different websites (i'm making a site for a client, and I'd like to link a flash movie from MY website into his).
For example, let's say the clients site is www.sitetarget.com, and my website is www.filesource.com. Could I use loadMovie to get www.filesource.com/file.swf into the client's site?
thanks.
HELP, How Can I Use Loadmovie On A Swf From A Other Site?
I tried to use loadmovie on a movie (swf) file from a other site to load in my main movie. I try this because the server where the mainmovie is located only support asp and the server where i want to load a movie from supports php. And i only know php. So i tried to load the movie from this server with php but only the graphics is 100% loaded, and the actionscript not. Only the actionscript that the user activates works, like actionscript from a button. But the actionsscript from the timeline is not loaded in to the movie. For extra info the movie that i try to load works perfectly when i don't load it from a other site.
The following is a small part from the whole script (because the whole script is a preloadscript) where i load the movie with:
loadMovie("http://www.(something).com/(something)/(somehting).swf");
Also the site is not protected against hotlinking...
So someone that knows how i can load a movie from a external/other site with the actionscript from the timeline, please explain to me how. thnx
Updatable Site Using LoadMovie
I have designed a site for a furniture company which I want the client to update himself.
The product section consists of images of the products with a small piece of text below each image. I have used
loadMovie("table01.jpg", "_root.placeholder01");
to load .jpg's into empty placeholders and I've named them table01, table02, table03 etc etc. So when a new product comes along, the client can just name it table(whatever) it will appear in the product section.
Here's the problem: I also want the small piece of text which goes under the image to be updatable. Is there a way of doing this?
Thanks
Using LoadMovie() In A Frames Site?
i am trying to load a swf movie into a master swf using a seperate swf button which is on a different html page.
I am using a frames page where one frame has the individual swf buttons, and on the main page is the main.swf which inside has the content_mc to fit the description of each button.
my question is, how do I use loadMovie() so that separate swf files are loaded into content_mc on the seperate frame or seperate html pages in a frame set.
At the moment I have this code, where main.html is the main content page and description.swf is the swf i want to put into the content_mc
on (release) {
loadMovie("description.swf", http://www.mysite.com/main.html/main.swf.content_mc")
}
will this work?
tim
Loadmovie Problems Here Look At My Site
hi there guys ive got a bit of a prob. In my main.swf im loading external movies into it when it reaches a certain frame! they all load up fine but once loaded the image and text scrollers wont work here take a look at my site to see
http://www.brownsville.org.uk/graph.../bone/index.htm
here is what the error report says
Target not found: Target="_root.left2" Base="_level0.movieContainer6"
(movieContainer6 being the blank movie to load into)
as you can see the movies load up fine from the scroller but the scrollers just wont worknot sure why when the links do on some pages!!
here is the code for the current scroller
on (rollOver) {
tellTarget ("_root.right2") {
gotoAndPlay(5);
}
}
on (rollOut) {
tellTarget ("_root.right2") {
gotoAndStop(1);
}
}
thanks in advance any help would be great!! thanks
LoadMovie Problem With Site Structure
Hi there
I have searched and searched and not found a definitive answer to my problem. I have found lots of interesting info which i either don't understand or have tried and it has not worked.
[working on a mac/ie5/fmx at the mo - but might change to work on a pc]
i'm creating a portfolio site in flash MX and have created a main flash file 'em2003' [embedded into an html page 'em2003.html'] that contains the main navigation and when clicking on certain buttons within this flash file, external swf files will be loading into a blank holder mc [called 'img_holder'].
the problem i am having is to do with the site structure. I want all my external swf files to sit within separate folders within my site structure.
when the external files sit withing the same folder as the main flash movie, when using:
Code:
on (release) {
_root.img_holder.loadMovie("f_int01.swf");
}
the external file 'f_int01.swf' loads fine into the 'img_holder'.
when i then put my external swf file elsewhere in the site structure, i can't get it to load with relative or absolute paths. eg
Code:
on (release) {
_root.img_holder.loadMovie("flash/interactive/f_int01.swf");
}
doesn't load the swf file and neither does :
Code:
on (release) {
_root.img_holder.loadMovie("http://www.eskymo.co.uk/em2003/flash/interactive/f_int01.swf");
}
i've read about something to do with 'System.security.allowDomain' - don't know whether i have to use this. don't know if this is a problem because i'm using a mac/ie5. or whether i'm being a complete numpty and my syntax is completely wrong.
please help it's driving me insane.
thanks
e
LoadMovie Renders Site Inoperable
Okay, when a viewer clicks contact, the main text box scrolls out, then scrolls back in then loads the contents.
But for some reason when I try to load a movie into an MC on the _root timeline, the movie loads in the bottom right corner then renders my site useless.
Here's the code
PHP Code:
if (_global.id == "contactUS") {
_root.textScroller.main._x = 1200;
_root.textScroller.line._visible = false;
_root.textScroller.dragger._visible = false;
loadMovie("contact.swf", _root.contactMC);
trace("it worked again");
stop();
}
any ideas?
thanks
LoadMovie / Creating A Basic Site
Hey guys,
I'm trying to create a fairly basic flash site. I have a bunch of 'pages' so to speak, which will be loaded into a movie clip 'bodymc' on the root timeline. I have tried the loadMovie function, but that is not helping or doing anything. Please feel free to download the .zip, it holds the main page and the homepage, which will be loaded into the mainpage movie clip. Any help would be most appreciated, I really can't figure this one out.
God bless,
- TK
LoadMovie Question (and Site Preview)
Hi...
I'm building my portfolio site, and am having a problem loading a target .swf into the second frame of my main timeline...
My buttons load from a movie clip on the left, and my target_mc is on frame 2 of the main timeline. When i press the 'Draw' button, it goes to frame 2, but i have no idea how to get the .swf i have to load into that target.
My 'Draw' button looks like this:
on(press){
_root.gotoAndStop(2);
}
Here is a preview of my site:
http://matrix.senecac.on.ca/~jrusso/FlashFinal/
If you need more information, please ask
Loadmovie Scrollers Not Working Look At My Site
hi there guys ive got a bit of a prob. In my main.swf im loading external movies into it when it reaches a certain frame! they all load up fine but once loaded the image and text scrollers wont work here take a look at my site to see
http://www.brownsville.org.uk/graphics/bbm/bone/index.htm
here is what the error report says
Target not found: Target="_root.left2" Base="_level0.movieContainer6"
(movieContainer6 being the blank movie to load into)
as you can see the movies load up fine from the scroller but the scrollers just wont worknot sure why when the links do on some pages!!
here is the code for the current scroller
on (rollOver) {
tellTarget ("_root.right2") {
gotoAndPlay(5);
}
}
on (rollOut) {
tellTarget ("_root.right2") {
gotoAndStop(1);
}
}
i thinks it can't find the target i think its looking at the wrong level any ideas?
thanks in advance any help would be great!! thanks
Loadmovie Concept....and How To Build A Flash Site
I was after a tutorial that explains how to load movies in flash. I understand this is a standard for building flash sites, where you only load mc's that are needed. A brief explanation, any actionscript needed(and where the script goes), how to position the mc's in the main swf, and how to preload each scene.
I am also after some help on how to play an animation after you click on a button (as if the elements in the current page move off the stage, and the new elements move in).
Any help would be appreciated.
Cheers
R
Full Site Tutorial : LoadMovie Location
Hello!
http://kirupa.com/developer/mx/full_site2.htm
I was going through this tutorial here on my own and I came across a bit of a problem. My site is sized differently than the one used here, so I think that's part of the problem.
The basic idea of that tutorial is that you have a base page, and the LoadMovie thing brings in the others. Well, mine is working, but the .swf that gets loaded is off center. It's hanging off my page!
How do I get it to load where I want it to load?
Any ideas?
Thanks!
Full Site Tutorial : LoadMovie Location
Hello!
http://kirupa.com/developer/mx/full_site2.htm
I was going through this tutorial here on my own and I came across a bit of a problem. My site is sized differently than the one used here, so I think that's part of the problem.
The basic idea of that tutorial is that you have a base page, and the LoadMovie thing brings in the others. Well, mine is working, but the .swf that gets loaded is off center. It's hanging off my page!
How do I get it to load where I want it to load?
Any ideas?
Thanks!
Header Nav....
Hi all,
I'm looking for a similar effect like this one http://www.rojawheels.com/
I want the header navigation sample or a sample working fla. Any suggestions would be great......
thanx
Help With My New Header
Hi all,
I'm completely new to flash and need some help with my header:
Warning: sound within this header
http://www.sports-supps.co.uk/flash/header.swf
I managed to change the header titles, but now I finding it very hard to change the pages I want to point them to...
Can anyone help?
Header Using XML
I am a Flash newbie and need a little guidance.
I need to create a basic flash header that will allow for extrenal images to load in a predetermined place within that header. I would also like to force the size of those images to fit inside the header.
Can someone please point me to the proper tutorial/post to help me with this?
Thanks in advance...
Anyone Know What I Can Do With This Header?
I actually have flash 8 and i was currently making the process of my very own personal site, and i have been working hard on it.
it is just that i wanted flash on my header and navigation bar to make it more interactive looking.
but i can't seem to know anything
so this is my header...
http://img86.imageshack.us/img86/385...tpage11ze9.gif
its a gaming clan so..
and i just want to know what i can apply to it.
i really want to make some kind of cool effect in the beginning with those music and the loops.
also while loading it would be nice to have pre loaders.
the thing is, there hasn't been a tutorial on making flash effects for headers
Well if there will be someone willing to help out, that would be great.
also since i don't know how to create any of these effects on headers and stuff, and i am very new to it. what is the best way to learn flash?
because most people i know learn their flashes in school -_-
thanks!
Keep The Header On Top
Hi! I know this has been asked before but honestly I dont know how to search it Look at this: http://www.chromazone-imaging.co.uk/flashindex.html
How can make that top bar always to stay on top?? Any clue
Thanks.
SWF Header
Hi all,
I PM with a software development company, which provides data and software for car dealers.
One of our products is a wysiwyg webeditor. In the new version, we'll implement the posibility to embed swf files. No big deal, generally. But now there is a slight problem. With the routine the programmer uses, there is now swf-header analysis. This means, that the swf file is inserted with a 'default size', 300*200 px, no matter what the correct size is.
Now, so far I have found out, that the size is written in the swf header as FrameSize. But, of course its encoded. Does anyone know a open-source routine or have a detailled description, so that the programmer can develope his own routine?
Tnx in advance.
Adrian
Header
Anybody help me make header on this page
// plizzz - http://code-art.net/forum/
Get Variable From URL Header
I currently have a flash file (swf) (version 5) on our website, that will load variables from a txt file using the loadvariables ("text.txt",0) command. I am attempting to set up a hyperlink in an email that will allow the recipient of the email to link to the flash and load the variables from a specific txt file. I would like to accomplish this by including the name of the txt file in the URL header as a variable. This way, I would hope to retrieve the variable on the first frame of my flash file using loadvariables (urlvariable + ".txt", 0). Ultimately, I would be able to send different url links to different recipients and allow them to load different variables into the flash file. I have researched both the loadvariables and getURL commands and am still having trouble.
Please help.
Eric
Please Help With Flash Header
Hello all,
I am trying to place my own text in the header of this template. Would someone be willing to help me with this, if I send them the file?m The template is located here: www.michianawebhosting.com
Thank you very much
Help With Flash Header
I need to fix a pop up menu on this header, i just cant seem to get it right. Can anyone help? I will email you the file if you want to help it is to big to post.Thanks All-----
Looking For Header Navigation
Hi all,
I'm looking for a similar effect like this one http://www.rojawheels.com/
I want the header navigation sample or a sample working fla. Any suggestions would be great......
thanx
Static Header
I am looking for a tutorial that explains to me how to make a static header for my web page so the header doesnt reload everytime i visit a new page(movie) of my flash website.
I can't understand the tutorials ive found... And on top of that, I'm afraid I'm going to have to throw away the last 3 weeks of making this website because i didn't make this static header first
If anyone can help, or knows of a good tutorial... please help...
Thanks
Exploding Header
I am trying to create a header where an image explodes out from behind and comes foward (3D) and creates a cracked or ripped image of the header.
Any suggestions?
Header Animation
On almost every flash header, after it finishes its intial animation, it has a subtle animation that keeps it from looking too static. Usually this consists of a small white line with a glow about it that traces shapes in the headers design. Is this best achieved through frame to frame animation or tweens, or perhaps the use of masks? If anyone has any insight - i would appreciate it -
Mp3 Player On A Header
I added a mp3 player in the website flash header and this available on all the website pages , I want when a user clicks on a link for new page the player shouldn't just jam and restart from the begining, it should just play on.
Please tell me is this possible, I think this is possible through frames but if anyone knows any other way, then please explain.
Swish Header Help
I am trying to make a website with a flash header while the rest of it is in html. I am building it in the form of several pages put together; a left and a right page, a header page and the info page. I am doing this to save loading time so the only thing that ever changes is the info page. The problem is that I want the links on the flash header to change the info page. When I put links on the header, it changes the header page only. hmm.... I hope I'm not confusing anyone so here is an example of what I want to do. http://www.himonline.tv/ *except that site also has flash borders* Can anyone help???
.swf Header In Phpbb
I have a flash swf in the header of my phpbb forum. I want to know if any one has some script they'll share that relays flash > php> mysql and back?
I really just want to play around but I would like to have the swf show number of users in forum and or have a login in the flash or maybe just have the last poster in the forum listed.
Any help with info would be great. Thank Every one
-this is the best flash forum-
|