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 > august 2006

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

FLVPlayback issues
Posted by kazbb at 8/31/2006 9:16:47 PM
Hi, I'm building an expandable flash banner that plays video clips. You rollover a static image to open out a larger playback area. With this area I have an FLVPlayback window that i'm loading different clips into using a menu of buttons. There is also the option to close the banner to ...more >>


flash v2 component help?
Posted by Shaun Perry at 8/31/2006 7:42:30 PM
Hi I have a flash 8 combobox which I populate from a remoting call. The problem is that the width doesnt automatically resize for the text added to it. If I force a width using _width, it stretches the component. Am I missing something? Thanks in advance Shaun ...more >>

Dragable movie clip
Posted by Matt-R at 8/31/2006 6:30:54 PM
I have a movie clip (mc) I want to be able to drag around the screen with the mouse. The problem is within the mc I have some buttons, and these buttons stop working when I use the standard drag code for the mc. Below is the code I am using to drag the mc: mc.onPress = function() :Void {...more >>

detecting mouse on stage
Posted by leaguer44 at 8/31/2006 5:46:30 PM
i have built a drop down menu with xml and actionscript but i need multiple instances of the menu on the stage so i want to detect when the mouse touches the stage so i may close all current open menus. thanks ...more >>

Re: Proportional scaling
Posted by gurthWERM at 8/31/2006 5:39:15 PM
heh ;)...more >>

getting the stage size of a loaded swf (update?)
Posted by chrisbhansen at 8/31/2006 5:19:00 PM
Hi, I searched in previous threads here and discovered that the only way to get the stage width and height of a SWF that you load in is to "create a rectangle on the first page of the imported SWF that is the same height and width as the document" - Is that still true? - Or has there been ...more >>

Re: Save Quiz Results to File
Posted by joedisney at 8/31/2006 5:08:57 PM
It will be local so could you explain what a wrapper for the projector is? Thanks....more >>

what would be the script?
Posted by dzedward at 8/31/2006 4:39:55 PM
if i get my images from a .txt file, i think i have to use: g_img_urls[g_cur_page] and maybe loadMovie??? im not really sure, ive never had to do enlarge b4... some help on the script for the button would help me soooo much.. Thanks everyone ...more >>



displaying all the text in a dynamic text field
Posted by Goo101 at 8/31/2006 3:49:00 PM
I have a dynamic text field (W: 403.3, H: 45.6) with font Trebuchet MS, fontsize 35. I want to display a variable in here (an album name to be precise) which is pulled in from an XML file. However, if the variable text is longer than 23 characters, the text gets cut off at the end of the ...more >>

Global mute (or volume) control?
Posted by Applied CD at 8/31/2006 3:35:32 PM
OK, this is a real noob question and I think I already know the answer but I?d like some conformation of my fears ;-) ? is there any way to globally mute sound effects placed in timeline layers or do I really have to make sound objects out of each and every one of them and use soundObject.setV...more >>

How is this done??
Posted by Adam Deeley at 8/31/2006 3:14:30 PM
Hi, wondered if anyone could help me. I really like the way the images appear when clicked on in the gallery section of this website http://www.graemeswinton.co.uk Could anyone point me in the right direction, or know any tutorials i could follow to replicate this effect?? Thanks so much f...more >>

Quiz
Posted by teebee_fedup at 8/31/2006 1:41:50 PM
I need to create approximately 5 questions with yes/no answers for a self-assessment check. All the results need to be showed in a summary, so there are no right or wrong answers. I've had a look at the quiz templates and wondered if they could be modified in some way? I don't know very muc...more >>

getMovieClipAtLocation ?
Posted by tivins at 8/31/2006 12:34:34 PM
Hi! Is it possible to know which MovieClip is at location x, y ? Thanks....more >>

LoadVars always undefined when viewing uploaded movie
Posted by saldillo at 8/31/2006 3:12:02 AM
Hello, I created a flash movie that has a "Contact us" form, that sends name, email, phone number and comments to an ASP.NET web page that acts as an email relay. If it is able to contact the ASP page, then it displays a "success" message. If it is unable to contact the server or if the ...more >>

