Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Flash / ActionScript


1009: when referencing stage.stagewidth from the child  

Hi, I was hoping you could help me out my hair is getting grey.I have a main.swf and a slider.swf. I load the slider.swf into main.swf.In my slider.swf I have this code which adds an image to the stage from the Library: Continue Reading
Views : 2624
Thursday 3rd of January 2013

Easy code to frame problem  

well i have some multiple choice questions on frame 7 then it continues onto frame 8 and on there i have a dynamic text field which shows how much you have scored. the problem is .on frame 8 i have all the code which gives the number in the text field if you get it right however when i code it... Continue Reading
Views : 233
Thursday 3rd of January 2013

Flash How to create preloader with multiple files  

Hi I'm wanting to know if its possible to create a preloader that launches two external files? Continue Reading
Views : 253
Thursday 3rd of January 2013

Remove watermark context menu  

Hi;I use an SWC component that adds watermark image and context menu on right click. The component is very expensive ( 3, 000 euro!). Is there some way to remove the right click context menu? Continue Reading
Views : 246
Thursday 3rd of January 2013

Flash Animation problem  

http://tkm.ibb.gov.tr/ please click "yoğunluk haritası", this is a traffic density map, i developed it at 2007 with AS2 (at 2005 with as1) , now i will update it with as3, but becouse of animation i draw road lines and... Continue Reading
Views : 243
Thursday 3rd of January 2013

Independent volume control of an FLV  

So I've been wracking my brain for half the day today and I'm sure I'm just doing something dumb or missing something minor...I'm trying to control the volume of an flv in a video player I'm making. I want it's volume control to be independent of any other content on the page. The... Continue Reading
Views : 213
Thursday 3rd of January 2013

Flash save image in flash player9 as3  

How to save image using as3 by opening save dialog box in flash player9?any one help me.. Continue Reading
Views : 220
Thursday 3rd of January 2013

The creepiest AS3 related video ever.  

http://tv.adobe.com/watch/creative-s...obe-flash-cs5/I mean wtf, really Continue Reading
Views : 237
Thursday 3rd of January 2013

How definitions should (theoretically) be written in AS3  

Note: Once again I am playing around with my purely fictional language beyond the confined bounds of AS3. This post has no practical applications what so ever, and is merely an exercise of the mind.Java-style definitionsBefore... Continue Reading
Views : 231
Thursday 3rd of January 2013

Flash dynamic metadata  

You'd think that a published .swf would include the stage dimensions in it. Is there a way to tag the stage size in the metadata? I realize I could manually type it in one of the other fields, but is there a way to automate it?? Continue Reading
Views : 246
Thursday 3rd of January 2013

[As3] Level screen problem  

Hey there. I have a little problem with my game. I have coded a level selection screen, with 15 levels. The problem is, only the first 5 of them works, after you've completed a level.I have added comments in the code and on the stage. Don't worry, there's not much code, so I'd really... Continue Reading
Views : 239
Thursday 3rd of January 2013

Alias for an instance name  

Hi everybody! I'd like to know how to create an alias for a very long sequence like wheelContainer.boxObject.squareTip.etc : I have a nested series of instance names, one inside the other, and I'd like to use a short name instead of "wheelContainer.boxObject.squareTip.blablabla" ... Continue Reading
Views : 226
Thursday 3rd of January 2013

Flash Drag and Drop problems  

I'm trying to do a basic drag and drop. I can pick up and drag my MC named "wide_mc" thats inside my "Toolbox_mc". That works fine. I cant seem to get the drop target to work.The target is "c_mc" which is burried inside a MC called "MyPicture_mc" Continue Reading
Views : 225
Thursday 3rd of January 2013

Problem with parent  

Ok, I cannot figure this out. I have a custom Class that extends Movieclip called Nav, and a container clip on stage. I've referenced the Nav Class and called it as such:import com.Nav;public var navigation:Nav;navigation = new Nav(); Continue Reading
Views : 271
Thursday 3rd of January 2013

Dynamically assign a class into an element in an array  

Hey guys,Not sure if the title of this topic is correct, but what I'm trying to do is store a movieclip inside each array element using a for loop.However, I have 2 movieclips to choose from and I want the movieclip to be randomly assigned to each element in the array. Continue Reading
Views : 220
Thursday 3rd of January 2013

how to delelte mc in as3  

