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 > march 2006 > threads for tuesday march 7

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

delete class
Posted by stephan.k at 3/7/2006 11:35:22 PM
Hi Forum Question. When one deletes a class is there a built in function within the class itself that gets called? Such as the onUnload function in MovieClips? stephan...more >>


static vars in class to keep track of instances
Posted by stephan.k at 3/7/2006 10:32:46 PM
Hi Forum - my oop friends --- So I have looked into the static vars to help all classes accessing movieClip instances. This is what I came up with: The problem with my code is that when the movie starts the static variable NAVIGATION_UI_PATH for example is undefined because the nav...more >>

Putting dots on the stage.
Posted by flasheister at 3/7/2006 10:32:22 PM
I going to plot some zip codes coords on the screen. Question is what is the best method using AS to plot these dots on the stage if there are thousands to be expected. Do i make one movieclip and attach it to the state 1000's of times? Are there tricks or techniques to optimzie my MC or code...more >>

How to play one moviclip after another using actionscript
Posted by hollywoodbb at 3/7/2006 9:53:24 PM
I have a text moviclip that easeIn using the following actionscript. import mx.transitions.Tween; import mx.transitions.easing.*; var myTween:Tween = new Tween (txt1_mc, "_alpha", Regular.easeIn, 0, 100, 5, true); 1)How would I script another txt_mc to play after this moviclip s...more >>

swapDepths Syntax
Posted by TiJayOldroyd at 3/7/2006 9:24:18 PM
This is the same thing I've been working on for the past 3 days (i know, I'm slow) As those who have helped me before have seen/known/read/forgotten - I'm a noob, and learning Flash...that being said...the swapDepths function eludes me...I understand the just of of - but the syntax and placem...more >>