Rotating Picture in Place
Posted by cmalumphy at 8/31/2006 1:19:56 AM
I want to load a gif file into a movieclip and rotate it around its center point. But my code rotates the picture around the 0,0 point in the top right corner. var cx:Number = Stage.width / 2; var cy:Number = Stage.height / 2; import flash.display.BitmapData; //my picture 506px by ...more >>

looking for examples of oop for arcade games
Posted by new2oop at 8/31/2006 12:32:56 AM
Most of the Flash game books are still written in procedural code, sometimes with a small example of oop in .as files. I'm looking for some really good examples of simple arcade games written using best practise AS2 OOP (compatible with AS3 practises). 1. I'm assuming this will include m...more >>

Language implementation
Posted by neha_1808 at 8/31/2006 12:00:00 AM
Hi All, My problem is related to language inplementation in actionscripting. I am involved in development of a website.In which i am working on flash applications. This website is multilingual. We have finished working in English version and now we are looking for development in another l...more >>

Designer tries code - needs basic help...
Posted by Stephen C at 8/31/2006 12:00:00 AM
I know this is most inelegant and I'm wondering if there is an easy way to clean this up rather than repeating it 12 times. (A fair number of eyes roll skyward about now - I'm a newb) How would I write a function that would take care of all of them, given that the instance names of each ob...more >>

AS2 Class Troubleshoot
Posted by budiwi at 8/31/2006 12:00:00 AM
I received a flash file that uses 'import' and 'include' statements for a number of external class files. The author has given me the published file and it was OK. However, when I tried publishing the FLA file from my system (I am using Flash 8 on a mac and the author uses its windows version)...more >>

D'you know the "JSFL is taking long time to execute" message?
Posted by has981 at 8/31/2006 12:00:00 AM
Hi fellow flashers, My jsfl traverses an fla file looking for movie clips, it is working just fine but takes longer times for larger fla files causing flash to dispaly a message telling me that the jsfl is taking long time and whether I want to continue or not. How can I suppress this ...more >>

large-scale swf causes 100% CPU usage
Posted by bator1982 at 8/31/2006 12:00:00 AM
Hi, I've created an interactive map that loads data from XML. The map is made from several areas (MCs, currently 16) - all positioned in a "mega MC" that holds the map together. The JPG are loaded externally respectively to the area MC that it belongs to. The problem is that the Map MC (t...more >>

Need help on Flash Java-Script.
Posted by has981 at 8/31/2006 12:00:00 AM
Hi forum, I'm working on jsfl routine that traverses the fla file looking for every movie clip. My routine is recursive meaning that each time I find a movieclip I call the enterEditMode('inPlace') function and then call the main function again. The problem is that I can't perform an ed...more >>

CheckBox and ComboBox CellRenderer API
Posted by olally at 8/31/2006 12:00:00 AM
Hi there, I donwloaded a sample ffrom www.macromedia.com/go/component_samples. which embeeds check box , combobox into a list component..... I placed a new button on the stage called selectAll_btn , on clicking this button I should be ablt to make all the checkboxes in the list compo...more >>

pop-ups blocked in XP
Posted by paqui71 at 8/31/2006 12:00:00 AM
Ok, here is a tricky one: I've got a project which was working correctly on all the platforms and browsers (early XP as well) and now the same disc is not working anymore only on windows XP machines. I suspect some security update might be the cause of some conflict with the javascript in ...more >>

bitmapdata
Posted by jagguy99 at 8/31/2006 12:00:00 AM
This works by creating a bitmap on the fly then loading , but how do i work with a bitmap loaded in library from a file? import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Point; var bitmapData_1:BitmapData = new BitmapData(100, 80, false, 0x00CCCCCC); va...more >>

rollover button
Posted by XxXSpitfirEXxX at 8/31/2006 12:00:00 AM
Hello, I mad 2 frames with on frame one the normal button and a code that it has to go to frame2 onRollover. On frame 2 there is the rollover button and I have got this code on the button on(rollOut){ gotoAndPlay(1); } What is the question. I want that after the rollout the roll...more >>

