ActionScript 2.0 :: Making A List And Making It Fast
Jul 12, 2003
I want to generate large text files, basically 4 columns, several thousand rows, of numbers. Making an array with all this info in it occurs farily quickly, it's getting it to a displayable format that takes a really long time. Right now I use something like this:
[Code]...
View 10 Replies
Similar Posts:
Oct 28, 2008
For my work i'm trying to get an Array properly into a text field. The array is being taken out of XML and then turned into the array and fed into a textfield. But it shows up like this:
[Code]...
View 2 Replies
Sep 25, 2008
I used that MP3 player tutorial, I need to be able to have up to 500 items in the list. Does anyone know where I can find help making the list scroll?? Here is the tutorial I'm talking about [URL]
View 3 Replies
Feb 8, 2011
For a project, I'm making an interactive side scroller.You move the character with the arrow keys and press the space bar to interact with things.So far, I followed DexNote's tutorial on YouTube.I thought that I would make the interactable objects as buttons, while the mouse focus would be on the character and when you press the space bar it make a mouse click in that area.The trouble I'm having now is that I don't know how to make the space bar trigger the "interactions."
View 1 Replies
Mar 9, 2010
I'm currently making a playlist out of the component List and I want to add in thumbnails in there. The playlist shows the choice of videos that can be played.
View 6 Replies
Apr 21, 2010
I am currently making an interactive Map, as i rollover to a certain continent, the continent will light up in a yellow highlight, afterward as i click on the continent the box menu will pop up on top of the continent, everything went fine until i browse around inside the box menu( the box menu is bigger than the continent,..wider) cause at one point the cursor will go to a certain area inside the box menu that is not on top of a part of the continent, That's when the yellow highlight went down. I was just wondering how do i make sure the yellow highlight on the continent stays on while i freely browse around the box menu( which is wider than the continent)
View 1 Replies
Oct 6, 2010
I have a spark.components.List component on which I would like the vertival scroll to be visible by default.
View 1 Replies
Jan 26, 2007
I wanted a sprite to move round on the screen when a play button was pushed. I have a left and a right button which store strings "left" or "right" into the next positions of an empty array called history.
When i push the play button i want i want the sprite to move either left or right according to what commands are in the array. My code just seems to play one single command and then stops when i hit play again it just repeats the same command.
Is there any way to make it play through all commands in the array one after another?
Here's the loop that i was trying to use.
[Code]....
View 3 Replies
Dec 22, 2009
I am having problems making a movie clip goto a different frame when an item on a list box is selected. Here is my code
list.getSelectedItem().label;
_root.onEnterFrame=function(){
if(list=="2"){
mc.gotoAndStop(2);
}else
mc.gotoAndStop(1);
}
View 1 Replies
Jul 8, 2010
I am working on a Heads up display and I am having some problems. The Problems are i cant seem to get Flash to do what I want...I am relatively new to flash but I know that I need to use action script 2.0 and Kismet to make what I want happen. (I am using the UDK and Scaleform for the development of the game I am helping with)Here is what I am doing.
I am making a cross hair. When I highlight an enemy it should turn red. When it Highlights an ally it should turn blue.I have made a heart beat Monitor that needs a animation for a heartbeat and Flat lining. The Background of the Heart beat monitor Changes color according what has happened to the player, If the player Gets hit the background of the heartbeat monitor changes color. If the Player gets hit too much the Heart Beat Monitor will flat line.Then I am making a radar for the hud.
View 1 Replies
Mar 14, 2009
Making the MC point towards the cursor?
View 3 Replies
May 4, 2009
In Actionscript 3.0 I want to make two timeline animation happen at the same time. I can't seem to get it to work.
Do I need another eventlisetner and function to perform this extra animation or can i nest it in the function that is already there?
Here is my code:
Quote:
stop();
close_btn.addEventListener(MouseEvent.MOUSE_DOWN, closehandler);
function closehandler(evt:MouseEvent):void {
gotoAndPlay("closeHere");
[Code]....
View 15 Replies
Aug 25, 2009
Im wanting to change the variable numSound. At the moment it is a random number 1-5 which works well but I dont want repetition. Tried all sorts of things but no luck.
Code:
private function randRange(min:Number, max:Number):Number
{
[code].....
View 6 Replies
Aug 28, 2009
what are some tricks and tips for making editing across frames quicker and more consistent? For example, if I have an animation with many frames and/or multiple scenes is there a way to add or move an element so that it appears the same way across all of the frames?
View 1 Replies
Sep 25, 2009
Im planning on making a game in flash thats going to be kind of like a breeding game for birds.
View 2 Replies
Aug 12, 2010
it seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)
reserve.onRelease=function(){
getURL("http://www.redeggnyc.com/menu2.htm");
}
[code].....
View 2 Replies
Oct 12, 2010
I have 4 small invisible buttons on one timeline. Each of these small buttons loads an external jpg into a movie clip container.I want each one of these external jpgs that load into the same mc container to go to a new web page. I am trying to do this with a invisible button that goes over where the external jpgs show up. What is the best way of doing this?
View 3 Replies
Oct 19, 2010
im making a button and on the rollover animation I want to have it splatter paint, only thing is I dont know how to get an image into flash that doesnt look crappy. I know that I need a vector image, but im not familiar with vectors as I usually use photoshop. I tried using a photoshop brush image, a simple paint splatter in which I was just going to tween to a larger splatter but like I said the image looks blurred because itsa bitmap.
another newbie question, but when you make an animated button, is the background included in the animation? Like lets say I import a button, give it an animation to glow on rollover or something, if i went to use that .swf would the background that it was placed on show? or would it just be the animation that shows on the default web browser background.
View 3 Replies
Oct 22, 2010
I am awful at Flash, but have the new ver. Flash CS5. I use to be able to make a stickman.
Turn Onion Skin on
Draw stickman
F7
Draw his next movement
F7
I turned on onions
View 3 Replies
Dec 2, 2010
Have you ever had to make sure something is loaded on screen before another method occurs?? This is driving me round the bend!
So basically I have a method that makes the system freeze for half a second while it loads some data
on press of a btn to request that data, first thing I want to do is add a loading icon.
I then make the request for the data.
Problem is even though the load icon code is set before my data request method. Its doing the request before it adds the loadicon!
So I have tried to use listeners like ADDED which are trigged but still it seems the loadicon only appears after the the request method is made.
My code looks like this.
Code:
loadingicon = new loaderIcon();
loadingicon.addEventListener(Event.ADDED, doit);
[Code].....
View 2 Replies
Jan 25, 2011
I have an animation about 30 frames long, the dimensions are 500x700 pixels.I want to use swf instead of gif because of better quality. So should I use png's or jpeg's to animate the swf?Which format does flash like better?
View 7 Replies
Feb 4, 2011
I have a simple text field that is read only and it's very long, so I just want to use a scrollbar on the right-hand side. I dragged a UIScrollbar component to this text area, I lined it up, same height, and even named the text area as the scrollbar's target, but when I compile the swf, I get a blank scrollbar next to the text and 2 other scrollbars off the the right of the text!!! I also tried adding the scrollbar via code with the same results.
View 2 Replies
Apr 2, 2011
i have created a mini-game in CS3 that is like a race using KEY_UP and the score its equal to the number of times the the right key's go up. that is already done, my problem is to display the score. i'm a bit confuse of how to use a textbox. and the textbox have to appear on the Simbol that won. i create the textbox and insert its type input to appear on the tela, but put it to work with score is the problem :S
View 1 Replies
Apr 23, 2009
how do I add a child to the main stage from a child movieclip?Basically, I have a movieclip linked to an external actionscript class. When the user clicks a button in the clip, I want to open a pop_up window on the main stage.When the user clicks a "close" button on the pop-up window, it should close.Can all the event handler code for this pop-up reside in the movieclip class even though the object is in the display list for the stage?
View 5 Replies
Sep 12, 2009
i have a friend who are dentist and ive agreed to do a web site for him. I do it in cs4. Like so: ive made a pretty simple and nice layout i plan to use for all pages with some images an so on .Now ive made lots of buttons wich all opens in a timeline nice and slow (not to slow). On the index page i have a menu called "treatments" wich requir some room. I want to make a button called "treatments" wich can open and collaps to 3-4 minor buttons wich then again can link to diffrent pages describing different treatments. Now i need the treatment button to open up the 3-4 minor buttons one by one smooth(tweened with the alpha slider) with same frame rate as the other ones on the page and collaps again.
View 1 Replies
Sep 18, 2009
making a cube menu like this? [URL] post here or mail me to evilmini_me_2002@[URL] or add me on msn: metilic@[URL], ty for your time
View 1 Replies
Jul 29, 2010
I own CS4 design premium and very familiar with Photoshop and illustrator but NOT flash Pro. I want to make a HD 1080i HDTV 2-d technical video animation and wish to know if Flash is a good tool for this. This video would be used for corporate tradeshows on an hdtv. Specifically I want to combine pictures and overlay 2-d animated arrows, text balloons etc to make a 2-d technical animation of how a product line works. I need to have keyframed pans and zooms with this also. All this needs to be converted to 1920x1080P 29fps HDTV MP4. I own and proficient at Vegas Video 9 PRO NLE which can convert a variety of avi to mp4. My questions are.. Is adobe cs4 flash PRO able to do this with my other software?
View 2 Replies
Nov 29, 2010
In CS5, I want to place content on a frame and give the user the ability to scroll through it all. I know no AS3 and have been using code snippets. How can I use code snippets or some other way to do this?
View 3 Replies
Jan 10, 2010
I have an object on the stage (with an instance called mcBlackboard) that contains two buttons.I'm trying to make these buttons link to pages on my site but I get the following error(s):1120: Access of undefined property buttonAboutUs1120: Access of undefined property buttonFAQsMy guess is that it's not finding the buttons in the movieclip (since the script worked fine when the objects were on the stage).I may have done things in an odd way, but it's the result of days trying to figure this out mysel
Code:
function myButton(button:MovieClip,url:String) {
var buttonPath = "mcBlackboard." + button;
[code].....
View 5 Replies
Dec 5, 2011
In a function that creates a new timer every time it is called, is this the correct way to dispose of it?
private var _timers:Vector.<Timer> = new Vector.<Timer>;
private var _timer:Timer
private function timer():void[code].........
View 2 Replies