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 > october 2005 > threads for monday october 17

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

Masked movie control
Posted by pxleyes at 10/17/2005 11:03:03 PM
I have a movie clip that is a layer mask over another movie clip. They both play find and in the correct manner, but I want to add some interactivity. I want to be able to tell the movie clip underneath the layer mask to start playing, pause, and resume playing based on mouse placement in or o...more >>


Complex Conditional Statement with XPath - Urgent Help Needed!
Posted by Speak in Tongues at 10/17/2005 10:51:40 PM
Hi, I've got an urgent problem that I have been trying to rack my brain over for the past week. I need to create a complex conditional statement to use on an XPath. I'm doing a search on a database using six different checkboxes as: Class A [] class1a [] class2a [] class3a Class ...more >>

Window Component Depth Issues
Posted by continuity at 10/17/2005 10:38:15 PM
This is bizzare... I am using the window component to load a zoomed image of a thumbnail... I tested outside of my app - no worries... modality works, not draggable works, appears above everything else on the stage... incorporate it into the rest of my app and all of a sudden the Window Compon...more >>

gotoAndPlay to main swf from loaded swf
Posted by bderber at 10/17/2005 10:13:51 PM
In my movie i make a sub mc and load a swf into it. This loaded swf gives you a choice to purchase stickers and has a back button on it that (should) take you to the main swf at the frame labeled "previewFront." Now "preview Front" has already run once in the program. When you go "back" you...more >>

Problems using LoadMovie Function (Flash 8)
Posted by erye at 10/17/2005 9:57:26 PM
Hello.I am really stuck. I am having a great deal of trouble getting a movie to load in an empty movie clip. I am hoping I'm missing something simple. I have a button with the instance name SPS_btn on a layer I've called buttons. Below the button layer i've got a layer called movie clips tha...more >>

Script doesnt work in Any Browser
Posted by Christopher Orbit at 10/17/2005 9:54:20 PM
I am creating music browsing page within a flash website. It is a movie loaded into a main file where the actual audio is played. The script is designed to switch from selected song to selected song. The songs are included via xml. For some reason the files work perfectly when tested in flash,...more >>

changing component text color
Posted by dvwatkins at 10/17/2005 9:37:15 PM
Im having a hard time figuring out how to change the text color of radio buttons and check boxes. Im making a quiz and all the answer options in each of the questions are displayed in black text which is the default i assume. However, my background is a dark grey and im using white text for ...more >>

Preloading certain frames
Posted by DjPhantasy at 10/17/2005 9:14:43 PM
Thanks for looking at my post! I have seen this done before where a presentation loads the main index page of a swf file and when you click on other sections it will load them seperately. I would like to use this methood to shorten the time it takes to load my main page of the swf instead of t...more >>



Visibility of graphics
Posted by Name.12.2 at 10/17/2005 9:07:10 PM
I would like to make a graphic appear when a user clicks a button, this sounds simple but i just can't seem to get it right Can someone pls help!!! Thanks...more >>

Load Movie to specific frame
Posted by jltaylor at 10/17/2005 8:31:28 PM
I have a main file that loads several swfs into itself on different targets. I'm looking for a way to load specific frames of the loaded swfs depending on which button on the main file the user chooses to press. Thanks for your help, jessica ...more >>

getUrl using an objects instance name?
Posted by t_wooton at 10/17/2005 8:14:30 PM
Is there any code that I can use that will say, anytime i click on a movie clip object, goto a link that is specified by its instance name. I have a project that has several hundred frames, each with about 50 movie clips in them each. Rather than copying and pasting a on(press) statement into ...more >>

