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


all groups > flash actionscript > july 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 31

Mask w/ TextField???
Posted by cayennecode at 7/31/2007 11:45:54 PM
I have a mask, if I put anything beneath it, OTHER than a TextField, the graphic is visible. If I put a TextField beneath the mask, the TextField doesn't show up? wtf?...more >>

flv audio bug
Posted by breez11 at 7/31/2007 10:37:47 PM
in my flv player when the player triggers the ns.play('somevideo.flv") I here a crackle or some sort of chirp at the very beginning even if autoPlay is set to false. It might be the beginning of the audio of the .flvcode. I am wondering if it is my code or if someone else has experience someth...more >>

Flash/ASP.net File Upload Tool
Posted by schmidtjra at 7/31/2007 9:56:17 PM
Source Files - http://www.jmanproductions.com/Source.zip Good afternoon, I'm trying to recreate a Flash/ASP.net File Upload tool that I saw here: http://www.codeproject.com/aspnet/FlashUpload.asp This version was done with Flash 8, so I wanted to recreate it using Flash CS3 and AS3. I ...more >>

help! need to make flash 5 script work for flash 8
Posted by matthewsis at 7/31/2007 9:49:19 PM
hey guys, I have a menu bar slider that was created in flash 5 - but of course once I bring into flash 8 the action script ceases to work correctly. its probably very quick fix, but im a bit lost here, tried everything. anyone able to quickly skim over my code and tell me whats wrong? ...more >>

Please Help
Posted by MACish at 7/31/2007 9:13:03 PM
:confused; Why I can use movie clip as a button in some fla, but not in others. Here is error message I got: "**Error** Scene=Scene 1, layer=ActionScript, frame=1:Line 8: Left side of assignment operator must be variable or property. mc-lashbtn.onRelease = function () {..." Please...more >>

How to retrieve the name of an array?
Posted by Bob Pierce at 7/31/2007 8:59:43 PM
I can name an array so that it includes an index value like this: this["myArray"+i] = new Array(); but how do I then extract the index value when Arrays don't have a name property?...more >>

working with AS3 custom packages
Posted by Vee at 7/31/2007 8:47:11 PM
I am having trouble getting this and im not sure why. I understand why one wants to use a package. When I use a package name I get an error. When I leave out the package name in the ".as" file and just import the class directly everything works. How do I get to use my own packages as well? he...more >>

Can't remove Key listeners
Posted by gilesrulz at 7/31/2007 8:09:05 PM
I have been having the worst time getting these key listeners to go away! Any help would be greatly appreciated. Please see attached code. I even tried putting the remove listener on the next frame, and that didn't work either. tabPress.onKeyDown = function() { if (Key.isDown(Key.TAB))...more >>



Array syntax AS 2.0
Posted by MATTANDIE at 7/31/2007 8:02:50 PM
Hello, I have been going through the tutorials in Adobe's Flash 8 training from the source, and I have run into a syntax question about arrays and was hoping someone could explain something for me. specifically why I can trace an element in the first example but not in the second. (IE...more >>

i can't get this to work, but i know you can.
Posted by dtrace at 7/31/2007 6:52:28 PM
I'm trying to modify this image pan tutorial a bit...but it isn't working. http://www.kirupa.com/developer/flash8/interactive_image_pan.htm there are two things that I need to change. The way it currently is...the function is operating on any mousemove. So in other words, whenever you move...more >>

PHP Flash mp3 player click play button question
Posted by monster91 at 7/31/2007 6:40:54 PM
Is it possible to do it in dynamic flash with php, all i want is when user click play button, it can update click count to mysql. If yes, show me how to do? thank you...more >>

formatting to load a 3d array into flash?
Posted by Ciaran at 7/31/2007 6:30:04 PM
Hi, What's the best way to load a 3d array into flash? I've done this sort of thing before but not quite this complicated - I have flash set up to communicate with a php file on my server and grab the data it spits out but I'm not sure how to format the vars for flash. What should the string c...more >>

Help! Scrolling Text question.
Posted by klober23 at 7/31/2007 6:24:08 PM
I am using flash CS3 and am stuck in the middle of a project. I have a text box with a large amount of text and a small viewable window so I am have made it scroll. My problem is that the end text of my text box either ends up wraped over the top text of the text box. I either get this resu...more >>

addition and subtraction
Posted by jak9942 at 7/31/2007 5:11:50 PM
how can add numbers together in using as2 i have a button that when pressed adds 20 to a text field with another number in it. i am using the following format. on (release) { text.text = "+3"; } please can someone correct this. ...more >>

replace "Adobe Flash Player 9" in stand-a-lone header bar
Posted by wtreppler_mk at 7/31/2007 3:37:37 PM
Is there a way to replace the text "Adobe Flash Player 9" in the header bar of a Flash Projector? I am creating a product that will utilize Flash to connect to a database and retrieve drug information and would like to brand the projector with the product name in the header bar of the sta...more >>

Loading external MP3
Posted by dtedone1 at 7/31/2007 3:32:17 PM
Hi I Have made a sound control panel with a start, stop and volume control - at the moment it loads a .swf with music in from the library- which is 2 big 2 download - can I load it externally by modifying this code ? var song:Sound = new Sound(); song.attachSound("a_thousand_ways");...more >>

SEO - Search engine optimisation for Flash
Posted by David Douglas at 7/31/2007 2:54:05 PM
Can anyone advise best practices on how to SEO a flash site? It appears most methods on the Net could be deemed as 'Black Hat' methods, even though its really a work-around. Thanks, David ...more >>

checkbox listener
Posted by jak9942 at 7/31/2007 2:13:13 PM
i am using the following script to make a piece of text change when a checkbox is checked. How can i make it so that when the checkbox is unchecked the text box says something different? checkboxListener = new Object(); checkboxListener.click = function (evt){ text.text = "Checked" ...more >>

Print Screen
Posted by rhouck at 7/31/2007 2:01:02 PM
I am having difficulty with the print function. I can get it to print out all the pages, but not a single scrren. I have gone to the Help menu and have tried various attempts. //Printbtn.onRelease = function() { //printNum(1,"bframe"); //} //this.Printbtn.onRelease = function(...more >>

ExternalInterface problem
Posted by Bob Robertson at 7/31/2007 1:57:01 PM
I have a movie, with interactivity and plenty of Actionscript 2.0 . Within this movie, I have defined a function called overrideFault. It is shown below. I have also exposed this function to JavaScript via ExternalInterface.addCallback(), also shown below. My problem is that when I try to ca...more >>

can i run a .swf file without appearing on taskbar?
Posted by kundan100 NO[at]SPAM gmail.com at 7/31/2007 7:25:54 AM
i want to make a .swf file, which could run without being appeared on taskbar... plz help thx ...more >>

Loading Clip
Posted by Sheik Yamid at 7/31/2007 5:53:09 AM
I have a menubar I'm working on for a company my friend works for, but i'm having trouble with it. One snag is they want to continue to use separate pages, so to save space I'm using a loader. But, when the page changes I want it to have the appropriate menu parts darkened/dropped, so that it ...more >>

clear interval
Posted by jonnybennett at 7/31/2007 5:41:43 AM
I have the following code in an m.c called mcSlideshow. this.onUnload=function():Void{ clearInterval(fadeOutInterval); clearInterval(fadeInterval); clearInterval(pauseInterval);} If mcSlideshow is attached to another m.c., eg. mc1.mcSlideshow it does not always clear the interval...more >>

publishing
Posted by _name at 7/31/2007 5:40:46 AM
flash is publishing my movies as shockwave objects and requiring end users to download shockwave in order to play them. why is this? how can i remedy this?...more >>

Tree View of web service variables
Posted by mikaye at 7/31/2007 3:46:18 AM
Is there a quick way to iterate through a webservice method's arguments to display in a tree view, e.g. convert to XML. The webservice arguments look like this, findMeetingList mx.rpc.soap.mxml.Operation (@224b3e51) arguments Object (@1cb50801) filter Object (@1cb507e1) ...more >>

Problem with function arguments
Posted by drzeller at 7/31/2007 1:49:17 AM
I am having a problem with arguments to a function not working. In the attached example, the values passed to the function are never reflected within the function. Can any one tell me what I am doing wrong? Thanks, David var galleryNumb:String; var pictNum:String; galleryNumb ...more >>

Flash isn't autogenerating classes...
Posted by Rusherific at 7/31/2007 1:34:49 AM
So I'm doing a U.S. dealer-locator map for my company, and I made my first custom class to be able to control the button properties of all the states at once. It works beautifully, except I can't assign my class to more than one State! If I set "myButtonClass" to, for example, California's...more >>

scrollpane position
Posted by tlm_scripter at 7/31/2007 12:55:48 AM
I am trying to do something very straightforward, just change the vertical position of the content in my scroll pane so that it aligns the way I'd like it to. Everything loads properly, but for some reason when I try to set it through the vPositon property nothing happens. Please help! ...more >>

Simple onRelease method doesn't work - why?
Posted by redbarn03 at 7/31/2007 12:51:41 AM
I have a nav system I'm developing and below is a piece of the code. It all is functioning well except the onRelease won't work. Any ideas, help would be a life saver. Thanks! this.onEnterFrame = function() { if (main_nav_mc.mag_nav_mc.hitTest(this._xmouse, this._ymouse, true)) { ...more >>

https help
Posted by ToonMariner at 7/31/2007 12:00:00 AM
Hi everyone, I really need some help here. I have an audio captcha script which is working wonderfully in the browsers I have tested on except for IE. The flash object is on a page under an ssl cert so url is https:.... NOW the flash file calls a php script which concatenates some ...more >>

HTML textfield shows my html tags?
Posted by verbruggher at 7/31/2007 12:00:00 AM
My html properties of my textfield are set on true and STILL he shows all my html tags? (property is set with actionscript AND in properties panel) The XML with the html content looks like this: <?xml version="1.0" encoding="utf-8" ?> - <texts> - <text mvcSubPage="sub2_mc" nr="1" ti...more >>

Try this blur tween, onRollOver and RollOut..
Posted by Michealnl at 7/31/2007 12:00:00 AM
Hello, I ff you roll over the first button (red one) ..it will increase in size and decrease in Size when roll out. This goes well, but when you do it to soon, the startsize is to big. Is there a way to get the value of the current size when use the RollOut function? Also the blur ...more >>

Move window view
Posted by auztin100 at 7/31/2007 12:00:00 AM
Hi, I am trying to create a site where you press button, and the screen moves to the left, moving to hidden text to the right into view ? Hope this makes sense. I have seen this site which does a similar thing to what I want to do http://www.concentrate.co.uk Best Regards, Auztin100 ...more >>

setting a value in number stepper
Posted by jak9942 at 7/31/2007 12:00:00 AM
How can i set a value in a nember stepper through actionscript? Thanks Jak...more >>

simple xml-question
Posted by felisan at 7/31/2007 12:00:00 AM
hello everybody. this puzzles me more than I had thought it could. when tracing this: trace(this.firstChild.firstChild.firstChild.childNodes[0]); I get this: <sted>S&amp;oslash;by Brunkulsmuseum</sted> but I only need to trace the content of <sted>, so I tried using: trace(this.firstC...more >>

External Library issues with swf's
Posted by joe1pratt at 7/31/2007 12:00:00 AM
I'm developing a product that uses an external library to store all the graphics, there are several animation .swf's held outside the main .swf/.exe file. When loading the product as an .exe it runs fine and brings in all the graphics, but when loading it as an .swf, the graphics in the exter...more >>

Contact Page
Posted by stary_eyes47 at 7/30/2007 11:48:54 PM
Hi, I am creating a contact page for a my website and I am having a bit of trouble. I have created the form in flash, and am using a php file to send the email to myself. The form works OK, but when it deliver's it to my inbox, I am getting all of this jibberish with the email Example: ...more >>

Frame Count for dynamic SWFs?
Posted by cconcannon at 7/30/2007 11:04:17 PM
I have made several separate SWF movies using Captivate and I want to compile and create a continuous playback in flash. I tried using a loadMovie which, of course, loads the first movie fine. But how do I let Flash know when it's done playing to load the second one? I thought I'd get a fra...more >>

textField_txt.scroll += 1 Someone?
Posted by Atmosfera at 7/30/2007 9:30:27 PM
Hi there guys, I'm wondering if it's possible to have a continuous scroll with this AS: Now the scroll works per click, one line per click, but I want to have the button pressed and the thing scrolling, using this script how that can be achieved? down_btn.onPress = function() { t...more >>

GetURL appending tween values to URL strings - help!
Posted by billbob_ at 7/30/2007 7:13:07 PM
Here's my code: [Q] on(release){ import mx.transitions.Tween; import mx.transitions.easing.*; var tweenImageX:Object = new Tween(whiteout_mc, "_alpha", Strong.easeIn, 0, 100, 1.5, true); tweenImageX.onMotionFinished = function() { getURL("/shop/category_splash.aspx?gp_coll_i...more >>

------ n00b can't make buttons work inside movie clip
Posted by töff at 7/30/2007 6:24:43 PM
(Adobe Flash CS3, Actionscript 3.0) I have a movie clip on the stage. Inside the movie clip I have some buttons (and lots of non-interactive graphics). When I am editing inside the movie clip, the buttons work with "Enable Simple Buttons" on. But when I go back to the parent scene, they d...more >>

Load SWF B from SWF A - pass values
Posted by drzeller at 7/30/2007 6:21:17 PM
I am modifying a template that loads SWF B from within SWF A using: loadMovieNum("B.swf", 1); I want re-use SWF B in multiple places and leverage a variable, call it myValue, within SWF B that is sent from SWF A. What is the best way to accomplish this? I cannot figure out how to pass ...more >>

Fullscreen, detect when leaving
Posted by Matt Blubaugh at 7/30/2007 6:02:08 PM
I was wondering if someone knew how to detect when Flash exits fullscreen mode via the escape key? I have this video app I'm developing that scales any video inputted to be full screen, as well as appropriate resizing of the transport. I added in a stage listener that updates a text field ...more >>

Movie clips, layers and Actionscript
Posted by eholz1 at 7/30/2007 5:53:33 PM
Hello Forum, There is something I do not quite understand. I have a base flash 8 document. I have a main timeline, and then I create 2 containers, each of which I attach a movie clip. I use the createEmpymovieclip, and the attacheMovieClip for this process. In one container I have a b...more >>

Movie clips, layers and Actionscript
Posted by eholz1 at 7/30/2007 5:53:30 PM
Hello Forum, There is something I do not quite understand. I have a base flash 8 document. I have a main timeline, and then I create 2 containers, each of which I attach a movie clip. I use the createEmpymovieclip, and the attacheMovieClip for this process. In one container I have a b...more >>

Event Handler Scope Issue
Posted by Almal at 7/30/2007 5:02:39 PM
Hi. I'm pretty new at AS and I'm having some trouble understanding event handler scope. I tried searching the forums, but there doesn't seem to be any threads on this particular problem. I'm trying to dynamically set onRelease event handlers for movie clips created in an onLoad event handle...more >>

JSON?
Posted by NickTheNameless at 7/30/2007 4:13:31 PM
I would like to use an external data feed that is formatted in JSON. If the information was XML, I would have very few questions. How do I request, retrieve, and display information with JSON?...more >>

What is wrong!!!!
Posted by jak9942 at 7/30/2007 4:12:03 PM
i am using this code to make a check box become selected if a text box contains the word "yes" for some reason it is not working. if (att_flashintro_txt.text="yes") { att_flashintro_cb.selected = true; } else { att_flashintro_cb.selected = false; } ...more >>

check box in actionscript
Posted by jak9942 at 7/30/2007 4:02:41 PM
hi, i am creating an app that uses a checkbox if a text area is equal to yes the check box should be selected, i am using the following actionscript. What should the action be within the "if" action to make a check box become selected? if (att_flashintro_txt.text = "yes"){ } ...more >>

Help with MovieClipLoader
Posted by wistatboy at 7/30/2007 3:55:00 PM
I know there's a million posts about this topic (believe me, I've been through most of them) but there is nothing that seems to fit my problem. No matter what I do, I cannot get my external swfs to load into the main swf of my project. I know the key pretty much lies in the MoveClipLoader clas...more >>


DevelopmentNow Blog