Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Flash / ActionScript


Flash diff bet document class and interface  

Hi,Can somebody tell me what is the difference between document class and interface in as3 ? can i get some help for that ? and what is interface ?Can somebody give me an example ?-soha Continue Reading
Views : 35
Monday 31st of December 2012

Creating variable that has a variable in it's name  

I'm getting really confused and trying to save myself alot of code, haven't been able to google a solution.On the timeline I need a set of variables for each number of TotalNumberas an example ill use the variable wfor (il = totalNumber; il > 0; il--){ Continue Reading
Views : 76
Monday 31st of December 2012

Letting the user draw lines, then smooth them out  

Hello, Right now I have it so that the user draws a line and I capture the points at which they begin and end the line. Then I delete that line (it is too sqiggly) and draw a straight line between those 2 points. What I would like to do is let the user draw lines as... Continue Reading
Views : 27
Monday 31st of December 2012

why nobody seem want to help me...  

Hi GuysI have a difficulty on migrating into AS3. This is a very simple problem but take me 1 day trying to find out the answer.I have 2 file: "main.swf" and "content.swf"In "main.swf", i use Loader to load "content.swf" into movieclip called content_mc. Continue Reading
Views : 69
Monday 31st of December 2012

Flash Play/Pause toggle used for multiple movieclips  

I am setting up a module that has about 10 movieclips, all on the stage on one layer. I have a play/pause toggle button and next button that I want to use as the media player for all the movieclips and just make the movieclips visible or not.Does anyone have an idea of how I phrase a... Continue Reading
Views : 41
Monday 31st of December 2012

Access Overriden Class of Child Domain  

I've been working with loaded swfs whose application domain is a child of the loader's current domain. Code: var appDom:ApplicationDomain = new... Continue Reading
Views : 38
Monday 31st of December 2012

Dynamic button hover tooltips / descriptions and linking  

HelloI am busy converting my online digital portfolio from AS2 to AS3. I have made a new .fla and placed within it only the elements that relate to my question, to greatly simplify things so it is easy to see what I want to do. Lets say I have 3 movieclip buttons, which... Continue Reading
Views : 53
Monday 31st of December 2012

where is the Flash Player .exe in Windows 7  

Sorry, no better forum presented itself. I tried a regular old search for the .exe but couldn't find it. I presume if I knew where the actual .exe is I could play independent Flash Player files... Continue Reading
Views : 54
Monday 31st of December 2012

general coding  

Hi everyone, im am creating a website for myself using as3. I was pretty decent using as2 but i want to learn as3. i have done a lot of research, but i want to ask you guys that really know what your talking about, if you could have a look at my code and see if there is anything... Continue Reading
Views : 28
Monday 31st of December 2012

Problem with equalizer  

Hey, I'm creating an mp3 player with playlist, equalizer etc. I've worked with an equalizer before, however I want this equalizer to display outside of the playlist movie clip where all the track information is stored. So this is my code: Continue Reading
Views : 57
Monday 31st of December 2012

Strange Loader- Addchild problem  

I had a working normal time line code://var ldr:Loader=new Loader;//ldr.load(new URLRequest("library/dummy.swf"));//addChild(ldr);which works fine and loaded the image, however when I make a class file out of it it never load the image.The trace in the class... Continue Reading
Views : 73
Monday 31st of December 2012

Flash Calculator not working.  

I'm in a Web Design class and atm, I'm working on chapter 8 of Flash CS5 case problem.I have to make a calculator. Can I just say that AS3 makes me frusterated? D:Anyway, after I finished what the book... Continue Reading
Views : 31
Monday 31st of December 2012

AS3 + XML + Layers question  

I am trying to use the TMX Tile Map Editor to create a tiled map for my RPG game. Thus far it is going great, however I am having difficulties trying to decipher certain parts of my tmx file (exported as an XML file).In particular, the map has multiple layers, so I am trying to figure out... Continue Reading
Views : 7
Monday 31st of December 2012

AS3 Image fill preloader  

hi all, Im somewhat a newbie to as3, ive tried making a image fill preloader using masks etc. When publishing its just showing my preloader not continuing to my content. which is on frame 11. I was wondering if anyne can help me with code? cheersstop(); Continue Reading
Views : 27
Monday 31st of December 2012

Reversing Movie Clip  

Hi guys. I am trying to have a small simple animation. This animation needs to have a roll over listener. This roll over listener must begin a downward motion for this movie clip. And then another listener must be a click or rollout that will make the clip reverse and begin an upward motion at... Continue Reading
Views : 43
Monday 31st of December 2012

call a button inside a mc  

Hi guys,can any one tell me how to call a button which is inside a movieclip.Thanks in advance. Continue Reading
Views : 40
Monday 31st of December 2012

RemoveChild if exists  

I'd like to remove a child of the display list if it exists before adding another to the stage. This gives me Error the first time I call it because 'myMC' doesn't exist. HTML Code: Continue Reading
Views : 64
Monday 31st of December 2012

Preloading sounds question.  

Hi there,At the moment I have an application which has many classes that control different screens (movieclips) and a Main class which controls the other classes.I currently have a preloader that just loads the whole swf before it plays. However I am about to start... Continue Reading
Views : 29
Monday 31st of December 2012

Flash Flash/XML Slideshow - Back button  

If anyone can help me with this I think I would kiss your feet. I have been fighting with this for the past several days and I still can?t figure it out. I just need to make the back button function that I have created from the tutorial that I found online. I have the link below to the exact... Continue Reading
Views : 55
Monday 31st of December 2012

get a value out of a functioin  

I'm trying to load xml data and then calculate the length of a xml node and then pass that value so that it's available outside the function.I'm obviously doing it wrong also I don't understand how tlbXML is being passed to the assign() function. does this happen... Continue Reading
Views : 70
Monday 31st of December 2012

Flash hitTestObject between different classes  

Hey there!I have a noobie problem that seemed easy at first but have haunted me for a couple of days:I' making a simple drag n' drop application in that I want to use different classes for both objects involved, the ones that will be dragged and the ones that will receive these... Continue Reading
Views : 30
Monday 31st of December 2012

Flash .visible property doesn't work  

Code: public function BrokenItem(originalImg:Bitmap,fixedImg:Bitmap) { _originalImg = originalImg; _fixedImg = fixedImg; ... Continue Reading
Views : 24
Monday 31st of December 2012

Flash Word Art in AS3  

HI every one i am currently work on application which uses Text Shape.like word art in MS word.i dont know how to apply a word art effect in Action Script to Text.plz help me Continue Reading
Views : 35
Monday 31st of December 2012

Memory and CPU Usage issue  

Hey,I have one 500 Kb swf animation file. Its being loaded into another swf/exe. When I run this exe the memory and CPU usage keeps increasing always. But when I run only the animation swf, the memory usage is stable and CPU usage comes to 0 in some time. Continue Reading
Views : 48
Monday 31st of December 2012

Stage width differs everytime  

Hello below is the code I am using for a project. My problem is when I trace the stageRef.width in the constructor and in the function both of them output different values. My stage is 980 x 700 pixels but whenever I trace something related to dimension such as x,y,width or height I got corrupt... Continue Reading
Views : 132
Monday 31st of December 2012

Help/How to animate imported images in AS3 please  

Question: How do I (assuming it is possible) animate a drawing (gif, jpeg, png, whatever) I drew outside of flash. I have some monsters I have drawn and would like to animate them for a flash game I am creating. I've looked around and done a lot of searches, but I cannot find any answers or... Continue Reading
Views : 39
Monday 31st of December 2012

AS3 Bug With Loading Multiple Images in to one container  

So, this code effectively works but there is a weird quirk with it that I just cannot get rid of. When you load the initial image, it is fine but when you advance (in this case) to another frame in the simple swfAddress site, you see a "ghosting" of the previous image that was... Continue Reading
Views : 53
Monday 31st of December 2012

sound from flvPlayback won't stop  

I have a website http://www.droolpigs.com when I go there if I click the video archives button then play a video then click on the home or photos button or one of the alternate background buttons on the left the video goes away as it should... Continue Reading
Views : 67
Monday 31st of December 2012

AS3 lagging in desktop only problem  

I'm running my app in core i7 pc in full screen, it lags, but when i run it on my i3 laoptop in full screen, it work just fine... may i know what is the problem?*they both using the same flash player version Continue Reading
Views : 44
Monday 31st of December 2012

Timer slow  

Hi guys,I am developing a website in flash. In that I have created 4 to 5 timers. All the timers are running at a same time or many aspects.Now my problem is, the functions or any movements based on the timer, is very slow. Where as when I put that timer in a seperate... Continue Reading
Views : 35
Monday 31st of December 2012