[mx04]
I asked this question earlier, but in the wrong section. Does anyone know how this animation technique was done:
http://www.fakepilot.com/work/tahiti/
thanks,
sbarnes16
FlashKit > Flash Help > Flash Newbies
Posted on: 07-03-2006, 11:59 PM
View Complete Forum Thread with Replies
Sponsored Links:
Mx04 -> Mx
I got a trial of Flash MX 2004 and I worked on some of my projects and saved them with it. They are saved in MX04 content. Now I am back to MX and I cant open them. Is there any way to convert the .fla from MX04 to MX? Thanks for any help.
View Replies !
View Related
[MX04] FPS Help
do all games use the regular FPS commands, because from computer to computer-my programs vary a lot.
so here is my code...
speedx = 3;
Speedy = 3;
speedx2 = 3;
Speedy2 = 2;
this.onEnterFrame = function() {
//Snail follow mouse
snail._y = _ymouse-snail._height/2;
snail._x = _xmouse-snail._width/2;
//Snail has borders
if (snail._x>500-snail._width) {
snail._x = 500-snail._width;
}
if (snail._x<0) {
snail._x = 0;
}
if (snail._y<0) {
snail._y = 0;
}
if (snail._y>500-snail._height) {
snail._y = 500-snail._height;
}
//kite has speed
kite._x += Speedx;
kite._y += Speedy;
kite2._x += Speedx2;
kite2._y += Speedy2;
//kite bounces off walls
if (kite._x>(500-kite._width)) {
Speedx = -Speedx;
grape=2
}
if (kite._x<0) {
Speedx = -Speedx;
}
if (kite._y>(500-kite._height)) {
Speedy = -Speedy;
}
if (kite._y<0) {
Speedy = -Speedy;
}
if (kite2._x>(500-kite2._width)) {
Speedx2 = -Speedx2;
}
if (kite2._x<0) {
Speedx2 = -Speedx2;
}
if (kite2._y>(500-kite2._height)) {
Speedy2 = -Speedy2;
}
if (kite2._y<0) {
Speedy2 = -Speedy2;
}
};
i want to know how i can make that code exactlly 30 FPS or really close to it, if it is even worth it.
View Replies !
View Related
[MX04]How Do You Do This..help
Hey guys and girls!
I was given a task at work to come up with a campaign to try to re-create a flip page banner that is posted on the http://www.eetimes.com. If you notcie on the homepage there is this one flip page banner that opens up fully if you hover over it. I did something like this but not quite like it. This one you can hover and the html navigation become unactive because of the expansion of the banner but when you hover away from it, the navigation becomes active again. I checked out the source and I couldnt find thw .swf file. Any suggestions on how to approach this?
View Replies !
View Related
[MX04] Help
I have a 60 second song that i want to loop between the times that i want.
for instance, I have a varible named SOUND.
if (SOUND==1){
loop song from 0 to 10 seconds over and over again
}
if (SOUND==2){
loop song from 10 to 20 seconds over and over again
}
if (SOUND==3){
loop song from 20 to 30 seconds over and over again
}
View Replies !
View Related
[mx04]
How would I use XML to update table data within HTML pages from a navigation file created in Flash? Currently I have audio playing in the background, and the problem that I am having is when using getURL the page that loads also loads the audio portion, so each new page loaded starts the audio over. I'm sure there is an easy way to use XML to simply fetch data and replace the table data using only the index.htm file so that the audio stays put as well. Any ideas?
View Replies !
View Related
[mx04]
yo
so i use this mc code to change a hat
stop();
this.onEnterFrame = function(){
if (_root.hat ==1){
gotoAndStop(1)
}if (_root.hat == 2){
gotoAndPlay(2)
}
}
the hat blinks every time i move or do anything
View Replies !
View Related
[mx04]
Hi,
I've been trying to a string into Actionscript to split into an array
via LoadVars. The requested file is written in PHP, and it builds a string
from a PHP array. When I insert trace statements within the
function shown below, the external data seems to be loading fine.
I want to assign the values to an array called 'messagetext' that lives on Frame 1 of the main timeline. However, I cannot seem to reference anything outside of the function itself.
messagetext = new Array();
//Data import*********************************
var hh = new LoadVars();
hh.onLoad = function(success) {
if (success) {
messagetext = this.messages.split("|");
trace(typeof (this.messages)); // 'messages' is the value contained in the PHP file - returns 'string'
trace(messagetext.length); // returns '110'
}
}
hh.load("http://127.0.0.1/test/comments.php");
//******************************************
trace(messagetext[1]); // returns 'undefined'
I'm sure this is pretty obvious (but not to me right now).
Where could I be going wrong ?
Many thanks in advance for any tips.
Neil.
View Replies !
View Related
[mx04]
Help!!
I have downloaded this .fla from flash kit..nice and have managed to adapt to suit my purposes for all but little but essential bit.
Its a menu navigation with alot of stuff i have no idea about (hence why i downloaded it and didn't do it myself) What i am after is when you scroll over the relevant subheadings i need these to be able to link to their pages.
The problem here is i can't just create a button over each one as it uses actionscript to define these subcategories. The only solution i thought that might work would be to duplicate the sub headings, call them into the movie asit does already and place an invisible button on each one of them....is there an easier way than this?
View Replies !
View Related
[mx04]
I am having a problem with Arrays and variables.
I have 10 items stored in an array, and 10 text fields. I want to populate the text fields from the array.
my array is called aCases, so in the variable field for my first text box I put aCases[0][1] this did not work.
I know I can do this - var myText1 = aCases[0][1], which works fine, but I do not want to write this out 10 times, is there a better way to do this?
IMS
View Replies !
View Related
[mx04]
Hello!
I have an interesting and very perplexing problem. I have made a few small flash banners and movie clips before and have had no problems placing them into other files. However, I'm working on a personal site for my boyfriend and for some reason, the flash on the index page will not load at all (IE browser is the only browser I have available to test atm)...it looks like IE is still attempting to "download" the file. The file itself is not that big (21kb)...the gallery has a larger groupings of flash files and works better than the flash on the index page. I've tried it locally and it works fine. You can view the website here
Any help would be greatly appreciated. I'm new to working with flash and am very confused as to why my simple movie will not work.
View Replies !
View Related
[mx04]
Hi all ,
I would very much like to use this script in my topbanner
http://www.flashkit.com/movies/Anima...9661/index.php
But I would like to make the animation bigger , I have tried a few things like just making the image bigger but that doesn't work , any ideas on how I can do this?
View Replies !
View Related
[MX04] How Do I?
<a href="http://smg.photobucket.com/albums/v288/Tonto14/Flash Work/?action=view¤t=webinerfacefinished.swf" target="_blank"><img src="http://img.photobucket.com/albums/v288/Tonto14/Flash%20Work/webinerfacefinished.swf" border="0" alt="Photobucket - Video and Image Hosting"></a>
i want that code to show up as the swf on my myspace page, how do i save the file to do that, i tried publishing as a html file but i couldn't get it to upload via photobucket, each time i tried enterign that code onto the page it shows up as two little dots......
View Replies !
View Related
[MX04] How Can I Do This?
i wanted to make something similiar to the look of the button on the over state...
http://www.flash-template-design.com...w.php?tid=1408
not the flips and what not...just the glowin hi-tech screen lookin square.. that the button number is in...
Thanks!
View Replies !
View Related
[mx04]
I am trying to change a script for rotating images to control it by the "left" and "right" keys of the keyboard. It now works (x) mouse position. moving mouse to left or right will change direction and speed.
The probleme is I seem to be unable to change the _xmouse into a variable that is give by the
on (keyPress "<Left>") {
_root.keyposX = 0;
}
I would really be great if someone was time help me on this.
gr diemster
---------------- org script ---------------
imagelist = ["images/01.jpg", "images/02.jpg", "images/03.jpg", "images/04.jpg", "images/05.jpg", "images/06.jpg", "images/07.jpg", "images/01.jpg"], "images/01.jpg", "images/01.jpg";
MovieClip.prototype.rotation_menu = function (imageList, posX, posY, alpha, focus, posZ, radius, loading, turnfactor)
{
var angle = 0;
var images = [];
var pi = 2 * Math.PI;
var image, dimension, piangle;
var xfactor = 300;
this._x = posX;
this._y = posY;
this._alpha = alpha;
for (var i = 0; i < imageList.length; i++)
{
image = this.attachMovie ("loadingclips", "image" + i, i);
image.wphase = pi / imageList.length * i;
image.container.loadMovie (imageList[i]);
if (loading == false)image.window._visible = 0;
images.push (image);
}
this.onEnterFrame = function ()
{
xfactor =_root.keyposX;
//_root.keyposX =_xmouse
//angle += center._xmouse / turnfactor;
angle += center._xmouse / turnfactor;
//angle += center.keynum / turnfactor;
if (angle >= pi)angle -= pi;
if (angle < 0) angle += pi;
for (var i = 0; i < images.length; i++)
{
image = images[i];
image.x = radius * Math.cos (image.wphase + angle);
image.z = radius * Math.sin (image.wphase + angle) + posZ;
dimension = focus / image.z;
piangle = Math.atan2 (image.x, image.z);
image._x = image.x * dimension;
image._xscale = -100 * dimension * Math.sin (image.wphase + angle + piangle);
image._yscale = 100 * dimension;
image.swapDepths (-(int (image.z)));
}
};
}
//imageList, posX, posY, alpha, focus, posZ, radius, loading, turnfactor
center.rotation_menu (imagelist, Stage.width/2, Stage.height/2, 100, 600, 600, 200, true, 8000);
View Replies !
View Related
[mx04]
Hi. can someone instruct me how to modify a Flash file to always start from a particular frame when on the net. This is for a return page, where I don't want to have to sit through an intro loading up again. I want to edit this page and I've found the point I want it to start from-frame #250-but I want this section of the file to actually be Frame #1.
View Replies !
View Related
[mx04]
i want to click a button in my site and have a window open over my site but with no web navigation options at the top, ive tried a few scripts but cant do it...can someone help...i want this effect www.mutinybikes.com when u click on the highlited text...
thanks alot
View Replies !
View Related
[mx04]
Please, can somebody help me make a flash?
I have 3 different jpg pictures 120x120px. The 2 first pictures shows a coin, front and back, the last picture has white background with an information in black text.
I want this to happen: The first picture shown the coin front(picture1.jpg), then you take the mouse over the first picture the picture rotate horizontaly and shown the coin backside (picture2.jpg) and stop there. If you take the mouse pointer away from picture, the picture1.jpg will show again. The next are, if you press the mouse buton down over the same, you will read the text (picture3.jpg). If you release the mouse the picture1.jpg will show again.
Hope that somebody can read it out for me?
Best regards, John Arild Pettersen, Norway.
View Replies !
View Related
[mx04]
Hi,
I have a movieclip into which I load an swf file. I would like to duplicate one of the movieclips that is loaded in the swf file. But I don't want to keep it inside the holder movieclip for the swf file; I'd like to move it so that it's nested within another movieclip on the stage.
How do I do this?
Thanks!
View Replies !
View Related
[mx04]
Hello everybody
Iam new to this forum
I have some doubt reg.
HOW TO OPEN BROWSER/POP-UP WINDOWOF SPECIFIC SIZE USING JAVASCRIPT IN FLASH
thanks
View Replies !
View Related
[mx04]
I am pretty new to flash, and I am trying to make a stickfigure animation.
I made the stickman, he has a basic head, torso, arms (with joints at the elbows), and legs (with joints at the knees).
Whenever I move his arms or legs so that they are overlapping other arms, legs, or his torso, it makes a joint on the overlap point. It attachs his arm to his torso, for example. And when I try to move that part of the arm, it takes the torso with it, thus completely messing up the figure.
Why does it do this? Do I need to make each individual body part a different layer?
View Replies !
View Related
[mx04]
I've got a movie that resizes, but there are two problems:
1. I cannot add a margin between the bottom products (commented actionscript on line 75 seems like it should work, but doesn't).
2. Vertically stretching the movie works, but it screws up when reduced.
If anyone can help, please do.
Movie attached.
View Replies !
View Related
[mx04]
I was watching this "How to" video about ActionScript, it looked like 2.0, on the video the person hit a button and the ActionScript panal opened in another window. So, my question is, how do I do this in MX2004? or do you think this was a Flash 8 he was using?
Thank you
View Replies !
View Related
[mx04]
Hi Okay this is what i'm doing
i have 5 Frames
okay first Frame just sets the Varibles
Code:
1st Frame
// Set the Variable
var Num = 1; //Loop Pictures -- <- This Value Changes Max Set to 30 in Timer.
var thePicNum = 1; //The Picture Number To Start.
var picnum = "MC"+thePicNum; //New picture Fadeing In.
var oldpicnum = "MC"+0; //Old picture Fadeing Out -- <- This Value Changes Value Changes in Timer.
trace("Main Scene start");
//setProperty(MC1, _alpha, "100");
2nd Frame Changes the MC's Alpha by 2 each pass
Code:
2nd Frame
//
// find alpha of new pic
picalpha = getProperty(picnum, _alpha);
//
// find alpha of old pic
oldpicalpha = getProperty(oldpicnum, _alpha);
//trace(picnum+oldpicalpha);
//
// If you want to change fade speed, alter + & - amounts below!
// if the new pic alpha is 0, fade it up to 100
if (picalpha<100) {
trace("Fade IN - "+picnum+" - "+picalpha);
setProperty(picnum, _alpha, picalpha+2);
}
//
// if the old pic alpha is 100, fade it down to 0
if (oldpicalpha>0) {
setProperty(oldpicnum, _alpha, oldpicalpha-3);
trace("Fade OUT - "+picnum+" - "+oldpicalpha);
}
Loops back to frame 2 till alpha 100% then go's to next Picture
After each 100% go to Frame 4 where Timer is and Script to Call Next MC up
Code:
3rd Frame
if (picalpha<100) {
gotoAndPlay(2);
}
if (picalpha>=100) {
gotoAndPlay(4);
}
Code:
4th Frame has a MC with 4 Frames
//////////////Frame 1
play();
tellTarget ("../") {
stop();
trace("I'm Paused");
}
//////////Frame 2
start = Number(getTimer()/1000);
end = start + pause;
////////////////Frame 3
current = Number(getTimer()/1000);
if (current>=end) {
tellTarget ("../") {
play();
//
if (Num<30) {
Num = Num+1;
oldpicnum = picnum;
thePicNum = thePicNum+1;
picnum = "MC"+thePicNum;
}
//trace("pass1 - "+Num);
//trace("pass2 - "+picnum);
//trace("pass3 - "+oldpicnum);
if (Num>=30) {
Num = 0;
// Set the Variable
var Num = 1;
//Loop Pictures -- <- This Value Changes Max Set to 30 in Timer.
var thePicNum = 1;
//The Picture Number To Start.
var picnum = "MC"+thePicNum;
//New picture Fadeing In.
var oldpicnum = "MC"+0;
//Old picture Fadeing Out -- <- This Value Changes Value Changes in Timer.
}
//
}
} else {
play();
}
///////////Frame 4
gotoAndPlay("checktime");
Code:
5th frame
gotoAndPlay(2);
trace("Loop Timer!");
Okay 11 Layers Totaly works fine i have each MC on it's own Layer but the Problem now is from 12 On it won't Fade in or out it just Appears then Vanish Quick no Fadeing if anyone can Help PLEASEE DOOO E-mail at Qarbontapice@msn.com i can send you fla file if you think you can help THANKS SOO MUCH
View Replies !
View Related
[MX04] Help Plz
hi i got an assignment to do like a mini flash movie/lesson, im doing mine on shapes in cars, and i made some starts like a star and a circle donut thing in fireworks and put them on the shapes layer and on the 60 layer put a car like jsut one i drew with fire works and i tried to like put a shape tween on so it owuld transform into it but it didnt work plz help
View Replies !
View Related
[mx04]
I am newby in actionscript. I try to create a simple quiz with three questions. Each time where the player press in a mc this is invisible. If it is right score it is increased. Rather I make some error in actionscript.
Any help, … Many Thanks
View Replies !
View Related
[mx04]
hi,
all I need to do is stream a big audio file and make it loop.
I am just confused at the minute. I thought it'd dead easy but it doesn't work.
Here is my code.
Code:
var soundContainer:Sound = new Sound();
soundContainer.loadSound("test.mp3", true);
soundContainer.start(0,999);
The music plays once and stops.
There is nothing else but these 3 lines in my movie.
thx
View Replies !
View Related
[mx04]
Hello everyone....I am a total beginner when it comes to flash. In fact, this is my very first project. I replicated the ActionScript and elements from an example I found in a book I have that has two chapters on Flash. I am using Flash MX 2004. Specifically the problem I am having is as follows:
This flash movie is supposed to have a text box with the text "CEO Assistant 1.0" drop down until frame 15. When frame 15 is reached a button appears containing the text "GO". When you mouse over the button, the color of the button changes. When the button is clicked, a second textbox/control is supposed to display "text" hard coded in the action script for my button using the "on press" event.
I have gotten all of this working except for the second text control responding to the button click so it displays the correct text....any ideas or help would be appreciated.....I have attached the .fla so anyone who wants to can take a look...
View Replies !
View Related
[MX04] How To Do This
have a look on the following link:
www.onspeed.com, u'll see 3 options for the software i.e. onspeed for mobile etc. click on demo. A demo window opens and shows a little simulation (animation). There they have shown the downloading comparison (the prgress bars are moving like in windows). My question is, is that all done in flash or that bars are something like recorded first and then put in the animation?
View Replies !
View Related
[MX04] Help..
Hi guys, I've searched the forum but can't get an answer to this one. I used flash 4 and 5 years ago and have been out of the game for a while, got MX 2004 and can I hell work out how to do a simple alpha blend transition on the time line! I can get it to blend one way but not back again. please help any help would be gratefully accepted.
bren.
View Replies !
View Related
[mx04]
I've checked everywhere but i still cant figure out how to make a rotating arm shoot towards the mouse. I have the arm rotating but i'm not sure how to get the bullet shooting. Any help?
View Replies !
View Related
[mx04]
Help! I created an animated header which is supposed to play through once, when the website is launched, but not if the user goes to different pages in the website [because that is very annoying!]. I got it to play only once with "stop", but can't figure out how to keep it from playing when I go to another page on the site. Any ideas or prior questions of similar nature? Thanks!
View Replies !
View Related
[MX04] Help Please
I posted earlier but got no response. How do you make sure a contact form is secure? I have a ssl subdirectory in my root site directory. It is a shared ssl server with my webhost. If I have the .php script and the .swf file in the ssl folder that the form is pointing to, is that good enough to ensure the data is safe during transmission, even if the .swf is being loaded into my root site that's not in the ssl? Any help would be appreciated.
Thanks!!
View Replies !
View Related
[mx04]
heres one for you, i made a game with levels but you can right click it and chose forward and it skips the level!
How do i stop this from happening? as in disabling the right click?
Thanks in advance
View Replies !
View Related
[mx04]
Hello, this might sound stupid, but I am having SERIOUS issues.
ALL I am trying to do is to script my button so it goes to the beginning of my scene, the same exact scene that the button is in, There's only one scene, and the button is supposed to have folks jump back toe first frame and play it.
Please help me
I was advised to get MX 04, but I should have just stuck with Flash 4. I am a designer, not a programmer.
View Replies !
View Related
[MX04] Can It Be Done?
Hi, I'm wondering if it is possible to make a counter for a webpage in flash, without using php or asp? I dont know much about these next two languages, but preferably in either jsp or xml? If anyone could point me to a tutorial that would be great.
Thanks in advance,
Mavrisa
View Replies !
View Related
[mx04]
Hi Everybody,
I want to know how I can read text file to flash MX2004 and make the flash refresh when the text file has changed its variables
Thanks
View Replies !
View Related
[mx04]
Hello,
I'm using Flash MX and I am trying to create a Flash Detection Page. The problem is that all I can find with regards to the Flash Detection is the newer Flash 8 version. Does anyone know where I can get the old kit, with tips on how to use it?
Thanks
G
View Replies !
View Related
[mx04]
Just a quick question, you can jump back and too between 2 scenes right?
i have:
if (_root.key.hitTest(this)) {
_root.coin = _root.gotoAndStop("Level Intros",2);
This should take me back a scene and playing frame 2 of that scene i think!
But its not its not even doing anything when the 2 objects meet and all instances are named correctly! I did get it to react once but it just took me back to the beggining, any help? Thanks!
View Replies !
View Related
[mx04]
I've put together a simplified version of what I'm trying to achieve and would appreciate some help. There's a drop down menu which comes over the loaded movie. When you click a button to load another movie I would like the menu to go back up, but only if it's in the drop down state, not if it's already up. I think it's an if/else statement, but I can't get the hang of it. The full site is here which should show why I need to sort this out.
View Replies !
View Related
[MX04] Is This Possible?
I'm attempting to create a dynamic health bar.
I have a hitTest, where my guy's attack hits the enemy, and if it hits, it adds 1 to my variable playerhit. Now is it possible to convert this variable into a percent, then use the percent to change the health bar??
so if the guy's health is at 69%, the hp bar shows 69% left.
thanks in advance
Farfig
View Replies !
View Related
[mx04]
Help.
I'd like to use a button to open a window. I would also like to be able to make the window draggable.
I tried the attachMovie with no effect. The movie in my library would not load into my_mc. So I then tried using the "loadMovie" action and load an external .swf into a mc container. This works.
How can I use a button in the loaded .swf to close it?
How can I make it draggable?
The idea is to open a larger view of an image and then close it.
Thanks,
View Replies !
View Related
[MX04] How Would You Do This?
I have got to make a simple site that loads in 5 randomly selected cards which are jpeg images.
What do you think would be the best way to achieve this allowing for different browser settings & resolutions?
1.Make 3 versions of the movie for each res. E.g. 800*600, 1024*768 or 1280*1024?
2.Make 1 version of the movie & set a standard size for the jpegs to be loaded in & then use the stage object to jiggle about with the stage contents?
3.Just set the “Publish Settings” to 100% & ensure that the jpegs to be loaded are of a size that will enable them to scale up well on large monitors?
Any help much appreciated.
View Replies !
View Related
[MX04] [F8] Hello
well, i joined so i could use the myFK thing to save tutorials that i wanted to look at again later, im assuming thats what its for? but whenever i click myFK it makes me login again and then takes me to my profile :/ im new so maybe im not doing something right
i am eric age 16 im pretty new to flash all ive done so far is a ping pong game and a spaceship game which i havnt gotten around to releasing yet
View Replies !
View Related
|