how to improve performance
Posted by kalyanchakri at 8/31/2006 12:00:00 AM
hi all, can u please suggest me some tips to improve performance of flash file using action script. thanks in advance....more >>

shared object and color changing
Posted by Walloompoom at 8/30/2006 11:29:18 PM
Hi there, Im trying to set a shared object to set the color of two mc's. everything works up to the point of my_color.setTransform(myColorTransform); which trace's undefined. I cant see whats heppening here. can you? dataFile = SharedObject.getLocal("myData"); // Set color var my...more >>

flash player 6, 7
Posted by jonnybennett at 8/30/2006 11:25:12 PM
Does anyone know where I can download an older version of the flash player (pre7), so that I can test to see if my flash detection is working? thanks jonny,...more >>

creating an array of movieclips in AS2 oop
Posted by new2oop at 8/30/2006 10:36:37 PM
Long time proceedural programmer trying to switch to OOP. Using the book "Object Oriented Actionscript for Flash 8" I've created the example of a class with a movieclip passed to it as a parameter. Trying to expand that to an array of clips/classes and without success. Here's the class: ...more >>

Slideshow
Posted by dayjahone at 8/30/2006 10:07:28 PM
I have a slideshow that is working with one slight problem. When the photo comes up, it acts like a button, meaning it is clickable. the link doesn't work of course, but I can't figure out how to make it so it's just an image. I have attached the actionscript I'm using. stop(); var t...more >>

inseting AS code into a frame of a clip made of an AVI file
Posted by aa at 8/30/2006 10:04:06 PM
I have an AVI video imported into a library. Then drug and drop this AVI into a movieclip. Now in this movieclip timeline I see all 120 frames making the avi file. If I wanted to place some AS code into a certain frame, how do I do that? I understand, I need first to convert this frame into a ...more >>

How Is This Done??
Posted by Adam Deeley at 8/30/2006 9:06:09 PM
Hi, wondered if anyone could help me. I really like the way the images appear when clicked on in the gallery section of this website http://www.graemeswinton.co.uk. Could anyone point me in the right direction, or know any tutorials i could follow to replicate this effect?? Thanks so much ...more >>

Form won't go to thank you page, need help...
Posted by withhisstripes at 8/30/2006 8:06:00 PM
Heya, So if you visit http://www.hookmedia.biz/cabinet_source/v4_f and you access the "contact us" page you'll see that once you complete and submit the form that it does not direct you to the thank you page. I can figure out why, can someone please help? Thanks. The .fla can be acc...more >>

problem with scrolling content actionscript
Posted by dustbunnie at 8/30/2006 7:18:14 PM
Hi everyone... I just completed the relative scrolling content tutorial found on this page: http://www.actionscripts.org/tutorials/intermediate/relative_scrolling/rel_scrol _1.shtml as I'm looking to create a similar effect on a client's web site. However, when I go to test the animation I cr...more >>

Internet Explorer - flash/javascript issues
Posted by kruegs at 8/30/2006 6:27:17 PM
I am working on a site that has two swf files communicating to each other via javascript. It works in all browsers I am targeting until recently when IE on a PC has stopped working properly. Has anyone experienced a similiar issue recently? I was wondering whether it had to do with the new...more >>

