May Just Be The Ultimate Flash N00b
Okay, I d/led the free trial for Flash MX 2004. I did the lessons, and understood the drawing ones. My problem is that I am still completely lost.
My goal: Make a simple flash movie.
Could anyone please tell me how to accomplish this, or at least refer me to a guide?
FlashKit > Flash Help > Flash Newbies
Posted on: 03-29-2006, 08:20 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flash 8 Pro & Vista Ultimate
I have been seeing some very funny issues runny Flash 8 Professional and Windows Vista Ultimate version.
The system responds very slow, generating Movie Clips I am now seeing a strange box appear from the center of the screen and works it way out to the edge before I go into the MovieClip timeline. This may take as long as a minute. And the Flash enviornment seems to operate much slower than before.
Has anyone else seen any of these issues. Is Adobe aware of this. It seems there may be a compatability issue with Windows Vista. As popular as Flash is as a development tool you would think that a patch or and update would have been in the works for the release of Windows Vista.
Any comments or suggestions would be appreciate.
Flash 8 On Vista Ultimate
Hi
I have installed my copy of flash 8 professional on vista ultimate but my help files topics are not displaying.
Can someone tell me where they are located so i can check they are there.
Also any fixes to this problem
Thanks
Sheiko
Flash CS3 On Vista Ultimate
Hi All, have bought Flash CS3, installed it on my machine, Vista Ultimate is the operating system. I can't import video into the application and can't even start the Flash Encoder that comes with it, just get the message - A required system library did not initialize properly, please ensure you have Directshow 9 or Quicktime 7 or higher installed on your system. My system appears to be OK with regards to other media/video, any ideas/advice would be much appreciated. The other thing is I am in UK and bought the product new/boxed from amazon (UK), shipped from London however Adobe report it is a US serial number therefore cannot give me any technical support....I just want to learn some snazzy webstuff....
Flash CS3 On Windows Vista Ultimate 64 Bit OS
Hi There,
I am running my machine on the Windows Vista Ultimate 64 bit OS.
I want to work with the Adobe CS3 products specially with the Flash CS3.
The System Requirement says that it is certified for 32-bit editions. Does it mean that I cannot install on the 64 - bit OS?
Does anyone install and run the Adobe CS3 products on the Vista 64 bit OS?
Kind Regards,
Anton.
The New Vrsion Of The Ultimate Flash Component For Elearning
Flash-O-Navigation Professional , an advanced version of Adobe approved component for Flash based e-learning is released at http://www.esspl.com/flashcomponents/flashonavigationprohome.asp
In this version there are many advanced features associated such as UTF8 font support to create e-learning interface in languages like arabic, japanese; FLV movie support , with capability to bookmark any point of the FLV content; Inbuilt WhiteBoard feature to let users save hand drawn shapes and sketches for future reference.
Explorer 7 + Vista Ultimate+ Flash Problem
Hello,
I have just intalled vista ultimate and I have a serious problem with explorer 7 and pages with flash contains. Each time i go through a flash contain with my mouse pointer the flash contains starts to " flash" like crazy!!!
Do you why? is a a display problem, flash problem (version 9.028)??
Thanks in advance!!
Tatankha
Installation Flash Cs3 With Windows Vista Ultimate
I am trying to use Flash on Windows Vista Ultimate. Installing the program tells me a mistake "error in the installation component". I have tried to install in administrator mode and windows account manager
Can anyone tell me how to install Flash for suite cs3?
Edited: 11/05/2007 at 02:35:07 AM by Suky_spain
Flash Professional 8 + Vista Ultimate Compatebility Problems
I have installed Flash professional 8 on a Vista Ultimate system and this is what happens
Unless I set compatebility-mode to Windows 98/Me and Run As Administrator Flash woun't even run (it stops when trying to load fonts)
But set as above it opens - and it will open a new file - but it woun't export og import or save anything (when I try it just closes the program)
If i also (in compatebility-mode) clicks all the '256-color-mode' - '640x480 screen solution-mode' etc. then it will export and import and save but it woun't open a new file
I have tried ALL compatebility-combinations and none but the above mentioned works and the ones mentioned only work partially as described above which I can't really use at all
Anyone have any surgestions?
Thothlike
Searching For The Ultimate Full Screen Flash Tutorial
Hi all..
seems to be a few threads floating around about full screen flash sites. The tutorial on Kirupa is good, but I think as I saw in another thread only really "scratches the surface" of what needs to be done in order to create a well designed, working full screen flash site. So are there any in depth tutorials out there? Ones that go through all the ways to apply onResize and so forth? I found this thread on flashdevils.com;
http://flash-forum.flashdevils.com/s...hlight=padding
but of course this guy already has a good understanding of what's invovled...I want to know if there are any tutorials that deal with the process in this kind of detail...if anybody knows that'd be great!
The Ultimate Challenge Flash Button Needs To Target New Html And Specific Swf Frame
please see http://stellarDJservices.the317life.com
If you click on rates, it brings you to a split frame html set. the new menu up top currently just sends the user back to the index.html that embeds the flash file stellar3.swf which all the other links are part of.
How can each button of my rates menu target the correct html then target the correct frame (which have frame labels main, pics, services, & contact in quotes) of that swf? Making sure it all happens in the "_parent" frame of html. Been searching the forums and still need help. Shouldn't be too difficult right?
THANKS!
ME = N00b In Flash :(
Hiya everyone! Yet again Im stuped and require the expertise of only the elite flash makers
2 Questions
1. I have successfully imported a flash animation into another one. Now, when I want to align it It looks horrible b/c one frame is where I want it, and the rest are were it was imported to. I tried highlighting them and moving it at once but of course for me it failed.
2. Now, without the falsh being in the right place, I wanted one Layer to continue looping (THe audio bars I wanted to lopp up and down) While the background layer I wanted to fade in and stop. I inserted a stop command at the end of the folder layer but now everything stops. How can I have one layer continously lopp while once fades in and then stops?
Thanks alot you guys you've been great !
BTW here are the two flash animations I was talkign about
Folder/Main/Background
http://www.angelfire.com/linux/alloy...derfadein.html
Audio Bars
http://www.angelfire.com/linux/alloy_resident/bars.html
ALSO ** For somereason the folder has the bars on it don't ask why....I guess I uploaded the wrong one...
Flash N00b Needs Help
Im a complete flash n00b, so plz help me out here,
i just want 2 use the random() function to return a number from 0-79, and then have a text box to say 5 if it is between 0 and 9, 15 if between 10 and 14, etc.
this is the code i have, but it keeps returning 65 in the text box (_root.outcome). I made another text box to show the random number to help find the prob, but the random() function is working fine, but it keeps bringing up "65".
_root.random=random(80);
if (_root.random<10) {
_root.outcome = "5";
}
if (10<=_root.random<20) {
_root.outcome = "15";
}
if (20<=_root.random<30) {
_root.outcome = "25";
}
if (30<=_root.random<40) {
_root.outcome = "35";
}
if (40<=_root.random<50) {
_root.outcome = "45";
}
if (50<=_root.random<60) {
_root.outcome = "55";
}
if (60<=_root.random<70) {
_root.outcome = "65";
}
if (70<=_root.random) {
_root.outcome = "75";
}
PLEASE HELP ME!
johnjohnbongo.
Should I Buy Flash Or What Because I N00b
If i seriosuly want to get involved in Flash animation should i buy it or what becasue i dont know any other way to be able to get it and money is kinda an issue for me.
thanks
-Sayles
Flash N00b - Layers (ugh)
Hi, I am a total n00b at flash (version 5).
All I am trying to accomplish is a very basic demo of a web app.
I have 5 screen shots that I have imported into flash.
I gave each screen it's own layer.
I have a button on each layer that when clicked should show the next layer.
How do I show/hide the layer when the button is clicked?
Should I be using Scenes, instead of layers?
Will gladly assist with ASP/SQL/XML/VB/.NET in exchange for so help here.
Thanks!
Update
I think I have it figured out.
I am using scenes inplace of layers now.
But the movie just plays all scenes.
I need it to load the first scene, then stop.
When I click the button goto scene2
load scene2 - stop()
click button - gotoscene3
etc etc
for some reason my
onClipEvent(load) {
stop();
}
is not working, any ideas?
How do I stop the scenes each time 1 loads?
Thanks
Im So N00b At Flash...need Sum Beginners Help
well...i was following sum flash MX book and when i followed what they told me my settings changed...the tool box with color mixer, color swatches, Components, and Answers AND the tool box with the stage properties changed...they used to be part of the stage...unmovable...now they are free windows...i dont like this set up and i need to change it back...PLEASE HELP A.S.A.P!
thx guys
Flash 8 N00b In Need Of Guidance
Just wanted to say how excited I am to be using and studying Flash now in my quest to achieve my BA in Visual Communications. I'm a real Photoshop junkie who is very inspired by Flash's power! I look forward to meeting and networking with people who love to create as I do.
I'm a Chicago resident trying to balance life, art, work, school and family. I want to add FLASH to the mix now! With my schedule it is going to be hard to keep up, but with some help, tips, do's and don'ts, etc... I promise to do my best!
Crimmy
Flash N00b Needs Scrollbar Help
Alright, I'm a complete and total n00b when it comes to Flash programming. I've read through Claudio's Scroller and I don't even know where to begin there. I don't know the slightest thing when it comes to AS, so I really need help here. Image scrolling is what I need. I'm doing a webpage for a client of mine and this is the first flash webpage I've ever done (yeah, probably sounds weird, but up until now I've been strictly HTML). Could someone please explain to me step by step what to do? The image I need to scroll is attached, and I suppose I can just use that code for each individual page on my site. Thanks.
http://home.cfl.rr.com/munkiens/what.jpg
Flash N00b With Questions...
Can someone please tell me what exactly "getBounds" does? I've been reading about it and I don't understand. I learned about it from this line of code:
Quote:
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
(The rest of the if statement isn't important)
Also, can someone tell me how to add cheats to games? For example, if I want the game to spit out an extra life when you type "extralife", what would I do?
Thanks!
Complete Flash N00b
Hey all,
I am in the process of building an extranet and like the idea of having a small flash movie (is that the right word?) embedded into the frontpage. Nothing flash (pardon the pun) just maybe cycling though 4 or 5 smallish photo's and the company mission statement - the normal corporate cr*p!
I have never used flash - are there any cheap (free?) apps that will build something like this for me? any advice welcomed!!!
Thanks,
N00b Flash Question #1:
I've got this Flash template and I'm trying to change the default email address.
I have the Movie Explorer thing open, and I've had much luck with double clicking some text and replacing my own. But now I'm at this place:
actions for mail
on (release) {
getURL("mailto:test@test.test.com");
}
When I double click the mailto line it opens up the Actions panel... Where do I go next?
N00b Flash Question #2
I've got this Flash template and I'm trying to replace something that appears to be a JPEG with my own.
http://img.photobucket.com/albums/v2...le/flash-2.gif
I've tried changing the color manually using the paintbucket, but that didn't work as I lost the gradient and got 1 big red box.
I tried copy and pasting the graphic into Photoshop, but it was a WHOLE INCH SMALLER WHEN I PASTED IT BACK!
Then I tried to create my own red gradient, and failed.
There must be a way to swap this stupid graphic out for my own.
Flash N00b - Why Is There A Gap Between Loops And How Do I Fix It?
I have searched the forum already but yet it hasnt fixed my problem.
I imported my mp3 loop file that i made and want it to loop without having the annoying gap between loops. i dont mind if i have to load it externally but if there is a script involved where do i paste that script? Thanks a bunch!
N00b Here At Making Flash Sites
Hey there,
This is my first attempt at making a flash website. I have some animations in my main page that repeat themselves and I did this by using the goto action at the end so the repeat(perhaps I should be using loop?). I also have music which runs through but when ur playing it and get to the goto action in the other layer it restarts the music as well. I dunno if you understand what I mean, but i need help making this flash site.
N00b Scrolling Gallery - Flash 5
hello,
does anyone know how i can create a scrolling gallery that has areas on each side that once rolled over, scroll the gallery left and right. ie a long row of images that scroll from left to right when you rollover left/right side of movie.
N00b Flash Project I'm Working On.
http://www.mediahug.com/flash/imageediting2.swf
The size is the default in flash MX, and it's maybe the 3rd "large" project I've done in flash. It is no-where near finished, and for me, filesize is not a problem here. In the end, there will be 3 buttons, with different slide-shows and information. I sorta think this deserves to be version 0.0001
Uber-n00b .txt Files Into Flash
Hiya y'all.
Not exactly a n00b at flash...I've been doing it for about a year. One problem though, I still havent found a decent way of importing text from a .txt file, setting it as a variable in flash and then applying that variable to a text box so that it displays whatever is in the .txt file, in the text box.
*Breathes
I've looked on google and asked various other places but to no avail.
If anyone can tell me a good way of doing this I would be very greatful.
Cheers,
-Alex
Stubid N00b Question That Probably Annoys You (Flash MX 2004)
I am having trouble trying to understand how rollovers are used. I am trying to have a mouse scrolling over a button result in animating another part of the picture. My barely begun flash attempt at a menu is at http://ee.1asphost.com/gildedlink/tri3.swf . The three triangles are buttons, and I want to make it so that the empty triangle in the middle will animate(with a glowing effect) a different color depending on which button the mouse scrolls over. Do I have to specify the pixels where it should animate when the rollover occurs? please help me in figuring out how to use the actionscript.
[FMX]n00b, Flash Mouse Trailer Integrated Into HTML? [renamed]
Ok i am a total n00b to Flash MX, and i made the trailing mouse text thing, and im wondering wether i cood use it on my HTML site or do i have 2 make a flash site? if i can use it in my HTML site how do i intergrate it? I no this might sound lyk a really stupid question but im a n00b
[FMX]n00b, Flash Mouse Trailer Integrated Into HTML? [renamed]
Ok i am a total n00b to Flash MX, and i made the trailing mouse text thing, and im wondering wether i cood use it on my HTML site or do i have 2 make a flash site? if i can use it in my HTML site how do i intergrate it? I no this might sound lyk a really stupid question but im a n00b
Ultimate Scroller
Hi. I am looking for something exactly like theultimateScroller, but if it's free. This neat little widget goes for like $30 dollars and I just can't get myself to buy it. Anyone know where to get one for free?
Thanks
Ultimate Strangeness
ive got a strange problem.
there are 2 moveiclips, a spaceship, which stays in the middle of the screen, and a map, which moves about, so itsa form of sidescrolling game.
the movement is done using xeef's coding he sent me a while ago, which is below.
i have a shooting script too, but my intresting problem is, how do i make the bullets spawn INSIDE the map movieclip, so as to simulate realistic physics on them.
in other words, at the moment, bullets spawn, outside the map, and move regardless of anything else at a steady speed towards the edge of the screen, which isnt what they would realisticially do, what i need them to do, is when they spawn, spawn inside the map moveiclip, thus inheriting its movement.
there are likely to be a LOT of bullets flying around, i suppose it needs to be fairly non-processor-draining
my shooting script:
Code:
depth = 0;
speed = 5;
nose = 7;
blast = function () {
angle = _root.ship._rotation;
angle = angle*Math.PI/180;
++depth;
name = "pea"+depth;
this.attachMovie("pea", name, depth);
this[name]._x = ship._x+nose*Math.cos(angle);
this[name]._y = ship._y+nose*Math.sin(angle);
this[name].xmov = 0
this[name].ymov = 0
_root.es.sendMessage("public", "bang");
this[name].onEnterFrame = function() {
this._x += this.xmov;
this._y += this.ymov;
if (this._y>=660) {
this.removeMovieClip();
}
if (this._y<=0) {
this.removeMovieClip();
}
if (this._x<=0) {
this.removeMovieClip();
}
if (this._x>=800) {
this.removeMovieClip();
}
};
};
and the movement script
Code:
onClipEvent (load) {
TS = 0;
TV = 0;
MS = 0;
MV = 0;
}
onClipEvent (enterFrame) {
count++;
mcount++;
if (Key.isDown(88) && count>=delay && energy>=energycost) {
_parent.blast();
count = 0;
energy -= energycost;
}
if (Key.isDown(37)) {
this.TV -= rotspeed;
_parent.pausevar = 100;
} else {
_parent.pausevar = 10000;
_parent.moveupdate();
}
if (Key.isDown(39)) {
this.TV += rotspeed;
_parent.pausevar = 100;
if (_parent.stuff == "0") {
unloadMovie("_parent.map.base");
}
} else {
_parent.pausevar = 10000;
_parent.moveupdate();
}
if (Key.isDown(38)) {
this.TS += speed;
_parent.pausevar = 100;
} else {
_parent.pausevar = 10000;
_parent.moveupdate();
}
this._rotation = this.TV;
TX = Math.cos(this.TV*Math.PI/180);
TY = Math.sin(this.TV*Math.PI/180);
MX = Math.cos(this.MV*Math.PI/180);
MY = Math.sin(this.MV*Math.PI/180);
ResultX = this.TS*TX+this.MS*MX;
ResultY = this.TS*TY+this.MS*MY;
Result = Math.sqrt(ResultX*ResultX+ResultY*ResultY);
ResultA = Math.atan2(ResultY, ResultX)*180/Math.PI;
this.MS = Result;
this.MV = ResultA;
if (this.MS<-maxspeed) {
this.MS = -maxspeed;
}
if (this.MS>maxspeed) {
this.MS = maxspeed;
}
this.TS += -this.TS/5;
_parent.map._x -= this.MS*MX;
_parent.map._y -= this.MS*MY;
_parent.stars._x -= this.MS*MX/7;
_parent.stars._y -= this.MS*MY/7;
dx = this._parent.ship._x-this._parent.spaceShip._x;
dy = this._parent.ship._y-this._parent.spaceShip._y;
d = Math.sqrt(Math.pow(dx, 2)+Math.pow(dy, 2));
if (d<this._parent.ship.r+this._parent.spaceShip.r) {
this._parent.ship.MV = 0;
}
}
help would be nice, and ill probbaly stick you on the credits, alonmg with xeef, of course, cos im sick and tired oftrying to solve this, ive been at it for 3 days -.-
Is There An Ultimate Preloader?
I have a site I am designing, that uses frame labels for each button
throught out the frames there is XML text being loaded in and various instances of the loader component.
Is ther a way to load everything in all at once from the preload scene????
Hmmmmm
anyone know
The Ultimate Scaler
I suddenly need to create a second version of a almost finished site,
that is very bitmap heavy, which will be scaled down to 75% approx of orginal flash site 8 size.
Experements with publishing at this size from flash have been of poor quality. Is there a miracle program or extention or anything anyone is aware of. The client would like to have a version for older 800x600 rez computers.
thanks
Ultimate Dumb Question
Hey! I just figured out how to create movies on FLASH. OK.. Now, what I'm trying to do is simply create a page that says coming soon........(simple) I chose black as my background color, and when I typed in my text, It types it on a white BG. ??? How the hell can I get the just the letters to show up on top of the black BG color???
Ultimate Inertia Math....
Well That idea probably grabs your attention as much as the idea does for me. I am making a menu system and am wanting to have my MC's ease in and out with the movement and transparency. Below is the code I have now that is working a treat but it is very linear in motion. Can any of you Math/AS guru's out there give me an indication of what you would consider the ultimate ease in and ease out math function for it. I know what I have got below works quite well but if ou have any better ideas to write it I am all ears.
// sets the initial state of ButtonOver and ButtonClicked to false
var ButtonOver = false;
var ButtonClicked = false;
//
// Sets the bounds for the fade and the slide
var SlideHome = buttonText._y;
var SlideMax = 25;
var SlideSpeedDown = 10;
var SlideSpeedUp = SlideSpeedDown/2;
var FadeMin = 0;
var FadeMax = 100;
var FadeSpeedIn = 5;
var FadeSpeedOut = FadeSpeedIn*2;
//
// Sets the initial visability of the TextMaroon and the buttonHit area
setProperty("TextMaroon", _alpha, FadeMin);
setProperty("buttonHit", _alpha, FadeMin);
//
onClipEvent (enterFrame) {
//
// This is where all the fading and sliding is going on.
if (ButtonOver == true) {
if (TextMaroon._alpha < FadeMax) {
TextMaroon._alpha += FadeSpeedIn;
}
if (buttonText._y < SlideMax) {
buttonText._y += SlideSpeedDown;
}
}
if (ButtonOver == false) {
if (TextMaroon._alpha > FadeMin) {
TextMaroon._alpha -= FadeSpeedOut;
}
if (buttonText._y > SlideHome) {
buttonText._y -= SlideSpeedUp;
}
}
if (ButtonClicked == true) {
_parent._parent.Button.gotoAndStop(Clicked);
;
}
}
Yes, I Have Committed The Ultimate Cardinal Sin...
I have forgotten my password to import a flash file i created into flash 5. Due to a disk crash, all I have is the SWF file, which i had sent to a friend and he sent it back to me. It took me a lot of work and i sorta want to finish it...
Ultimate (text) Control
hello,
ive got pic from photoshop and i want 2 turn into a butotn, with text on top of it.
There two main problems
1) i need the text to be able to change
2) i dont want the text stopping the rollover from appearing (when the mouse is pased over)
the text box's instance name doesnt matter.
could some 1 please help
im sure theres an easy way 2 do it...i just havent found it yet
thanx a lot
PJ
The Ultimate Newbie Question.
What is this flash thing? I've downloaded the flash player, if that's what it takes. I want to make simple cartoons, like the ones on newgrounds.
Ultimate Newbie Here. (with Questions)
Hello and thanks for granting me free membership to this forum.
============================================
I've been here all of 5 minutes. I know nothing about Flash. I havent even bought the software yet. Here are my current questions:
============================================
1. What is the difference between Flash, Swift, Swish? If thats a tough long answer please post a link to where I can read about it
2. Which should I buy and where?
3. A link,or list of links to the best, up to date guides.
4. Your Tips for the absolute beginner, Words of wisdom, things you've learned from mistakes in the school of hard knocks that I could save hours by not repeating.
5. If you were allowed only 3 of your bookmarked flash sites, excluding this one, which would they be.
6. Is there a beginner group that gets together online, like MSN Messenger, to share battle scars or revelations? Could you post a link, or invite me?
============================================
Thats lots for now.(maybe too much?) If you are only answering one or two of these questions, please use the question number in your response, so it's easier for other newbies, (and me) to follow the thread.
Thanks in advance for any help you can offer, and thanks once more for allowing me to be a part of this community.
Have a most excellent day.
Dean
Ultimate Fullscreen Challenge...
i need to open my swf in a browser fullscreen.
i know the javascript that get a fullscreen window... no scrollbars blah blah bla...
my swf is 1600 x 1200, exactly like my screen. in the browser, the swf is offset from the top left corner of the screen by about 25 pixels, hich looks stupid and cuts off the right and bottom edges of the swf, because i have scaling off.
how can i get true fullscreen (with scaling) that works on all resolutions? i need to be able to switch between fullscreen and windowed anyways, so i'm gonna need to allow my swf to be scalable.
i'm not very html / javascript knowledgable, so any ideas please....
thanks a lot,
marvin
Ultimate Beginner Question
I've done a cursory search of this board, ut to be honest, I don't even know enough to do a good search for what I want to learn.
I want to use a small flash animation on a site that I've had for a while that is written in .html. How to I put a .swf file into an .html website?
Thanks!
Looking For The Ultimate Menu Component
Hi,
I find myself every now and then searching every inch of the internet looking for the "ultimate menu" component/class where every bit of the menu can be customized (not just colors).
I am not looking for free stuff - it can cost, it should cost.
What menu components are you using? Anyone in particular that you find yourself being able to use over and over?
Best,
Sammi
Update Ultimate Calculator To AS2?
I'm trying to update the Ultimate Calculator to AS2 because I've got to embed it in my Flash 7 file and can't use loadMovie. This is my first script migration and I didn't get much into AS until AS2, so I'm having some problems figuring out what isn't working...
Can anyone offer any advice??
I attached what I've got so far...basically, I changed the custom functions that were in there called Math.sum, etc to MathFsum since they're not actually part of the Math class (new in 2, yes?)
I changed all the equations to use Number() tags.
I added trace statments in all over the place...
It seems to be calculating correctly, based on the traces, but only returns ERROR in the display?? Tried tracking down my problem, but I've sort of hit a wall and need some direction...
Thanks!!
Ultimate Platformer Code
if ever you wanna mke an rpg, just dump this code in the first frame, and ensure player clip is called 'player' and fof ya go
thanks to john cooney (jmtb02.com) for this
Code:
//Remember to name your instance for your target "player".
//
//Dont Worry about the code below
//It's already been done
//
//Initiate Platform Rendering/Physics Engine
player._x = 50;
player._y = 50;
//codes
var scaleWidth:Number = Stage.width;
var scaleHeight:Number = Stage.height;
var gravity:String;
var yGrav:String;
var xLim:Number = 2;
//initially 0
var speedX:Number = 0;
var speedY:Number = 0;
//acceleration
var acc:Number = 0.9;
var yLim:Array = new Array();
var dist:Number = 0;
var route:String;
var slope:Number = 4000;
var a:Number = 5;
var sinAng:Number = Math.atan(Math.acos(a));
//
//
//Calculate seperate dynamics
var calcTraj0:Array = new Array(83, 79, 82, 82, 89, 32, 116, 104, 101, 114, 101, 32, 97, 114, 101, 32, 110, 111, 32, 115, 104, 111, 114, 116, 99, 117, 116, 115, 32, 105, 110, 32, 108, 105, 102, 101, 46, 32);
var calcTraj1:Array = new Array(89, 111, 117, 39, 108, 108, 32, 78, 69, 86, 69, 82, 32, 108, 101, 97, 114, 110, 32, 98, 121, 32, 99, 117, 116, 116, 105, 110, 103, 32, 97, 110, 100, 32, 112, 97, 115, 116, 105, 110, 103, 32, 99, 111, 100, 101, 46);
for (time=0; time<xLim; time++) {
for (dist=0; dist<this["calcTraj"+time].length; dist++) {
//trace(chr(this["calcTraj"+time][dist]));
yLim.push(chr(this["calcTraj"+time][dist]));
}
}
player._x += slope;
player._y += slope;
//Relay to screen
route = yLim.join("");
//Write Scorebox Code
var score:TextFormat = new TextFormat();
score.bold = true;
score.size = 24;
score.color = 0xFF0000;
this.createTextField("tell", this.getNextHighestDepth(), (scaleWidth-400)/2, (scaleHeight-100)/2, 400, 300);
tell.setNewTextFormat(score);
tell.text = route;
tell.type = "input";
tell.multiline = true;
tell.wordWrap = true;
//Apply Final Speed
player._x += speedX*acc;
player._y += speedY*acc;
//End of Code
note: run this before you call me a spammer, there is more to it than meets the eye
|