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 > april 2006 > threads for monday april 10

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

I need a better UI creation approach
Posted by JustStartingOut at 4/10/2006 11:23:31 PM
I'm really kind of new to Flash, with a strong background in Java GUI programming. I'm trying to teach myself ActionScript by writing a ColorPicker class. Furthermore, I'm trying to do this without using the WYSIWYG Flash editor except to import .as files, because I'm more comfortable writin...more >>


Webcam snapshot tutorial
Posted by raffael3d at 4/10/2006 10:13:47 PM
I did this tutorial www.macromedia.com/cfusion/search/index.cfm?loc=en_us&term=webcam%20snapshot%20t utorial part 1 works fine, I see the webcam and it works. Now all I need is to make a snapshot, however it just doens't work, altough I tried everything that it says there... just do...more >>

loadMovie Invisible text
Posted by jondro at 4/10/2006 9:58:55 PM
hi everyone... when loading a swf file using loadMovie() the text doesnt load only the images. Anybody have any ideas of how I can fix this? Here is the script: loadMovie("main.swf","clip1"); loadMovie("Members.swf","clip2"); loadMovie("about.swf","clip3"); loadMovie("xml_pg_final.sw...more >>

while loops blows up.
Posted by Swhxswt at 4/10/2006 9:01:13 PM
"A script is causing this application to run slowly" this is the code... on(rollOver){ over = true; while(over == true) { bbp = getProperty(_root.bb, _x); bbp = bbp+2; setProperty(_root.bb, _x, bbp); }//while } on(rollOut){ over = false; } Why does th...more >>

Weird Issue
Posted by nystagmust at 4/10/2006 8:54:06 PM
Note: This site will not work in firefox http://larryreaves.com I am working on this full browser site.( It is not fantastic but it gets the job done.) I have a strange problem. When you click on one of the links the boxes that are supposed to resize do so improperly Strangely i...more >>

Dynamic Drawing
Posted by Sanguis Inferno at 4/10/2006 8:51:45 PM
I am quite new at flash :o (well not that new but I only did animations before) and I know how to make a movie where you can draw and erase the drawing but I cant find out how to make it so you can only draw in a specific space eg: a box. Please help I dont know that much about actionscript ye...more >>

"for var obj in _root" problem
Posted by t_wooton at 4/10/2006 7:57:06 PM
I have a program that loads varibles from an external page and then prints them to text boxes on the stage. Here's the code: var my_List = new LoadVars(); my_List.load("www.blahblahblah.com/test.php"); my_List.onLoad = function() { for (var obj in _root) { var TempName:String = _roo...more >>

how to get information from javascript
Posted by wahid rahman at 4/10/2006 6:52:48 PM
hi..... i need to send screen.width value to the fla file........that's why i have done the following task..does FlashVars contain the dynamic data?? <script language="javascript"> function getWidth() { return screen.width; } function getHeight() { return screen.hei...more >>



Swaping Cursors when over a button object
Posted by Boldizar at 4/10/2006 6:41:25 PM
Okay, I am making an interactive diagram and I need the cursor to change when it is within a button object. I used the code from MX 2004 but it is not working in Flash 8. All I want to do is when the cursor is over a button object I don't want it to turn into the hand grabber icon I want it to...more >>

creating error messages
Posted by OutOnALimb at 4/10/2006 6:33:37 PM
I want to show message when someone clicks anything other than a button on the screen. For example I have a button on the screen that advances one frame when clicked. If they click anywhere else on the screen I want an message to display requesting the user to please click the button. I am ...more >>

Looping a frame x times
Posted by asd;lkj;asdf at 4/10/2006 6:26:39 PM
Hi, Need some help in figuring out why my code doesn't work. I have several images that need to play for x number of frames, then start playing the next image. Nothing works. Here's my code: On frame 1: var timeslooped = 0; Frame 2: function loopframe() { timeslooped++;...more >>

UIScrollBar
Posted by gurthWERM at 4/10/2006 6:18:59 PM
I've skinned other components using AS to assign the various states without issue, but when I do this with the UIScrollBar (assigning only those states skinnable as outlined in the documentation) the new graphics don't show up. Does anyone know if scripting the skins is wrong and I should d...more >>

Really simple Boolean Function...
Posted by TiJayOldroyd at 4/10/2006 6:06:18 PM
The attatched code has the creation of the function as I have it...my question is, how do I code: this._visible = (true, false); to say true or false depending on my code? do I use 's? function _vis(Boolean) { interval = setInterval(function () { this._visible = (true, false); ...more >>

I have problem
Posted by astergil13 at 4/10/2006 6:01:15 PM
i want my button to change scene to scene2 but it still play back on scene1 i use this action: on(press) { _root.gotoAndPlay('1','scene2'); }...more >>

Re: Sliding Menu
Posted by cto5159 at 4/10/2006 5:54:52 PM
Thank you. I have a movie clip that contains several menu buttons. They have text on them with rollovers for a color change. In the first frame action I have _root.onEnterFrame = function() { menu_mc._y = menu_mc._y + (0.25 * Stage.height - _root._ymouse) / 50; }; The name of ...more >>

Button
Posted by astergil13 at 4/10/2006 5:52:55 PM
Hi there, I have a problem about button. I want it after is pressed, it will lead to scene 2. But my button leads to scene 1 , frame 1 again. I woder where i made mistake. i use ActionScript like this, on(press) { _root.gotoAndPlay('1','scene2'); } ...more >>

Text round a movieclip
Posted by Fran at 4/10/2006 5:41:03 PM
Hello, in my movie i need that a TextField created dinamically and filled from a ".txt" file don't be over a MovieClip where i load an external image. I mean, like it happens in HTML between text and images. The text go away normal but, when it pass over the image, a new line is entered. I ...more >>

Troubles with tweens after changing mc._x property
Posted by artfabrique at 4/10/2006 5:00:34 PM
I can't solve this problem: I have 100 frame movie. in the first frame AS is : //back_main - is a background movieclip with gradient //solarsys - is movieclip of preloader (with which I have troubles) var stageListener:Object = new Object(); h = Stage.height; w = Stage.width; _...more >>

Opening PDFs from a Projector
Posted by JP.Harron at 4/10/2006 4:54:00 PM
Can anyone tell me how to open a PDF in Acrobat from a button in your projector (for CD-ROM usage)?...more >>

x + y of mouse
Posted by sessie at 4/10/2006 4:48:28 PM
hi guys, I have a colouring book, I have a paint brush that is made up of two movies one for the body and one for the nib. I hide the mouse when loading however I can not get the point of the brush and the mouse to be the same??? So i end up useing the centre of the brush to change colou...more >>

Live preview parameters
Posted by Finty at 4/10/2006 4:34:46 PM
I am creating a few components that extend some of the existing GUI components. One in particular inherits from the label class. I have created a live preview that contains a regular label component and I am updating it using the onUpdate() function and accessing my custom component's param...more >>

Selection.setFocus();
Posted by G_Swank at 4/10/2006 4:07:49 PM
Why is this one so hard. There are a couple dozen posts out there but nothing I have tried works. So here it is. An input textbox onScreen with an instance name of: myText - that's it. // no text in the box. Running the following script in the action layer in frame one I have: Selectio...more >>

Convert web color to rgb?
Posted by Doug8237 at 4/10/2006 3:59:10 PM
I am passing an web color (like #6096BF) to flash file and then trying to convert it to rgb so that I can't dynamically controll the color of my text. Below is my code, but the conversion doesn't seem to be working - the text always comes out black. Please help! Thanks! function hexToRGB...more >>

Inserting a new node between nodes.
Posted by JimmySlam at 4/10/2006 3:51:44 PM
I have created this code but it sont doing anything. var insertPoint:XMLNode = database1.firstChild.childNodes[j].childNodes[k].firstChild; var newNode:XML = new XML("<content>"+temp0+"</content>"); database1.insertBefore(newNode, insertPoint); I have this on the XML.. <db> ...... ...more >>

Mouse over button problem...
Posted by hutch-diggens at 4/10/2006 3:47:20 PM
Ok, i'm trying to create a nav. where when your mouse rolls over a certain part of the screen, the nav bar slides over. And then when you rollover the buttons on the nav. the buttons also have a rollover animation. I tried using two btns, but that obviously didn't work. i was wondering if t...more >>

image tag in dynamic text fields
Posted by rajibm at 4/10/2006 3:31:32 PM
How can i format the image tag to come in line with text when used in dynamic text fields rendered as html Pls help !!!...more >>

Scale a loadmovie
Posted by Sanj at 4/10/2006 1:38:15 PM
Hi, I've completely forgot how to scale a movie that has been loaded with the loadmovie: loadMovieNum("intro",10) How can I scale the movie, I thought it was, setProperty(_level10, _xscale, 80) but this does not work - any idesa? Thanks ...more >>

Text field question
Posted by DMennenoh at 4/10/2006 9:48:54 AM
I have a dynamic text field, font embedded - wordWrap is true, autoSize is true. Text is pulled from a database. Most of the time it's working fine, but sometimes Flash is wrapping the text very odd. For instance - the string: "Commerative Give Away" gets formatted in the field like: Comm...more >>

same functions, different .swfs
Posted by maguskrool at 4/10/2006 4:47:47 AM
Hi, I have several functions that are used in several different .swfs. Is there a way to define them only once on a file and then import the file in each .swf, or something similar? I read a bit about external .as files but got the impression it would only work for classes. Thank you. ...more >>

Strange Site Quirks
Posted by nystagmust at 4/10/2006 4:19:56 AM
http://larryreaves.com I am working on this full browser site.( It is not fantastic but it gets the job done.) I have a couple of problems. 1. this site wont work in Firefox. 2. the boxes that are supposed to resize do so improperly These are my main problems and they seem like the...more >>

Scrolling my flash map problem
Posted by chuanho at 4/10/2006 4:00:36 AM
Hi guys, I?m having trouble with scrolling my flash map. When I try to zoom into the map, I can?t see the other parts. How do I increase the scroll length? Anyone have any ideas? Here are the links to the flash map. URL http://www.howgreen.net.au/develop/flash%20map/old.html ...more >>

text field problems
Posted by jumanji :-)) at 4/10/2006 3:47:29 AM
I have several nested mcs. One calls up the text file into a text field created by createEmptyMovieClip. It usually shows the bold and italic text as it should be, however when I return to the main timeline (unlodading the text swf with removeMovieClip) and then select it again, it often ...more >>

dynamically attached invisible button not working
Posted by sneakyimp at 4/10/2006 3:11:25 AM
I created a button in my movie's library called 'invisibleButton'. it has no up/over/down stuff, only a square shape on the 'hit' frame. a classic invisible button. I exported it for actionScript via the linkage dialog as 'invisibleButton' i wrote a function called addClickShield() whic...more >>

need help with unload movie clip please
Posted by daveto at 4/10/2006 2:39:16 AM
I have put an empty movie clip on my main movie and named it "three" I have a button, that when clicked loads a movie called "cmain1.swf" into it. on (release) { loadMovie("cmain1.swf", "three", "GET"); } Now I have a close button on the "cmain1.swf" that when clicked is supposed ...more >>

Simple little qustion!!! hitTest that stops taking effect.
Posted by WeirdGuy at 4/10/2006 2:08:31 AM
if (this.hitTest(_root.blockade_mc)) { moveSpeed=2; } There's the code. Basically in my stupid little n00by game my guy has a movespeed of 5. Now, the goal for me is to let this code work BUT ONLY when it's touching the object. Right now when he walks over it he's permanetly s...more >>

equality (==) bug ? ! ?
Posted by c_3_k at 4/10/2006 12:00:00 AM
try this: minV = 0; maxV = 3; stepV = 0.2; targetV = 0.6; for(i=minV; i<=maxV; i+=stepV){ trace(i == targetV); } it targetV is 0.6 or 1.6 or 1.8 or other... it never trace true!!! why??? ...more >>

Navigate from within mc, up one level?
Posted by twistedpancreas at 4/10/2006 12:00:00 AM
This might be a dead easy question. Say I have a mc called "mc1", inside it is another mc called "mc2". Inside "mc2" is another mc called "mc3". What code inside "mc3" tells an animation to start playing in "mc2"? (ie back one level, not all the way back to the _root level) thanks i...more >>

Open in new window without toolbar
Posted by AESS1981 at 4/10/2006 12:00:00 AM
I want my button to open a new window at a specific size, without the toolbar. This code does not work: on (release) { window.open('download.htm','GO Magazine','toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no, width=210, height=210'); } How do i fix this?...more >>

File Upload using Flash8
Posted by palsforpals at 4/10/2006 12:00:00 AM
I want to create a Flash page which allows user to upload files. The scripting language for the server would be JSP using tomcat. Can any1 tell me where I could find a tutorial in this matter, coz...I see php and flash interaction all around the net?? If some1 could post the code on JSP fo...more >>

constructing loading path through external text
Posted by diork at 4/10/2006 12:00:00 AM
Hello all, Currently I am working on a project about sound. The core swf is required to load external swf/sound files and play, and the core swf is in different folder as the sound files. Since the project may pass over to other team later, I want to make the maintenance easier (if they ar...more >>

actionscript running slow in IE, but not in FF
Posted by rudgr at 4/10/2006 12:00:00 AM
Hi, I've created a flash rotating menu that eases to a certain rotation degree. The easing is achieved by a setInterval method that rotates the menu according to the number of degrees it still has to rotate, the smaller this disctance gets, the smaller the number of degrees the menu is rot...more >>

this.unloadMovie() in player 7 vs player 8
Posted by Dubya1964 at 4/10/2006 12:00:00 AM
When I posted my message yesterday I forgot a So, here is my post again, preceeded by this oh-so-important prelude. Greetings, I have a sub-menu.swf that is loaded through the main-menu.swf. The sub-menu slides into view, comes to a pause and is restarted by a button "close" after wh...more >>

reinit videostreams
Posted by CastTen at 4/10/2006 12:00:00 AM
Hi, what is the correct way to start a video stream, disconnect it and reinitialize it with a another video. I had some problems with reinitialising it, it just won't connect again. TIA...more >>


DevelopmentNow Blog