Problem with listener...{ expected ?!?!
Posted by Alfa & Omega at 8/30/2006 5:13:39 PM
I'm using Flash PLayer 8, ActionScript 1.0 and have this piece of code: <CODE> this.createEmptyMovieClip("img_mc", 999); var my_mcl:MovieClipLoader = new MovieClipLoader(); var mclListener:Object = new Object() mclListener.onLoadProgress = function(target_mc:MovieClip, numBytesLoaded:Num...more >>

Dynamice External Actionscript
Posted by nexposure at 8/30/2006 4:45:14 PM
Is it possible to have external actionscript that can be edited and saved simply due to actions in the swf it is a part of? For instance, have a website that users must log in to with the ability to "remember" them. So that after they've logged in on thier computer and chose to "remember"...more >>

figuring out actionscript for a nested swf
Posted by macron at 8/30/2006 4:41:00 PM
hi all, i've got 3 swfs: call them 1, 2, and 3. i have a function in swf2 that i want to run when the viewer presses a button in swf3. if 2 is nested in 1, and 3 is nested in 2, how would i go about running a script in 2 from a script in 3? i tried _root.loadImage(); and _paren...more >>

figuring out actionscript for a nested swf
Posted by macron at 8/30/2006 4:40:59 PM
hi all, i've got 3 swfs: call them 1, 2, and 3. i have a function in swf2 that i want to run when the viewer presses a button in swf3. if 2 is nested in 1, and 3 is nested in 2, how would i go about running a script in 2 from a script in 3? i tried _root.loadImage(); and parent...more >>

Urgent, need to load movie frame
Posted by serg2049 at 8/30/2006 4:05:00 PM
I've been caught in this for 2 days, please help, it's been difficult to get someone to answer my threads... Thanks I have a preloader movie that loads a movie called rotando6.swf the problem is that on the main stage I have only a movie called sphere, I need the preloader to load rotando6...more >>

Urgent, need to load movie frame, p
Posted by serg2049 at 8/30/2006 4:04:33 PM
I've been caught in this for 2 days, please help, it's been difficult to get someone to answer my threads... Thanks I have a preloader movie that loads a movie called rotando6.swf the problem is that on the main stage I have only a movie called sphere, I need the preloader to load rotando6...more >>

Expanding Button help
Posted by mohow at 8/30/2006 3:25:31 PM
I have a problem assigning a function to the buttons is the attached file. Each attempt either causes the actioncript to stop working or doesn't work at all. I would like to add some script like [ <home>.onPress = function() ]. I just can't get it to work. Thanks for any help.:confused; ...more >>

pop-ups blocked in XP
Posted by paqui71 at 8/30/2006 3:20:03 PM
Hi, I made sometime ago a project in flash/html which uses pop-up windows from a flash page (script) to load html/flash windows. It was working fine with the first releases of windows XP but I've tried it recently and the pop-up windows are not loaded anymore. It works fine on a mac/saf...more >>

sound Loading in IE
Posted by Tal_CS at 8/30/2006 3:16:36 PM
Hi, I'm trying to load a sound into various objects created on stage dynamically. Within Flash env. and FireFox, all goes right: [num] A container MC is created A Sound object is created within that MC onLoad function is registered for each container['s].sound [/num] I can't fi...more >>

Store Data Locally
Posted by amander2005 at 8/30/2006 1:53:10 PM
Hello, I am looking for a good comprehensive tutorial on storing data locally on a user's machine. I am creating an e-Learning app and need to have it store quiz results, etc. on the user's machine so it is there when they come back to it. Has anyone had luck with this and maybe knows whe...more >>

how to avoid flash player out of memory problems
Posted by kalyanchakri at 8/30/2006 1:10:38 PM
hi all, when i am running my swf file i am getting the message saying that " flash script causes flash player run slowly do u want abort script ". even it's not the problem of infinite loop.in that i am passing huge data. please help me how to avoid this situation. ...more >>

Using Numeric Stepper for Time
Posted by YoonMi at 8/30/2006 12:50:44 PM
Hi there All, I want to use the numeric stepper to select time. I want to be able to move up and down using the numeric stepper in 15 minute intervals...can this be done. For example if the default value is 12:00 - I want to move down to chose 12:15 and up to chose 11:45. I would u...more >>

tabIndex trouble
Posted by OniLink at 8/30/2006 4:50:19 AM
Is there any reason why the attached code shouldn't work? /******** Tab Index *********/ itemname_txt.tabIndex = 1; maincat_cbx.tabIndex = 2; var nextIndex:Number = 3; for (i=0; i<20; i++) { var size_mc:MovieClip = size_pane.content["size"+i]; size_mc.itemid_txt.tabIndex =...more >>

load animated symbol
Posted by jagguy99 at 8/30/2006 3:20:24 AM
Can I load a symbol from the library with actionscript at run time ? Some symbols have more than 1 frame like animation and have to be created in flash and stored into a library. I want the animation to appear when i click a button, so it seems awkward to read from a file, using actonscrip...more >>


DevelopmentNow Blog