Groups | Blog | Home


Archived Months
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
January 2008
June 2008


all groups > flash actionscript > july 2006 > threads for thursday july 13

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

writing actionscript for loading images HELP
Posted by net1 at 7/13/2006 11:15:26 PM
I?m using flash 8. I would like some help with action script I suck. I have created 12 buttons name button_1 2, 3, and so forth. I would like on rollover for a small image to appear on the stage. 12 images named ?invitation_1.gif?, 2, 3, 4 and so forth. I only want the image to appear during t...more >>

Accessing a function from a movieclip form a top level layer
Posted by Crandom at 7/13/2006 7:06:17 PM
Im having a dillema. my whole game rests on being able to access functions from a movieclip inside a movieclip in a top level layer called "Cards" to another layer called "Functions". I've used this code: [i]play_modifier_card(this.num.text);[/i] to access this function: [i]function...more >>

help with Class garbage collection
Posted by targetplanet at 7/13/2006 6:34:04 PM
I created a Movie that displays flvs and has a couple of menus, and a window for displaying text. I created a class file to run it. it just extends a MovieClip. This interface is used in a flash based online course that steps through "slides". There are 5 slides that the interface, so there...more >>

Can't get swapDepths to work
Posted by kidkosmic at 7/13/2006 6:01:06 PM
:confused; I'm terrible at Actionscript and generally use Flash as an animation program. I found this neat little warping star field code on another board, and it looks very cool. However, it plays on top of anything and everything else I place on the timeline. I tried the swapDepths Actio...more >>

Hiding a loading movie
Posted by invictusBob at 7/13/2006 4:51:11 PM
I'm loading a number of movies into existing mcs. Eg existingClip_mc.loadMovie("newClip"). The first line of code on the new mc sets visible to false. Before that code runs, however, as the mcs are loaded they appear momentarily and are then hidden. I've tried setting the hosting mc to visib...more >>

Creating graphs in Flash?
Posted by rocketgoof at 7/13/2006 3:47:30 PM
Hey everybody, I'm not sure how possible something like this would be, but is it possible to create some form of graphing application in flash? I'm interested in trying to create something that would graph curves and waveforms, but I'm not sure if this is even possible. Does anybody know o...more >>

loaded SWF shows off-stage content
Posted by aniebel at 7/13/2006 3:07:48 PM
I'm sure this answer is incredibly simple... argh! I'm creating an empty movie clip and loading both SWFs and GIFs into it via XML. The problem I'm having is that the SWFs are showing the content that is off-stage instead of clipping it to the stage dimensions. Do I create a mask for off-...more >>

How do you Format the Checkbox
Posted by ShaneFred at 7/13/2006 3:07:25 PM
I am using a checkbox for the first time and I have no idea how to format it. I need to find out how to change the color or font of the text and also how to change the color and background of the checkbox itself? Does anyone know how? or where I can find these answers? Thanks! ...more >>



XPathAPI class question
Posted by daver420 at 7/13/2006 2:44:52 PM
Hi. I'm trying to get an element in a specific position so i tried something like that: "child[fn:position() = 3]" but unfortunately, it didn't work. I know i can get the element by using a ChildNodes array but it can realy make my life alot easier :). Thanks... ...more >>