memory, mc's & functions
Posted by bderber at 10/17/2005 8:08:42 PM
I programmed back when 16k was all we had in RAM - so most call me a depression programmer...... I have been placing functions and variables that will be called once or twice only in my setup code into a mc and then, when convenient, deleting the mc (and presumably the functions and variab...more >>

Components displaying incorrectly
Posted by yantzgh at 10/17/2005 6:27:24 PM
I'm creating a page that dynically adds Numeric Stepper and Combo Box components. Everything worked ok this morning, then I had to move everything into another movie clip because the area now needs to be scrolled. Anyway, the components get added to the screen, but nothing shows in the input...more >>

How to pop up messages in Flash?
Posted by keithb at 10/17/2005 4:07:11 PM
Does Flash have something like a VB message box, if so, please let me know how to invoke it? Thanks, Keith ...more >>

trying to understand try-catch-finally
Posted by keithb at 10/17/2005 4:02:54 PM
What am I doing wrong here: function loadMasterArray() { statusXML.load("status.xml"); } try { _root.loadMasterArray(); } catch (e_err:Error) { trace("error caught: "+e_err.message); } finally { trace("done"); } If I run this code with the "status.xml" file rena...more >>

Reset application
Posted by Yammyclause at 10/17/2005 12:28:57 PM
I'm building a program where you draw lines from one point to another by clicking 2 points. I want the option for the user to remove the lines they just drew to start again but I can't seem to get it. If anyone can help I will send you a case of Canadian Beer! Here's my code: ___________...more >>

Eventlistener
Posted by FlashAmit at 10/17/2005 12:23:03 PM
Can any one help me why this enter event is not working: var enterHandler: Object = new Object(); enterHandler.enter = function() { thislogin.validateLogin("enterPressed"); Selection.setFocus(input); //mx.controls.Alert.show("enterPressed"); }; input.addEventListener("enter"...more >>

hi kglad
Posted by a1212121 at 10/17/2005 12:21:46 PM
i am creating a small application in flash. in time line 1 , i have some text boxes and dynamically loading jpg image(step 1). when a button is clicked then goes to the time line 2(step 2) for some process. here i have a back button, on click goto timeline 1. (ie step1). when i use gotoAndPlay...more >>

Make a "hit" within predefined X and Y-coordinates
Posted by Pretorian24 at 10/17/2005 12:13:23 PM
I want to start a MC when the mouse is over a predefined square on the scene. Almost like a "hit" but I can?t use a "hit" because I already have severeal "hits" within the square. How do I say that if you are withing these coordinates, play movie? ...more >>

delete EmptyMovieClip
Posted by AESS1981 at 10/17/2005 10:42:02 AM
I want to delete an EmptyMovieClip after 30 seconds. This is the code I have: loadMovieNum("menu.swf", 10); loadMovieNum("grid.swf", 1); var myClips:Array = new Array("1.swf", "2.swf", "3.swf", "4.swf", "5.swf", "6.swf", "7.swf","8.swf", "9.swf", "10.swf"); this.createEmptyMovieClip(...more >>

can i grab the FLV 's size ?
Posted by Octopus Deign at 10/17/2005 10:29:53 AM
hi, i have the attached FLA which is a component, a FLV player component. take it from here first : http://www.flashmedia.mxhost.ro/version1.fla (this is a Flash 8 file, i have the MX version as well) all i need to do is to make this component is not to expand more than 320x240. it h...more >>

Auto page turn in page turn effect
Posted by dpc036 at 10/17/2005 9:19:48 AM
I have been working with a very good page turn effect which i got from http://www.flippingbook.com/ it is possible to automatically turn the pages using the following actionscript pageflip.flipForward(); but i only know how to turn every page placing this on the timeline at set interval...more >>

Load new movie once 1 finishes
Posted by AESS1981 at 10/17/2005 8:46:22 AM
I want to load a random movie to replace the current one as soon as it finishes. This is the script I have on frame 1 of my movie movie: loadMovieNum("menu.swf", 10); loadMovieNum("grid.swf", 1); var myClips:Array = new Array("1.swf", "2.swf", "3.swf", "4.swf", "5.swf", "6.swf", "7.swf...more >>

Help with scrolling marquee Action Script
Posted by linzi007 at 10/17/2005 8:05:53 AM
TextField.prototype.scrollMarquee=function(speed,dir){ this.autoSize = false; if(dir=="CCW"){ var dnum = -1; }else if(dir=="CW"||dir==undefined){ var dnum = 1; } prev = this.textWidth; while(prev<this._width){ this.text+=' '; prev = this.textWidth; } clearInterval(this.scroll...more >>

Store Password
Posted by Manu Palasery at 10/17/2005 7:10:53 AM
Hi, The movie asks for password at beginning .When user enters password it is compared. For this now I use an if function. But if user wants to change his password frequently , the password has to be stored internally inside the movie and retained. How can I solve this.Pls help me Thank Yo...more >>

Mouse hiding with no code
Posted by WickedSense at 10/17/2005 6:34:19 AM
I have a movie named mcGame that hides the mouse and drags a custom cursor. This movie is inside a bigger movie that uses script to control the timeline. For some reason, the internal movie continues hiding the mouse even when it's at a spot on the timeline with no code. It doesn't happen unti...more >>

Broken code, don't know how to fix =/
Posted by bwm_razel at 10/17/2005 12:00:00 AM
I have these drag and drop quizzes right...there are five boxes on the left, they should be dragged onto 5 targets on the right. If the boxes hit one of the targets, they should snap to the target, otherwise they'll snap back to their original position. Now, I have a function written for this,...more >>

loadVariablesNum overloads browser
Posted by jls33fsls at 10/17/2005 12:00:00 AM
I am using setInterval to run a function every 3 seconds. This function uses loadVariablesNum to check a file on my server to see if the data on it has changed. This works fine, but the problem is, if you leave the swf open in your browser too long it will crash it. I opened the swf in IE ...more >>

Two Servers - Two Results
Posted by Skol05 at 10/17/2005 12:00:00 AM
This is just strange - I hope there is a solution to this issue... I have a site on two different servers. The flash components of the site have dynamic text fields. On one server, the text shows up fine. On the other, it's invisible. The problem for me is that the one that functions is my "...more >>

LoadVars Problem
Posted by phon at 10/17/2005 12:00:00 AM
Hello, there seems to be a problem with the LoadVars script tag in my Macromedia FlashMX 2004 version. I'm trying to use the same script of an LoadVars Function to load text and images in two different files. The one file displays the text and the images perfect, the other one doesn't. Can a...more >>

Anyone ever programmed scrabble?
Posted by mballom3 at 10/17/2005 12:00:00 AM
Hi, Anyone ever, or know someone that did, program the scrabble game in actionscript? Do you knbow where i can see some example of codes? Many thanks in advance ...more >>

Jump Menu
Posted by swim4it at 10/17/2005 12:00:00 AM
I'm trying to figure out how to use the combobox component to create a jump menu. I've put in the labels and the values, but I'm just not sure what to write in the actionscript that will tell the component to create each option as a jump link - or to open that URL in a '_blank' browser. ...more >>

Flash Frame Rate - _level0
Posted by Jim Wiley at 10/17/2005 12:00:00 AM
Hi All, I need to know the variable that Director or Authorware are using to detect a Flash movies set frame rate. I need to dynamically set the movies tempo (frame rate) of the playing movie. I have movies that are 12, 15, 24 and 30 fps that I call with a single movie player object I have c...more >>

Tweening movie clips with action script ???
Posted by billy nugz at 10/17/2005 12:00:00 AM
Hello Im using flash mx. Im trying to move a bunch of movie clips across the stage when the mouse rolls left and the moves right. I want the movie clips to move left when the mouse moves right and vice-versa. With a bit of help I got this script but it doesnt seem to work the way I want it...more >>

Scaling an image based on Mouse Position?
Posted by brandon_haslip at 10/17/2005 12:00:00 AM
I have a bunch of .eps floorplans for houses and I want the user to be able to click wherever they want on the floorplan and see that area at about 150%, then click again and have it go back to 100% and so on. Is there a way to this? ...more >>

Page turn effect on Belleville rendezvous site
Posted by Luka at 10/17/2005 12:00:00 AM
Does anyone knows how to recreate page turn effect from Belleville rendezvous site in the section photos, its characteristic cause it has real convincing effect of 3D page turning of a book. The site is: http://www.lestriplettesdebelleville.com/ but for some reason its temporary unavalible so fo...more >>

Post dynamic text field to NEW pop up window
Posted by Flash_Ghost at 10/17/2005 12:00:00 AM
I am trying to create in input field, for practicing html coding, that when you click on the submit button it will take the information within the text field and create a pop up window and will process the information in HTML. the text field will have all the html tags already in there.....:...more >>

contact form woes...
Posted by aesthetix at 10/17/2005 12:00:00 AM
hi guys, i've tried creating a simple contact form, via php and flash, it sends messages out, but all i got was blank... i'm wondering what is wrong with it, anybody got any idea what i did wrongly? here's my submit button code: on (release) { if (subject eq "" or message eq "" or fro...more >>

Mouse Position?
Posted by brandon_haslip at 10/17/2005 12:00:00 AM
I have 6 floorplans for houses. I want the user to be able to click on a specific room and see the enlarged version. I know how to make it scale on release but I can't get it to scale to where the mouse clicks. Any help will be greatly appreciated. Thanks. ...more >>

Html links always active?
Posted by Filippo at 10/17/2005 12:00:00 AM
Hi guys, I'm having problems using Html links in the textfields. It seems that the <a href="... are always active even if they lay under other objects or for example if I have a modal window on the stage. How can overcome this? Thanks a lot. Filippo ...more >>

Help with scrollbars.
Posted by DadrianKaelan at 10/17/2005 12:00:00 AM
I've been making the whole scroll up arrow and scroll down arrow for a while now, but it just dawned on me out of the blue that I have no idea how to make a scrollbar for a dynamic textbox (that thing you can click and drag on to move text up or down). If someone knows how I'd really appreciat...more >>

Simple array question
Posted by bwm_razel at 10/17/2005 12:00:00 AM
Alright, the only reason I'm doing this is experimentation, this really has no practical use in what I'm doing, and yes there are quicker ways. That aside, I'm trying to create a new array, populate it, then use those array elements in my code in later frames. For example, in frame 1, I say: ...more >>

Action Script in ummmm...Flash 4 (i'm ducking!)
Posted by TruLine at 10/17/2005 12:00:00 AM
Building a simple game and running into a fluke thing. First, I'm using Flash 4 so blow the dust off your memory banks. simple program pulling two random numbers. these numbers are placed into two textfields. a user places the sum into textfield 3. when the enter key is pushed, the math...more >>


DevelopmentNow Blog