Hi guys,How can i delete mc in as3. I know the option "removeChild", in this the mc is not deleted, it is removed from the stage or from any mc. it still exists.Suppose, I am creating mc's dynamically from a loop say enter frame, the no of mc will go on increase till the... Continue Reading
Views : 243
Thursday 3rd of January 2013

Any way to load songs via streaming website  

I would love to have the ability to load this into my flash component "http://listen.di.fm/public5/trance.asx"That is live streaming trance, from di.fm. Is there an easy way? or a way at all? loltyty!! Continue Reading
Views : 266
Thursday 3rd of January 2013

Flash dispatchEvent problem  

hi iam trying to move forward and learn as3 i am converting complex project i worked on last year using AS2 , now i have problem in dispatchEvent commandi have class extends MovieClip that need to fire Event to sub sub childs i can send from the child to the parent using Continue Reading
Views : 212
Thursday 3rd of January 2013

Flash + payment gateway  

Im considering making a flash based store, I love the nikeID store and thought I would like to try and make my own 'design your own' t-shirt type site. The building bit seems fine but Im not really sure on how I process payments or which payment gateway would actually integrate with flash. Has... Continue Reading
Views : 122
Thursday 3rd of January 2013

1120 error, don't get it  

Hi!I'm trying to "link" a button(fac_btn) on a movieclip(tint_mc).Only thing is that my button(fac_btn) is inside another movieclip-layer(fac_mc).I know it's a bad habit, but there's no other way...So Flash can't find tint_mc, because he is on the stage. Continue Reading
Views : 235
Thursday 3rd of January 2013

Issue with AS3 RSS reader  

HiI am trying to develop a custom AS3 RSS reader. I have got to a point where I have traced the pubDate, description & title from each item of the feed. My issue is how do I then get this info to display in seperate MCs on the stage? I can only display the last post in one MC rather... Continue Reading
Views : 233
Thursday 3rd of January 2013

Allowing Flash to use 75% CPU instead of 50% max  

Hey guys! Did you notice that, at least inside Firefox 4, Flash cannot go above 50% CPU? Of course there are valid reasons for that, but it's not the topic. About a week or so ago I stumbled upon a SWF that managed to use 75% of my CPU. (It was doing 3D stuff)I... Continue Reading
Views : 208
Thursday 3rd of January 2013

Please, help with Flash and PHP  

Hi,Here I have a problem again.I finished the game, and now needs to connect to a PHP script on the server.It is about connecting the flash file with PHP script with the database. These PHP files just accept the query string.I'm... Continue Reading
Views : 228
Thursday 3rd of January 2013

checking instance name (character selection screen)  

Hello Kirupa Community. I am trying to make a character selection screen. So I thought the most efficient (for my skill level) was to make a single "selectionBox" class. Then I would add mulitple instances of this class with different names (not through code, just drag them and give them... Continue Reading
Views : 216
Thursday 3rd of January 2013

looping  

how do i make an X Y scrolling image loop so, that if u scroll by pointing the mouse in the corner it will just keep going over and over again (looping) ofc this sould work in any direction Continue Reading
Views : 180
Thursday 3rd of January 2013

Flash Is it good to format all texts using style sheets   

I am working developing a big project and I have a question regarding the formatting of the text, project wide.Is it a good idea to format all of the text using style sheets ? Including here, buttons labels, headers, and so on.Or is it a better idea to use a combination... Continue Reading
Views : 206
Thursday 3rd of January 2013

Resize handler randomly works!  

Hi all.I have a main swf which I load in a few different external swf. For each of the external swf I have resize handlers which make sure my loaded swf are position in the correct place when window is resized. It works almost perfect.. but let say 1 out of 4 times the resize... Continue Reading
Views : 255
Thursday 3rd of January 2013

Flash XML random image gallery - non-repeating  

Hi there,I'm using Flash CS3 and would like to create an image gallery that randomly loads images listed in an XML file without repeating any of the images until all have been displayed once.So far, I've managed to combine a couple of tutorials to create an image... Continue Reading
Views : 197
Thursday 3rd of January 2013

Communicating between instances  

Can I have an instance of one class call a function in the instance of another class if the first class was instantiated in the second class? Essentially this: Code: //Class... Continue Reading
Views : 209
Thursday 3rd of January 2013

Help me in this project  

Dear all,I did Product catalog, it contents intro and supportive files (.swf) how to give non editable file to them. or it should ask to install to run this catalog but the supportive file should not visible and edit.thanks in advanceRaju Continue Reading
Views : 196
Thursday 3rd of January 2013