Depths / visible
Posted by Tolk at 7/13/2006 2:40:11 PM
If i have a large group of movieClips on the screen and i want only one visible does anyone know which of these methods would more processor intensive? a) swapping the depth of the desired mc to be seen to the top layer b) setting the visibility to true (if visibility was set to false on mov...more >>

Targetting mc not working
Posted by gryllsie at 7/13/2006 2:23:01 PM
I have a movie clip, whose instance name is unique and is 'focusfacts'. I have a function: function scaledown() { this.focusfacts.gotoAndPlay(2); trace("I've found the scaledown function"); } The function is called from a button elsewhere, and it can be found... I get the trace value...more >>

filereference upload
Posted by judo4 at 7/13/2006 2:19:10 PM
I want to upload files using filereference ie import flash.net.FileReferenceList; import flash.net.FileReference. I found a number of examples but most included php and I cant use php on the windows server I am on - only asp. I contacted Host and they told me they do not support asp.net. ...more >>

getURL action on MC?
Posted by DPSwebmaster at 7/13/2006 2:05:21 PM
can I assign a getURL on a movieclip using an onClipEvent or would I need to create a button over the MC to do this. If I can do this directly on the MC, what would the syntax be? I cannot get it to work. thanks ...more >>

External Movie....How do I stop this thing?
Posted by wackydesigner at 7/13/2006 2:00:28 PM
Hey guys, I have one question. I have a flash file that when you go on a particular frame it will "connect" to an flv movie and start playing (using NetStream). Heres my problem... I have other buttons on the page that take you out of the movie frame. [b]But the movie keeps on playing![/...more >>

scaling a movieclip...scaling whole stage instead...
Posted by muhl at 7/13/2006 1:48:55 PM
Hello, I have a button that adds instances of a movie clip to the stage. I want to be able to scale the movie clip after it has been loaded to the stage. The following code works, but it scales eveything on the stage, not just the movie clip instance. Any help would be appreciated. ...more >>

loaded SWF different than original one?
Posted by koomisan at 7/13/2006 1:32:54 PM
hello, i have create a rollOver, thumbnail gallery in one file, and it works just fine BUT... when i load it into a different file (the rollOver page now being the external SWF), it seems to load ok, but when i rollOver the thumbs, the picture just disappears... does anyone have any thoughts...more >>

Using the mouse wheel
Posted by Outside5.com at 7/13/2006 12:59:12 PM
Hi all, I have a flash movie which contains 4 verrtical buttons. The movie will be used with only a scroll wheel, so I will need to replace the tab and shift+tab focus functions with mousewheel movements. Is it possible? Does anyone have an idea for a starting point? Much appreciat...more >>

Need Help! How to position loaded swf movies on levels?
Posted by reinhat at 7/13/2006 12:04:58 PM
I have a swf movie loading into level 2 inside the main container swf...is there any way off postioning the entire loaded movie to display 20 pixels lower and 10 pixels to the right? By default the loaded movie is positioned to the top left corner and it would be very time consuming moving ...more >>

Controlling indivual sound voulume
Posted by Crikey at 7/13/2006 3:31:06 AM
Hi, I'm trying to set the voume of an individual sound via the time line without affecting the global volume. I'll explain. You're outside a house and the rain is loud, you enter the house the rain sound decreases while background elements such as music remain constant. I've found plenty...more >>

Going CRAZZZZY...
Posted by golem2 at 7/13/2006 2:12:37 AM
I have been using this code on this documnet for a while al was OK. the newline seems to stop working. I have a dynamic textfield called: debago it is set for multiline. but the code: debugo.text = "some text"+newline debugo.text = "some text"+newline debugo.text = "some text"+newli...more >>

Controlling movie with mouse location
Posted by squasha at 7/13/2006 1:24:11 AM
I am a designer trying to be a flash programmer and I have a navigation idea that I've been struggling with. I am simply trying to do this: put a movie on the stage and as the mouse moves closer or farther from the movie, it plays forwards and backwards. The movie I made is a circular logo ...more >>

Sound Missing
Posted by bleejkd73 at 7/13/2006 1:09:47 AM
Hi, I made a swf movie with pictures and 1 sound. The sound is imported and then scripted into the movie using attachMovie(ID:String) and the pictures are also imported and tweened. Then I generated the movie (ctrl-enter) everything runs fine like its supposed to (the sound and image all g...more >>

movieclip resize problem
Posted by justbipin at 7/13/2006 12:00:00 AM
I am design a movie clip that having two buttons include in that movieclip, when i resize my movie clip by coding , it is resize well but, i dont want to resize that 2 buttons, can any 1 tell me how we can block that 2 buttons size where we resize th e movieclip and 2 buttons keep there ori...more >>

controlling external swf
Posted by koomisan at 7/13/2006 12:00:00 AM
hello, does anybody know if there is a way to control external swf files? if i load a file into a new one, is it possible to call a function that exists in the loaded file from the loading file? for example if i have a function that moves a ball in one swf, and i load that swf into a new pag...more >>

Learning Actionscript
Posted by Sterockicy at 7/13/2006 12:00:00 AM
Hi guys. At this point in time i have a brief understanding of actionscript and have the ability to make easy games without the aid of a tutorial. i am extremely interested in hopefully becoming a professional and i need somewhere to start. can any of you pros recommend a book or something tha...more >>

Fastest method to load external data?
Posted by howachen at 7/13/2006 12:00:00 AM
Hi, Currently we load external xml file and parse it for our internal use. However, parsing take time, is it possible to reduce this step? Such as serialize / de-serialize? thanks. ...more >>

Determine which btn is clicked?
Posted by thejokerman05 at 7/13/2006 12:00:00 AM
Each button is in its original state set to an alpha of 30. I want each button to be set to alpha=100 when clicked and set back to alpha=30 when some other button is clicked. Anyone have a good idea? The code looks like this; function hitButton(nbrID) { btn = _root["btn"+nbrID];...more >>

export to bitmap
Posted by RiccardoArticque at 7/13/2006 12:00:00 AM
Hi I did not find any export function. I found "printAsBitmap", which is great to print the whole _root movieclip. But what I want to do is to let the user copy the current display (as an image, a pdf, an emf ..) on hard drive or on clipboard, so he can put it in a word document, modify it o...more >>

crashing flash 8 on test of movie...
Posted by DZ-015 at 7/13/2006 12:00:00 AM
Hey... this is my first significant actionscript application... and i'm almost done with it, but i've gotten to the point where it crashes flash 8 when I test it... not just the player, it crashes the whole application. I'm starting to go through and check for bugs, but i just thought I'd po...more >>

Detecting Mouse NOT over Flash movie
Posted by Pulcinella2uk at 7/13/2006 12:00:00 AM
Is there a good way to detect if a mouse is no longer hovering over a flash movie? I have tried the method: if (_ymouse < 390) { if (_ymouse > 20) { if (_xmouse > 20) { if (_xmouse < 421) { gotoAndPlay(3); } } } } This method uses a border of 20px ...more >>

Get a variable back to its parent during fucntion creation?
Posted by howachen at 7/13/2006 12:00:00 AM
hi, how to get a variable back to its parent during a fucntion creation? e.g. //---------------------------------------------------------------- var ret:String = ""; var dataLoader:LoadVars = new LoadVars(); dataLoader.onData = function (contents...more >>

loading JPEG's externally
Posted by Manu Palasery at 7/13/2006 12:00:00 AM
Hi, I have made a scrolling menu of thumbnails. A movie_clip( named as thumbs) nests another m_clip (thumbsHolder) . the second clip(thumbsHolder) is duplicated as many times as reqd. and each duplicated clip loads a jpeg file from external source. There is a button placed on second clip...more >>

!!!!!!.........How to first unload it.. and load it...........!!!!!!!
Posted by Rajula at 7/13/2006 12:00:00 AM
Hi i have got a small problem in the Flash.. there r three flash file in my presentation..... 1.MainMovie.fla, 2.loadOur_C, 3.Sound_File.fla first i want load loadOur_C.swf in the MainMovie.swf.... this is done.... in the loadOur_C.swf there r one Main button is there if click it...more >>


DevelopmentNow Blog