Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > june 2007

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

listbox + getItemAt
Posted by mr.nazarko at 6/30/2007 11:17:52 PM
hello, im trying to figure out a way to have a selected item of a list box return a the appropriate numeric value ---- ex. if i click the 7th item of a list box, it will set my variable to "6" ---- ( i know the first value is 0 ) is it possible to use the getItemAt to return a numeric...more >>

help please Url request variables problem
Posted by cosmin_alex at 6/30/2007 9:38:38 PM
[b]I have a problem .I am trying to load some data from a php script . I want to send some variables to php .[/b] public function LoadXML2(nume:String,c1:String,c2:String,c3:String):void { var loader2:URLLoader = new URLLoader(); loader2.addEventListener(Event.COMPLETE, OnComplete2); ...more >>

i want to make this button bar
Posted by jo7win at 6/30/2007 9:22:49 PM
hi there, anyone know how to make this website button bar? http://www.grouplotus.com/grp/. i tried to find tutorial at flashkit.com but can't find it...... pls help help~~ many thanks ...more >>

Cycling through an Array three at a time
Posted by amiridon1199 at 6/30/2007 8:22:15 PM
If I wanted to to cycle through an array that looked like this: Array("Red", "Blue", "orange", "green", "Silver", "Black", "Yellow", "Peach") how would my code look if I wanted to only display three at a time. what would the code look like for a next and a previous button to see the next t...more >>

Formating
Posted by Sarawinder at 6/30/2007 3:38:02 PM
I am sending the x,y values of the points where I click mouse I want to send them to php in the format like x,y|x1,y1|x2,y2 but I am getting the output like x|y|x1|y1 I am dong it like(where lineat is the array) lvOut = new LoadVars(); lineat.push(_xmouse, _ymouse); lvOut.lineat...more >>

How can I activate a Java Script?
Posted by Stevis2007 at 6/30/2007 5:21:41 AM
Hi there. I am working on a site for a musician. I created a virtual jukebox using Flash MX 2004 that streams MP3 files. My client wants people to be able to purchase his songs through PayPal. I would like to add a "buy" button to the Flash that will send the proper form data over to PayPa...more >>

Email Form From Flash
Posted by Hugh Anderson at 6/30/2007 3:17:07 AM
Hi, I was hoping that someone might be able to help me. I want to point out from the start, I know NOTHING about Actionscript!!! Somehow, with the help of a video tutorial, I was able to put together a script that allows someone who comes to my site to fill out a form and send the info to...more >>

Actionscript 2.0 Pre-Loader help
Posted by Hocaspocas at 6/30/2007 1:14:16 AM
Does anyone have a good website to check out for making preloaders? I'm still a little new with actionscripting and pre loaders kind of confuse me. I understand why they are there, but am clueless on how you make them. Thanks. ...more >>



Reading Data : LoadVars
Posted by flashcrazy at 6/30/2007 12:00:00 AM
I want to read data from several files whose names are written in array then I want to get an array with names of those file whose content length is more than 1000. I have done looping and able to get data of files and check their length but not able to store the file name. this is happin...more >>

Actionscript errpr
Posted by nikos_golf at 6/30/2007 12:00:00 AM
I want to rotate a movie clip and try the following code. The instance name is atom _root.atom.onEnterFrame=function() { this._rotation += 1; } I get this error 1120: Access of undefined property _root. ...more >>

Color Picker Code
Posted by Sarawinder at 6/30/2007 12:00:00 AM
I want to open an image using loadMovie and than be able to pick color where I click on the image. Can someone plz help me with the code to achieve that....more >>

Problem with on(rollOver) on(rollOut)
Posted by joanetpics at 6/30/2007 12:00:00 AM
We want to create an effect over a movie clip that starts when the mouse rolls over it and ends (and returns to the initial state) when the mouse rolls out. We have succeeded but we have still a problem. If the user rolls quick the mouse the on(rollOut) event doesn't work properly and as a res...more >>

What changes between native Flash and the server?
Posted by dxhans5 at 6/29/2007 9:55:26 PM
Hi everyone. I have made several flash websites that utilize a loadbar in some fashion and they all work fine. This page I'm doing now, however, has me stumped. When I test the movie in Natve Flash, the loader works exactly like it's supposed to, however, once I upload it to the server, ...more >>

added event is not firing
Posted by FlashForumName at 6/29/2007 9:00:19 PM
I have a simple event that never fires. I have gone through the help section and the syntax appears to be correct but I am new to 3.0 so perhaps I am missing something obvious that someone here can help me with. The loader just loads a jpg and I'm trying to add an init event to it. What is ...more >>

#includes in classes
Posted by tag_digital at 6/29/2007 8:22:39 PM
I'm pretty new to this class stuff. My main document class is getting pretty long and unmanageable. Is there a way to use #include to break out some of these public functions that I need to use in main? Thanks ...more >>

flash XML slideshow
Posted by serg2049 at 6/29/2007 7:32:24 PM
I need a fully customizable flash xml slideshow, so that I can change fonts for the captions, put the captions over the pic, change everything I want and put captions, thumbnails in any part of the canvas, and even not show thumbnails if I want. Any link to a site where I can purchase some...more >>

NetStream.seek()
Posted by Ady Eaton at 6/29/2007 5:25:39 PM
Hi, I am having problems with using seek, I'll describe my problem, maybe someone can help. I have a 45 second FLV, when I receive the Meta Data it confirms this adn returns 45 seconds for the duration. However if I seek to 40 seconds I get an NetStream.Seek.InvalidTime error, the ...more >>

Mathematic question
Posted by luciewong at 6/29/2007 5:21:39 PM
Hi, I have a slide show with an emptyMovieClip as a pic holder (Frame). The images are loaded with a movie clip loader, so I know the original size of target_mc onLoadInit. The pic holder has the size of width 382 and height 246. Now, each image should be loaded into my Frame, centre...more >>

Scale a Movieclip
Posted by relief8 at 6/29/2007 4:47:31 PM
I have a movieclip that can be moved around the screen when a user drags it. I want them to also be able to scale the movie clip. Is that possible?...more >>

3d object
Posted by rohai at 6/29/2007 4:46:22 PM
Hi flash developers, it happens too often that my ideas are too complicated compare to my knowledge. This is what I want to do now. I want to create a rotating 3d box (rotating around Y). The direction of rotation depends on the mouse position (left,right). And each plate,side of the box (...more >>

Finding unique paths
Posted by Sean Berry at 6/29/2007 4:44:14 PM
Ok, here is the situation. I have several "Shapes" which are MovieClips that consist of "Nodes" (MovieClips) at the vertices. What I need to do (during runtime) is determine whether there is a path from any given Node to Shape_0 (the anchor shape). Here is the data I am able to generate...more >>

mouseX and mouseY
Posted by tag_digital at 6/29/2007 4:30:13 PM
does the mouseX and mouseY property read where the mouse is on the stage or where the mouse is over a symbol? I seem to be getting conflicting reading. I have a stage that is 640 x 480 with a 1280 x 960 scrolling background. When I trace the mouseX position it doesn't seem to give me the readi...more >>

getURL IE7
Posted by ahixon at 6/29/2007 4:17:06 PM
I'm trying to use the "_self" argument of the getURL method in a flash form in IE7, but it opens a new tab no matter what. The funny thing is the "_self" argument seems to work in the new tab as long as the parent that spawned it is open, but then my button that call the getURL method with a "...more >>

Duplicate Movie Clip Problem!!!
Posted by Magiciandude at 6/29/2007 4:11:49 PM
Okay, here is my problem: When I added a duplicate movie clip script to my guy, he duplicates fine. But when he duplicates again it replaces the old duplicate!!! The main problem is that each NEW duplicate has a new name!!! I tested it with the namebox script at the end! onClipEvent(ente...more >>

Next & Prev Button functions from an array
Posted by peregrine454 at 6/29/2007 3:35:26 PM
Help. I'm new to actionscript and am trying to do something simple like use a 2 frame HTML page with navigation in top (Flash obj) and plain html stuff in the bottom or main frame. I declared these global var... //global { var lssnPages = new Array('lssn_01.htm', 'lssn_02.htm', 'lssn...more >>

onRollOut Stop Action
Posted by jonesdestinydesign at 6/29/2007 3:14:11 PM
PLEASE Advise me "How to write the code where one button stop an the second button is still activated. The code follows: stop(); Test1_btn.onRollOver=function (){ _root.createEmptyMovieClip("controller_mc",2); controller_mc.onEnterFrame=function(){ _root.gotoAndStop(_root._curre...more >>

xscaling please help im really confused
Posted by jude86 at 6/29/2007 2:57:14 PM
Hello, Please could someone help me. I am xscaling some movie clips. I have two movie clips, one large box, and a second smaller box. I need to xscale both these movie clips by 80% therefore i coded: boxOne_mc._xscale = 80; boxTwo_mc._xscale = 80; This works they are scaled by 80...more >>

How to know when a .swf file ends
Posted by rc3rdmd at 6/29/2007 2:08:27 PM
I have a base .swf file that opens and plays another .swf file. I want to know when that .swf file has finished so I can then open a third .swf file inside the original. Thanks. Rob Childress...more >>

different color for variable
Posted by Joe T at 6/29/2007 1:44:28 PM
I have: myText = myText + "<b>location: </b>" + locale[p]+newline; how can I make the content of local[p] a different color? lets say grey. thanks ...more >>

button + action?
Posted by Chuj wam w dupe at 6/29/2007 1:27:51 PM
When I'm trying to add script to a button i receive message that: "Current selection cannot have actions applied to it"... What's wrong with it... older versions of Flash didn't make problems like this... ...more >>

[AS3] Stuck with variables
Posted by noidc at 6/29/2007 5:37:44 AM
Hello, i am completely stuck with as3. Here's is what i did in as 2.0: I created different dynamic text , then i assigned the variable var_name1 for the first text, var_name2 for the second or whateverText_name1 etc... Then i created an array: myArray [["name1", value1, value2], ...more >>

sprite movement using arrow keys
Posted by chinmayagoyal at 6/29/2007 4:12:59 AM
Hello, I have been working on a dragonball z game recently and I have encountered a problem with the sprites.I have traced the bitmap and everything else and even created a movieclip of the sprite.I have put this code on the movieclip- Code: ( text ) onClipEvent (load) { step = 5; ...more >>

Some help with my class
Posted by quovadimus02 at 6/29/2007 2:11:29 AM
I'm making a class for an image viewer movieclip. Right now the movieclip sits on the main timeline and is called fullSizeViewer_mc, the linkage identifier as well as the class name is fullSizeViewer. The only thing in the movieclip is another clip called bg_mc. This clip is supposed to functi...more >>

Passing Variable in a function
Posted by WebmastaDj at 6/29/2007 2:06:40 AM
I think this is a simple problem. I want to pass a Variable to a function when a button is clicked. I am used to just passing a Variable like so: FuncTest(CustomVarible); But that doesn't seem to work. Here is an example of what I trying to do; I know it won't run in actionscript, but at l...more >>

Functions in a class
Posted by WebmastaDj at 6/29/2007 1:58:37 AM
Ok, I have found defining classes in .as files can be very useful for me. I have a few functions that are being called over and over again in different movies. There is what I want / need to do in order to stream line the creating and updating of the flash site. I want to see if I can put t...more >>

external text issue
Posted by adamon at 6/29/2007 12:55:07 AM
I have tried to look up this issue in the flash help, lynda.com and here with no luck. I have an issue with external text that I import. The text loads fine but when I click to go to another frame in the same timeline the previous text stays and the new text renders over the previous text....more >>

Set Object's Properties in constructor?
Posted by cayennecode at 6/29/2007 12:05:51 AM
I thought new Object({ prop:true, prop2:false }); was proper syntax for that......more >>

FLV gets automatically resized
Posted by chicksel at 6/29/2007 12:00:00 AM
I have the following script that works perfectly to play random and in a loop but everytime it loops the size of the video is resized but i cant see where its being done...Anyone who does see it? my_FLVPlybk.muteButton = mute; var movies:Array = ["filmpje1.flv","test.flv","filmpje3.flv"]...more >>

Load data from CD-ROM
Posted by sdive at 6/29/2007 12:00:00 AM
Hi, I was wondering. If a user visits a site, can you make a Flash file that shows data from the user's CD-ROM drive and interact with the data as if it were local? Of course, the user has to grant access to this permission first, but is it possible? Thanks. ...more >>

How to Tween CUSTOM classes?
Posted by mmick66 at 6/29/2007 12:00:00 AM
I am familiar with the tween class but all I want to do is add its functionality to my custom classes which are nothing more than extensions of the Movie Clip class.... I cant use the import statement in a class file and putting it on the main stage doesnt work either... Any ideas? ...more >>

Transform Matrix affects multiple clips
Posted by rickLep at 6/29/2007 12:00:00 AM
Hi, I have a piece of code which instances a new MC (attached to an empty MC on stage) and attaches an onEnterFrame function to it, which will move the clip to the right and skews the clip along the X-axis. The problem is, when I create another instance, it influences the skew of the pre...more >>

Buttons
Posted by Leonel1982 at 6/28/2007 11:23:32 PM
Hello. I'm in an interesting predicament. I created a kind of interactive seating chart for my company that allows one to look up peoples names and extension numbers. Unfortunately I created it in a way that severely limits updating new employees and positions. http://dontbedumb.twu.net/fl...more >>

Clickable links in a TextArea that load in a NEW browser window?
Posted by DMurr at 6/28/2007 11:10:36 PM
I am using a TextArea to show some text that sometimes contains URLs that should be clickable, but when they are clicked, the page loads in the same browser window/tab as the swf-- replacing the swf. Is there some way to trap those clicks and process them yourself, so that you can force a new...more >>

XML I/O
Posted by Risuun at 6/28/2007 10:59:20 PM
I looked all over and I haven't found any good information or samples on how to read from and write to an external XML file. From what I understand, there needs to be a server-side script to receive the data when you use URLRequestMethod.POST (not sure how to use though). However, my current...more >>

mac textinput issue + new player fullscreen issue
Posted by eyeten at 6/28/2007 9:43:13 PM
Please inform me if I am a total idiot,... but it appears that holding down backspace while in a TextInput on a mac will only delete one character rather than deleting chars as long as the button is held down. I have tried making the simplest project consisting of only a base sprite and a text...more >>

Random Circles
Posted by 72dolphins at 6/28/2007 8:26:32 PM
Hello- I am trying to figure out how to make a random number of circles appear on a stage I have created and then have them scale x and y randomly and at different speeds as well. In other words, the circles would appear in random numbers, in random locations, at different speeds, and scale ...more >>

onPress in class def?
Posted by genotype at 6/28/2007 7:45:12 PM
Using onPress within my class definition seems to work sometimes and not others. I started with a small test file called Test.as class Test extends MovieClip{ function onPress() { trace("howdy"); _level0.status_txt.text = _level0.html_var; } } In my test.fla file i have a sin...more >>

help: axes values moves with chart
Posted by RicksterL at 6/28/2007 7:34:53 PM
can anyone help me with this? i made a app which draws a chart with values passed from database, how can i create the axes values which will move and display different values as the chart is moved or zoomed in/out? can i use dynamic text fields so that each time i move the chart, new tex...more >>

LoadVars Problem
Posted by cds879 at 6/28/2007 7:34:19 PM
What am I doing wrong here? Or is this a bug I can work around? [i] var mainLoadVars:LoadVars = new LoadVars(); mainLoadVars.onLoad = function() { inString = mainLoadVars.toString(); trace(inString); } btnMain.onPress = function() { mainLoadVars.load(urlcut + "/lookup.php?...more >>

GetURL
Posted by WebmastaDj at 6/28/2007 7:24:49 PM
I can not believe this simple task is giving me such a hasle. I can't seem to figure out how to link to an external URL from within flash. Basically, I just want to open a new browser window with a certain webpage in it when a visitor clicks a button. How would I go about doing this in Acti...more >>


DevelopmentNow Blog