preload value into combobox
Posted by p7m8 at 3/7/2006 9:17:44 PM
I have a combobox "stateCombo" and it has all the states loaded into it as: Texsas, TX, Florida, FL etc... populate_combo = function(){ var l = new LoadVars(); l.onLoad = function(){ var i; var states = this.states.split(","); var stateABVs = this.stateABVs.split(","); var l = stat...more >>

Dynamic listing and loading of FLVs
Posted by mhilliard at 3/7/2006 9:07:11 PM
I must be especially thick-headed today... This surely has been answered before but I can't seem to find it. I have a little FLV playback device we're using to test video clips on our local network. I'd like Flash to look into a specific folder under the SWF file, create a list of the file...more >>

Simple Dispatch Not Working in .as File
Posted by boxdoctor at 3/7/2006 9:03:50 PM
Ok...definitely need a fresh pair of eyes on this one. Anyone see anything weird as to why when the person clicks the Yes button the event doesn't dispatch or the listener doesn't recognize it? Thanks! // remoting classes import mx.remoting.debug.NetDebug; import mx.remoting...more >>



on(rollOver) event
Posted by FlashForumName at 3/7/2006 8:53:34 PM
I have a movie clip labeled "Box1". This movie clip resides on a frame with a graphic as the entire background. I have the movie clip as not visible because I only want it visible if the user mouses over a certain area of the screen. As of right now, I have the movie clip dimensions set at ...more >>

Info on Flash Applet
Posted by ChuckRWD at 3/7/2006 8:47:34 PM
I have a client who desperately wants something like what can be found at http://www.windowcanvas.com built for him. Click on "CREATE YOUR OWN" in the left nav. I have looked online for a piece of software like that to put on his site, but have had NO luck. I was hoping to find something th...more >>

sound of the precedent movie overruns the current sound
Posted by kokochka at 3/7/2006 8:41:19 PM
I have this basic sound object script in a SWF which is published in a HTML file. ************ mySound.loadSound(musicURL,false); mySound.onLoad = function(success:Boolean) { // sound is playing with loop } ************* The problem is that you can go to another HTML with...more >>

Components/ComboBox Text Masking Issue
Posted by edwardMM at 3/7/2006 8:01:02 PM
Hello all, I've done some research on this on and off the forum. I've seen that this is a problem since MX2004. I've implemented some of the suggestions I've seen but the problem has not been corrected. The problem is that text in comboBoxes that are included in a masking group is ...more >>

loading .txt file
Posted by katscann at 3/7/2006 6:52:45 PM
I'm trying to load text from a .txt file. The variables are defined in properties window....I don't get any errors in the output window, but it's not working. My code looks like this: myLoadVars = new LoadVars(); myLoadVars.onLoad = function(loaded:Boolean) { if (loaded){ locati...more >>

addEventListener
Posted by stephan.k at 3/7/2006 6:10:59 PM
Hello Forum I am trying to wrap the MVC Model around my head. I downloaded the moock exmple from his site. Where I get stuck is : --------------- resetBtn = tools_mc.createClassObject(Button, "reset", 2); resetBtn.addEventListener("click", getController()); ---------------...more >>

Local FLV Path
Posted by redl3tt3r at 3/7/2006 6:06:33 PM
Greetings, I have created a player that loads many different types of content into it. Recently I added the ability to use flash video files. To do this I had to create a player that is loaded as an external SWF file. Once the file is loaded the FLV is streamed from the hard drive into the...more >>

Flash 8 ExternalInterface
Posted by TheDoubleG at 3/7/2006 5:39:47 PM
Hello, I would like to have a single .swf with several different sections (i.e. games, screensavers, wallpapers). Using the new externalInterface feature in Flash 8, would it be possible for me to have one html page with three different links ("games," "screensavers," "wallpapers") and depe...more >>

Loading different movieclips
Posted by DatiDati at 3/7/2006 5:28:23 PM
Hi all, I've got several movieclips... For each link I want to load a different movieclip in a swf. For example these movieclips: loadMovie("flash/banner_shops _global.swf","_root.blank"); loadMovie("flash/banner_sportcentre _global.swf","_root.blank"); loadMovie("flash/banner_...more >>

PrintJob Bug - Fails after dynamic loading
Posted by Orangutan Ltd at 3/7/2006 4:40:42 PM
Example: //root movie is 500x500 size // // given that there is an instance of "Ticket" MC on the stage // with a red rectangular area drawn at (0,0) inside "Ticket" // Ticket._x = 3000; Ticket._y = 3000; // Ticket.loadMovie("flower.jpg"); // // !! any funny spaces in the co...more >>

loadMovie help
Posted by Ben_Impinge at 3/7/2006 4:39:17 PM
Hi, I'm making a music player for my bands website using http://www.flashkit.com/tutorials/Audio/Flash_MX-Tim_Murr-1008/index.php, and I want to add a track skip function so that I can skip through all the tracks and have them play in order. I have separate .swf files for each song, each w...more >>

Have moviclip fade in using actionscipt
Posted by hollywoodbb at 3/7/2006 4:34:58 PM
I have a flash movie that loads several swf files into the main timeline and it seems to slow down the flash player. Not sure why this is occurring maybe its because i have a lot of tweening occuring throught the flash file ? i?m thinking about coverting the tweens that I created to fade in u...more >>

Load flash MC every 20 frames
Posted by AESS1981 at 3/7/2006 4:03:37 PM
I am creating a banner in which circles animate on screen like ripples of water. I have 1 MC where a circle animates from small to big. Is there any way I can load this movie clip into my main movie every 20 frames to give the effect of a constant ripple? Thanks ...more >>

Fly out menu linking
Posted by Flash User 71 at 3/7/2006 3:59:20 PM
:confused; Okay, heres my predicament. Im doing a school portfolio for myself and i thought a fly out menu would spice things up a bit. The fly out menu works perfect; however, when i link the fly out menu buttons to their corresponding scenese and instances (ie. "scene1, biography") and run ...more >>

Motion Tweening...
Posted by TiJayOldroyd at 3/7/2006 3:06:04 PM
"Motion tweening will not occur on layers with ungrouped shapes or on layers with more than one group or symbol." That is what the caution button says in the properties of the tween (with dashed line) Am I looking at this wrong, or what? The layer I'm trying to tween is ball1 that lay...more >>

lagging due to excess code?
Posted by ddirk at 3/7/2006 3:01:28 PM
Project: I have set up a map that pans around based on a _root variable. Buttons in the movie set this variable. I have various 'spot locations' (mini dot movies) that move around in relation to the map location and scale, although they always stay in the same position relative to the map. ...more >>

Having problems with duplicateMovieClip.
Posted by has981 at 3/7/2006 2:21:21 PM
Hi there everybody. I create an empty movie clip then I load an image inside the empty movie clip using a movie clip loader. after I make sure the image is loaded (using on loadInit() ) I duplicate my movie clip but when I do so the duplicate copy doesn't have the image I loaded in the o...more >>

Having problems with duplicateMovieClip.
Posted by has981 at 3/7/2006 2:21:13 PM
Hi there everybody. I create an empty movie clip then I load an image inside the empty movie clip using a movie clip loader. after I make sure the image is loaded (using on loadInit() ) I duplicate my movie clip but when I do so the duplicate copy doesn't have the image I loaded in the o...more >>

Blemmo, need your help
Posted by rohai at 3/7/2006 1:34:22 PM
Hi, Blemmo I hope you remember you made an example for endless loop for me. I downloded it but I can't open it. I'm using Flash mx 2004.Could this be the reason? Could you please make a new fla which I could open? I did copy the code into the action frame, but it doesn't working. From star...more >>

Question on proper form...
Posted by DMennenoh *TMM* at 3/7/2006 9:12:35 AM
I was just reading through a webcam motion detection tutorial and came across this line: myButton.addEventListener("click", mx.utils.Delegate.create(this, takeSnap)); I am just wondering why that is better than this: myButton.onRelease = function(){ takeSnap(); } -- Dave - w...more >>

Rollover controlling movies...
Posted by wildermind at 3/7/2006 3:57:33 AM
Hi - I am a student and just learning Flash so any help/patience will be very appreciated. I am just learning actionscript and very quickly coming upon a problem where I am told I need to use an If/Then statement. I am creating a horizontal menu bar that controls multiple movies. I w...more >>

Drag Class
Posted by SimonBoris at 3/7/2006 3:57:19 AM
Hi everybody, i have made a class to make movieClip draggable. The problem is that i loose the onReleaseOutside Event. If i do the same thing in a frame in flash, it work, but as soon as i make a drag with a class it bug. Here is my Class: The code i use is attached to this messag...more >>

Mozieclip relative control
Posted by girvol at 3/7/2006 3:46:27 AM
Hello, i've little problem with movieclip control.Movie clip is 120 frame, and it views icons of sections that buttons leads. So I figured out that i need to check on which frame is movie clip, to determine how far it has to move, an the move it to this position, but it starts playing and don't ...more >>

Sound not audible under IE
Posted by greeenrhombus at 3/7/2006 3:41:30 AM
I have a small MP3 player that works flawlessly in Flash MX 2004 and under Firefox and Opera, but does not emit audible sound under IE 6.0. It seems to play - everything looks perfect, but no sound! This is driving me crazy! I've added displays to trace the program. The loadi...more >>

POP up window problem
Posted by 273136721 at 3/7/2006 3:35:43 AM
Dear all, I've tried with many ways that some other flasher teached in this forum and that works well with Flash 7.0 ang Flash 7.1. I've updated to Flash 8.0 and Flash player 8.0 today. Everytime I click on a open window button, the IE shows that "Macromedia Player has stopped a pote...more >>

XML
Posted by cowcrossing at 3/7/2006 3:30:16 AM
in this tutorial http://www.macromedia.com/devnet/flash/articles/video_gallery.html there is a line of code: var contentXML:XML = new XML(); contentXML = this; // "Trick" the compiler into adding a dynamic property to the XML object. // Dot syntax will create a compiler error...more >>

startDrag Help!!!!
Posted by brandon_haslip at 3/7/2006 2:37:44 AM
I am trying to make a house floorplan with furniture that can be dragged into it so perspective buyers can lay out the rooms. Here is a link to the sample: http://wheninrom.com/dragtest I have made a quick little mock up in flash and have run into a few problems. I just made a bed for th...more >>

Help please
Posted by buddhist54 at 3/7/2006 2:30:55 AM
:confused; all the tutorials i have read so far expect me to know how to code, does anyone know where i can find a tutorial for first time coders?...more >>

Getting line of text under the cursor....?
Posted by jimathy at 3/7/2006 1:03:43 AM
I am trying to get a line of text from under the cursor in flash mx 2004. I know in director there are a number of functions that make this possible. Is there anything in flash that translates mouse positon to line number or charToLine. Any possible suggestions on how to do this. Jimat...more >>

Referencing a Button on a Specific Frame
Posted by ksnyder1661 at 3/7/2006 12:30:28 AM
I have a movieclip called 'Cards'. Within Cards, on the first frame, is a button called 'b150'. I want to define an action for that button. Why is the following code not working? It works perfectly if the button is present on all of the frames, but not if it is present on only one frame. ...more >>

Preloader Problem
Posted by benflo at 3/7/2006 12:00:00 AM
Hi, I'm loading some pictures via xml, at the moment I have a preloader for every singel picture but I will change this I need a preloader for all pictures. I will load all of the pictures and then start my animation. How can I do this? Thank for your help Rene The code to load the...more >>

syntax error with jump-down (slide-down) buttons
Posted by nickymc at 3/7/2006 12:00:00 AM
i'm doing a tutorial for creating a menu which has submenus hiddeen behind the primary buttons. i think that i have followed the directions accurately, but when i try exporting the movie, i get this error message: **Error** Scene=Scene 1, layer=menus, frame=1:Line 25: Syntax error. menu...more >>

math deformation
Posted by Pluda at 3/7/2006 12:00:00 AM
Hello, I'm devoloping a kind of "net of fishes" (i don't know if this is correct english, I want a grid for catching fishes). This grid im one movieclip called "rede_completa" What I want to do is add some mouse over deformation in a area of lets say 75x75 pixels how can this be ...more >>

FPS dragging because of code!
Posted by phonemymum at 3/7/2006 12:00:00 AM
Hi All, I've been messing round with this bit of code, it attaches some randomly moving circles which then drift across the screen, which is full browser - I like the effect the problem is is it really eating up memory - I don't think the onEnterFrame is executed properly as it is not trac...more >>

Standalone flash based database application
Posted by ritur at 3/7/2006 12:00:00 AM
Hi, I want to make Standalone flash based database application. with this application i will submit and retreive data from database. Is it possible if yes then how..? If any body have example please help me. thanks. ...more >>

MAC address
Posted by Raheel KSE at 3/7/2006 12:00:00 AM
Hi everybody, Can anybody help me to find the solution of the above problem: Problem: I want to develop an application that will run as stand alone application using Flash. Here I need to put some sort of security for copyright. To implement this, i want to read the MAC address of that ...more >>

Draw bounderies
Posted by infoVac at 3/7/2006 12:00:00 AM
This is for a drawing application. The bounderies work, but once the cursor crosses over a boundery the user must re-click again to start drawing. I want to avoid this re-click. As long as the mouse Button is down, it will draw a line in the specified space. Please help me. P.S. I...more >>

Drawing API
Posted by shelleyfish at 3/7/2006 12:00:00 AM
Hey Forum, I'm trying to set up a script that lets you draw on a blackboard. The blackboard is a movie clip and on frame one of the main timeline I've entered code below. However, when published it doesn't draw on top of the blackboard, it only draws behind it. Also can I specify how bi...more >>

LoadMovie kill the onEnterFrame???
Posted by Nixy at 3/7/2006 12:00:00 AM
I try to check if an image is loaded inside theMc clip. So when the image is loaded the enterFrame does not trace anything. I<m on my computer. So the image load right now. Does the enterframe event is deleted when a clip use loadMovie. After the img is loaded, I can instantiate it again,...more >>

Flash navigation query
Posted by rossfev at 3/7/2006 12:00:00 AM
hi, i'm trying to create a navigation similar to http://www.spin.co.uk/ and am wondering what actionscripting is needed. i'm familiar with x positioning etc but just need a helping hand in getting my head around where to start! thanks in advance for any help! ...more >>

XML: search string after onRelease
Posted by The 350Z at 3/7/2006 12:00:00 AM
Hi I have this situation. I have a button that will attach a movieclip on level 3 Than inside this movie clip I have another button lets call it: first_btn When I click first_btn it should do 2 things: 1. Attach another movie clip that contains a dynamic text box. 2. Passing the variab...more >>


DevelopmentNow Blog