How Do I Make Different Things Load Later During A Flash Movie?
Hey guys,
I have a question... for a website Im making, the whole site is a single flash movie--for this reason, everything in my site loads at the same time. All the images on all the different pages have to load at the beggining of the movie, since the whole movie is loaded at once. I was wondering how I can make it so images (etc) only load when the page they are on is visited. Thanks for the help.
FlashKit > Flash Help > Flash MX
Posted on: 04-07-2005, 03:40 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Load Things Like Html/php Into Flash Movie?
Hi.
i've been recently trying to create a new website made entirely of flash, but I've been encountering some problems.
I wanted the flash to perhaps load an external news document made via HTML or PHP for easy access/upload/updateability, but I really don't know how to load it into a Flash file with perhaps scrollers etc.
Can anyone help me?
tia
(ps this is one of the craziest flash webpages i ahve ever seen it raises my CPU temp to 65C from 61C!!!)
How To Make Things Load?
how can i make a loading thing can i have a tut bout it plz :-(
sry i am very new to flash i dont understand a lot fo things lol
How To Make Things Load?
how can i make a loading thing can i have a tut bout it plz :-(
sry i am very new to flash i dont understand a lot fo things lol
Trying To Make A Movie Clip Cover Things Behind It
I've create a listbox and have a custom dialog (movie clip) that opens from a menu when clicking 'file->new' for example. I've noticed that the UI list box behind the open movie clip highlights items in it regardless of having a movie clip load over top of it.
This also applies to any movie clip with onRollOver or button symbols. Even though a move clip (image, shape, whatever) is overtop or partially overtop of a roll over object it still activates roll over functions.
I'd like to mask or cover all object behind. For example if opening a custom dialog, I may want to cover the entire stage preventing usage of any other item until the user has completed working with the dialog box thats open.
I hope this is clearer than mud. Thanks!
Does It Make Things Easier To Plan Things Out Before Programming?
I know this may seem like a stupid question, but as a Actionscript beginner i'd like to know if its easier to plan things out before hand. Basically i've got to make a Class that does the following:
- Creates a shape with a size and colour defined by values passed through the constructor
- the initial position of the shape should be passed to the constructor
- the horizontal vertical speed should be passed to the constructor
- the initial direction (up or down) should be passed through to the constructor
- the shape should reverse direction on "impact" with the stage top and bottom.
Now i want to make the thing itself, but i think im going to struggle. unless i make a really decent plan of the class. so can anybody recommend what the best way to plan out this is?
if anyone can help, i'd appreciate it - if not, no worries.
Load Movie Or Get Url To Make Sizeable New Window For Flash Movie?Etc......
I am making a webisite and want to use a small window without toolbars like you have seen on many well done flash sites.
I wonder how this is done?
I have heard of people using javascript to set the window options but i have yet to find a good tutorial on this topic.
I am hoping someone could point me in the right direction.
Or tell me it all! mooowaaaahh hah haahh
please help yo...
hope someone replies to my woa
brainer
How To Make A Flash Website That All The Things Are Put At The Middle Of The Windown?
every time when i make a flash website all my things are at the left hand side of the window, i want to make a flash website in the middle of the windown, and that will looks like this kind of format [example : http://www.clubsaffire.com/ , http://www.361studios.com/ , http://www.advanceflash.com/#sec=0 etc.]
Can anyone tell me plz...
Thank you!!!
Ryan
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 ^_^
How Can I Make Images Not Load Untill The Page They Are On Is Visited In Flash Movie?
Hey guys,
I have a question... for a website Im making, the whole site is a single flash movie--for this reason, everything in my site loads at the same time. All the images on all the different pages have to load at the beggining of the movie, since the whole movie is loaded at once. I was wondering how I can make it so images (etc) only load when the page they are on is visited. Thanks for the help.
[F8] Add Flash Things After Flv Movie?
Hi everyone!
I've just returned to Flash after several years and program versions to discover i know nothing anymore
I've encoded a video as flv and used that on a Joomla site... works fine.
But now i want to add some text info after the movie has played.. how can i do that?
Or can i make one swf with info and have all flv's load that at the end?
It realy hurts being totally lost at this again.
Thanks for all help i can get.
If Else To Make It Do Two Things?...
I have an input box and a button under it. The user inputs a password, if the password is correct it goes to a certain frame. If it is wrong it goes to another frame and stops, but how can I get it to put "please try again" in the input box when they enter the wrong code as well?
Things That Make You Go Hummmmm..
Is there any possible method of using the wheel button on the mouse to scroll a text box in flash mx? I don't think it's possible but then again, I've never asked!
Tony
How To Make Things Resizeable?
I'm using Flash MX for the first time for creating a simple scene. The thing is, when I resize my scene window, its contents don't resize... I know that flash allows this because i've seen it before. How do I say that a particular document (or scene) uses vectorial graphics allowing me to see the size of the document acording to the size of my window?
Thanks in advance.
How Do I Make Things Only Happen Once?
ok it i say this
if (mmx.falling.hitTester.hitTest(_root.ground)) {
mmx.gotoAndPlay(stance+" Landing");
}
how do i make it that it only plays the landing animation once instead of millions of times ovr and ovr?
How Do I Make Things Disapear?
Hey folks, I am using a movie instance to control my navigation but I can't seem to figure out how to set the _visable parameter to false, it tells me that I have to use this on an on/onClip event handler?? Clueless with this stuff just now. I'm using flash MX
Any Ideas?
HELP How Do I Make Things Swing?
Hi,
I'm new to flash. I have a book and for the most part I think I have animation down, but I can't make something swing properly. The pivot point seems to move making the animation screwed up. Any ideas/help would be appreciated. Thanks.
How To Make Multiclient Things ?
hi there, im planning to create some multiplayer games, but..
can someone give-me a tips on how can i make some coonections between clients?
i dunno what to use.. and how i do it..
i have tried using a .php "server" that is listed on flashkit, but it doesnt work like in "real time"..
is it possible to make real time connections, like when a player does something, the message is sent to all players..?
how can i do something like that?
btw, im using Flash MX..
if someone could answer it could be great..
thanks in advance..
How Do I Make If Not Equal Two Things?
Hi everyone...
How do I specify this if statement not to equal 2 seperate states?
this is what I tried (doesn't work...of course?!)...
Code:
if (main_selection != mc_anim, mc_about) {
what I want it to say is
if the main selection is not mc_anim or about....do stuff
thanks!
Make Things Grow
Anyone know of a tutorial on how to make things ( plants) appear to grow in flash? I've seen some sites use it and I have a project that I'd like to use it on.
Thanks!
How To Make A Button That Does Two Things?
I'm trying to make a button that first tells a swf file externaly loaded into the flash page to go to and play at frame 50 and then when that is done load another external swf in the same box as the previous one was in.
How can I do it?
Flash Movie Dimensions, And Making Things Smaller?
Hey everyone,
I am working on a site, and have made a very simple page as i am a newcomer to the wonderful world of flash.
I have put up a page:
http://www.hinduvidya.com
A lot of people are complaining that it comes up too big on their comps. My dimensions are 1000 x 700 pixels
My comps res is at the highest setting [1600x1200], so it looks fine.
Is this:
a) too big for everyone to see well
b)fine
If this is too big, how can i shrink everything easily to the right setting?
please help...
HOW They Make Things Move SO SMOOTH?
yes, right, i don't get it! For example, 2advanced.. Lines, buttons, splashscreens move very smooth there, but when i try to make something move (insert->motion tween), line or bground.. it moves like.. like i don't know what... I don't get it! Please, ppl, explain, I'm beggin you!
HOW DO I MAKE A BUTTON DO DIFFERENT THINGS IN DIFFERENT PLACES?
Okay, i have this button, which, when the mouse hovers over it, changes color. except, i use it with two different backgrounds. Is there any way i can use two different mouse over colors using the same buttons, or do i have to make a new button for each background?
Transparencies Make Things Slower On Mac?
i've known for some time that having a lot of animations with transparent objects make things slower. the project i'm working on now is 750x550 and has transparent window selected on the publish settings so that the background of the html page will show through.
after testing several times on several different computers, everything seems to go fine. nothing slows down or anything like that. - that is until i tested it on my mac the next day. it must have gone 1/5th of the speed it took on a pc. i check on another mac at the office and it was slow as well.
i have tested multiple browsers as well on each machine and they all reveal consistent results... macs are slower than pcs. everything runs fine when the background isn't transparent though.
has anyone else noticed this? if so, is there any better way to get the same results?
your help will be greatly appreciated.
Thanks
Josh
How Do I Make Multiple Condition Things?
Hello, I have encountered a small error here. Im sure its something obvious but I can't figure out what I am doing wrong. Basicly I want it so when you are in a certain area and press 'e' you can access a purchase terminal on my game.
This is the code, it currently it brings up an error message.
onClipEvent (enterFrame) {
if (Key.isDown(69)){ and if (this.hitTest(_parent.player1.collect)) {
_root.terminal.gotoAndStop(2);
_root.player1.speed = 0;
}
}
Thanks for any help
More Decimals To Make Things Work
Hi, i'm doing a calculator cind of thing
ActionScript Code:
on(press){
grunntall = int(_root.G.text)
exponent = int(_root.expo.text)
stdform = int(_root.stdnr.text)
if(stdform > 0){
A = stdform * (Math.pow(grunntall, exponent));
}else{A = Math.pow(grunntall, exponent);}
}
I need the A field (A stands for answear) to show more decimales. it showes onely 5 (+ -) then it say e+15 or e-15 are there any way to make it spell it out as it is with all decimals or zeros?
How To Make Things Change From One Loaded Swf To Another?
So i have my flash file, im making the scenes into individual SWFs that i will load into my main swf. Each page of my site will be its own swf. One HTML page.
I wanted a bar element to change colors, a text box to change its size, and an image to fade in and out. All this seamlessly from page to page, and with actionscript. I just dont know where to start. Would i need to fool with listeners?
im just not sure how to build the whole thing basically.
I know how to do the actionscript tweens. So i can use that for the color and size of the respective elements.
Sorry im such a noob.
How To Make Things Fade In Mx 2004?
ok, in flash mx it was easy, there was that bar in the properties panel that you just adjusted, but how do i change the alpha of an object in flash mx 2004?
EDIT:: never mind found it, sorry
Using Cue Point To Make Things Happen?
Hi
I am having the following problem:
I have set up a movie with a video display component which imports an flv. I have set several cue points in the properties, the first one being "tvStatic". Which when encountered I want to hide, move, alpha=0, (any thing will do) a movie clip called tvStatic.
Alas nothing happens, the cue point is found and the if statement is satisfied, but my tvStatic refuses to budge. I am using the following code. Can anybody help?
myObj=new Object();
myObj.cuePoint=function(p){
trace("received sync cue point named: "+ p.target.name);
if(p.target.name=="tvStatic") {
tvStatic.gotoAndStop("end");
trace("it works!!")
}
}
myMedia.addEventListener("cuePoint", myObj);
How To Make A Load Movie
i had done a flash mtv..one with song and cartoon,but the problem is that they only sycronize on my computer..so i think i need to make a load movie and preloader..can anyone pls teach me how to make one?
How To Make A Load Movie?
i had done a flash mtv ,one with song and cartoon,but the problem is that they only sycronize on my computer...
so i was thinking..maybe a load movie and preloader will help...but i have no idea how to do one...
can anyone pls help?
How To Make A Movie Load Another Movie Into It's Own Clip?
hey all,
I have a site with a container clip which all other content loads into. When one movie loads, it has a button that I'd like to be able to click to go to another page in the site (ie. unload it's parent movie and load another swf into the same container clip.
Does that make sense?
How can I address the parent container clip and tell it to unload this movie and load another swf into it?
Is this possible?
thanks!
Different Object Names Make It Do Diff. Things...
I wrote a script in flash 5 that moves an object with the arrow keys that worked fine when i first tested it on an object called "bar" but which doesnt work when i make it part of an array. I'm pretty sure the reason for this is because the movie continously jumps between two frames and every second frame the movie checks to see if any of the arrow keys are down and if one is in increments the x or y coordinate of the object. The problem is that at the end of the if statement in automatically decrements the x or y coordinate.
The script is something like this:
if(Key.UP) {
_root.object._y += 5;
}
gotoAndPlay(5);
And this worked fine for a while but when i tried to get it to work with an object in an array it quit working alltogether.
Please Help!!!
Different Object Names Make It Do Diff. Things
I wrote a script in flash 5 that moves an object with the arrow keys that worked fine when i first tested it on an object called "bar" but which doesnt work when i make it part of an array. I'm pretty sure the reason for this is because the movie continously jumps between two frames and every second frame the movie checks to see if any of the arrow keys are down and if one is in increments the x or y coordinate of the object. The problem is that at the end of the if statement in automatically decrements the x or y coordinate.
The script is something like this:
if(Key.UP) {
_root.object._y += 5;
}
gotoAndPlay(5);
And this worked fine for a while but when i tried to get it to work with an object in an array it quit working alltogether.
Please Help!!
|