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 > february 2007 > threads for tuesday february 6

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

Class Problems
Posted by SymTsb at 2/6/2007 10:21:48 PM
Hey everyone. I have my custom Image Reel class. The reel builds a container for the reel itself etc etc down the line for each object. Now I'm trying to get it to scroll and having a ton of issues that don't quite make sense at all... After my panel is created, the following code is calle...more >>

Im scrolling a div with a flash scrollbar and it works, almost
Posted by jmschmidt at 2/6/2007 9:44:44 PM
I have successfully created a flash scrollbar that controls a div on my page as opposed to using the standard scrollbar or coloring the standard scrollbar which only works in IE. All I am doing is calling "getURL("javascript:jumptoPercent(percent);") from my flash movie and it scrolls beaut...more >>

dynamically making a variable name
Posted by BobAchgill at 2/6/2007 9:21:55 PM
I know this is probably easy but... How can I make a literal "myVariable" be made into a variable name such that ( is the word recast?) my script thinks it is not a literal but in fact a variable name so it can reference the contents of variable data loaded from the text file with the li...more >>

Stop the carousel from moving
Posted by chriskeeler2 at 2/6/2007 9:12:14 PM
I've added navigation buttons to this carousel of items that will move the carousel either left or right, however I would like the carousel to STOP anytime an icon is at the center X point. When a nav button is pressed, the carousel moves until the next icon is at center X, etc. AS and XM...more >>

Externally Loaded Dynamic Text Problem
Posted by wilsean at 2/6/2007 8:08:26 PM
Hi, Has anyone encountered problems loading in a % sign as part of a string? For example I'm loading the following in from a database through an asp page using sendAndLoad (this is just a snippet of the results): &AnswerEN1_1=8% &AnswerFR1_1= The variable AnswerEN1_1 drops the % ...more >>

Returning to particular frame
Posted by Dub-C-Deep at 2/6/2007 7:43:29 PM
Hi. I am building a software prototype and on frame 14, I have a template. You can get to the template via a button that appears on frames 1-13. However, I need a script that would allow the user to return to the frame they linked to the template from. As it stands now, I can only get it to go...more >>

flash SWF rotator - how do i play swf's in order
Posted by downsound at 2/6/2007 7:10:46 PM
I have a simple task thats taking way too long. I have a few swf movies that are going to play on a billboard like stage, one after another, for example, this application could be an swf ad rotator.... questions: 1.) how do i know when the first swf is over? I guess i could watch the ...more >>

Shared Object question
Posted by GlennZim at 2/6/2007 7:08:26 PM
I use shared objects a lot and I've run into a problem. When saving an array into a local shared object, if the array is changed, it automatically changes in the shared object when the swf is exited. For example: // ----- create a shared object ----- // var cSaved:SharedObject = SharedOb...more >>



window.close
Posted by jango at 2/6/2007 6:15:58 PM
Hi I'm building a button and use the command: getURL("javascript:window.close()"); To close the IE window. It's work perfectly on some machine and for some anther it's not work. There is somebody that can help me with that problem? Thanks Pini ...more >>

Nickels55 - Can you Figure This One Out? Or Anyone?
Posted by yellowlilx at 2/6/2007 6:04:06 PM
Can anyone figure this one out? I'm completely stuck on this - I need the subnavigation to hide on mouse out. If the user rolls over the main navigation - the sub pops up and is very annoying and confusing to the viewer. I can get the subnavigation to disappear on mouse click but when I set it...more >>

Scroll button
Posted by Hompe123 at 2/6/2007 5:36:03 PM
Hi, I?ve done two buttons. One up and one down and I?ve written the script underneath to the buttons linked to a text instance. What I?d like them to do is not to onPress just scroll one line up or down but a smooth motion. How do I do this and is it possible to control the acceleration of...more >>

Click on flash banner to open url
Posted by Dogged at 2/6/2007 5:01:09 PM
Hi All, I have a simple .swf - I want the viewer to be able to click on it to open a new window to a specific url. I know this can be done with buttons, etc. All I want to do is to be able to click anywhere on the movie to go to the url. (Using flash Pro 8). Any ideas, please? ...more >>

loadMovie to target issue
Posted by leodsmith at 2/6/2007 4:41:34 PM
Sorry this is a cross-post but I need help pretty quick. Noone is responding in General. I'm trying to load a external movie clip (600x450_test.swf) to a target (targ02) on the main timeline. I have a clip on the main timeline which contains all my buttons. The script (below) is in the...more >>

Countdown Timer Help
Posted by Hunter2049 at 2/6/2007 4:22:16 PM
Hi folks, just a quick question....I followed a tutorial to create a countdown timer through flash, and I can't get it to work. I've set up a dynamic text box named time_txt and have the following code: this.onEnterFrame = function() { var today:Date = new Date (); var currentYear...more >>

problems publishing GIF
Posted by Sketchsta at 2/6/2007 4:01:28 PM
I have run out of ideas of what could be going wrong here.. this whole animation is on _root, with 3 layers when i publish a .gif, it goes all weird on me. have a look here to see what i mean.. http://icg.awardspace.com/test ...more >>

Flash 9 Prewiev. As3 script check
Posted by lant at 2/6/2007 3:54:07 PM
Please, let me ask your immediate help - in case anybody knows Flash 9 Prewiev. When I check As3 script it outputs err msg: " The class or interface 'Sprite' could not be loaded." I cannot check script at all. $(LocalData)/Classes is set in Preferences - though As3 is compiled, but scr...more >>

A member attribute was used incorrectly
Posted by Graham Butcher at 2/6/2007 3:42:57 PM
I want to load an image inside a class. This is my class: class B { private mclListener:Object; private image_mcl:MovieClipLoader; function B() { createEmptyMovieClip("image_mc", getNextHighestDepth()); mclListener = new Object(); mclListener.onLoadInit = funct...more >>

Tween class help
Posted by ottawa29 at 2/6/2007 3:33:21 PM
Hello, I am working on understanding the Tween class, and was wondering whether somebody could explain something to me. I wrote the code below with the expectation that the image (1.jpg) would fade in, and then fade out. In fact what happens is that the image fades out only. For some reaso...more >>

Media Controller
Posted by hamlet at 2/6/2007 3:21:12 PM
Hi I have recently downloaded an article and sample files for developing a cue-point slide presentation with associated streaming video at: http://www.adobe.com/devnet/flash/articles/media_components.html I have used the Media Display, Media Controller and Media Playback components as de...more >>

linkage identifier
Posted by jonnybennett at 2/6/2007 3:20:46 PM
I have a library with thousands of folders with thosands of m.c's. I have tried to keep the library as ordered as possible, however an m.c. has gone astray. I have the linkage identifier name, but i need to loacate it within the library. Anyone know if there is a way to do this? Thanks J. ...more >>

Change value of variable in array
Posted by Jeff Hight at 2/6/2007 3:05:47 PM
I'm working with a prebuilt form component that uses several other components on the stage to pass values to a php page. The problem I'm having is I need to pass a couple of values to a prebuilt array that is comprised of variables. How do I set the value of a variable that is already in an ar...more >>

CreateEmptyMovieClip
Posted by FlashAmit at 2/6/2007 2:27:44 PM
When I create and attach a shape to a movie clip then its x, y are always at the 0,0 of the parent movieClip. But I hope it should be actually where it was drawn. As in attached code I expect //triangle_mc.x>200:200 in output window rather than //triangle_mc.x>0:0 this....more >>

Target a frame in a movieClip
Posted by superdk at 2/6/2007 1:15:53 PM
I have buttons in a movie clip which are placed on the main time line. I also have movieclips placed on single frames (25, 30, 35, etc) on the main time. When a button is released I want two things to happen - - the playhead to go to a frame on the main time line where the movie clip is ...more >>

colision detector problem
Posted by shikozel at 2/6/2007 12:48:05 PM
I have a small animated ball (3px) that roll around the stage. Also, I have a wall (thin line 1px) on the stage. I am trying to detect colision between the ball and the wall. Every EnterFrame I am checking for hitTest. The problem is that the ball is very small and the wall is very thin so som...more >>

Timeline Control Help
Posted by Moo530 at 2/6/2007 12:06:40 PM
I need help getting a rollover mc/btn to control the main timeline of scene 1. I created a movie clip that would show a drop down menu of buttons when you rollover it. I need those buttons to control the main timeline for scene1. I'm not very great with actionscript and can only do simple thin...more >>

Checking Text Fields to make sure not empty
Posted by jsmwalker at 2/6/2007 10:59:26 AM
Hi I have a text input area, and having problems getting flash to check that the fields are not empty, have got it working on previous flash versions Flash 6 and before, however does not work on Flash 7 or 8, the code i am using as basic test is on (release) { if (subject eq "" or ...more >>

If Else still not working...help!
Posted by aspidistra at 2/6/2007 10:48:17 AM
Hi I am trying to get four values to add up and be passed to another frame, but I need to check that the four fields are not empty or add up to less than 100 (percent). For some reason although the four fields add up and the amounts are calculated according to my code - the if else statement...more >>

Help with preloader required
Posted by vulcanite at 2/6/2007 10:47:47 AM
hello all.. i'm pretty new to flash and can get away with some primitive animations for now. right now i'm having a tough time with "preloaders", cant figure to get it working. i've got a 600 frame main anim with another 100 frame preloader anim. could someone direct me to some url so ...more >>

Create a list from an XML file no display
Posted by Joe T at 2/6/2007 10:19:51 AM
I have a multiline Dynamic text box called projList. I am trying to populate it from an xml file and create a clickable list. The trace works but cannot get to display the list in the text box. As far as the clickable goes, haven't gotten that far yet. Help very much appreciated. The xml is s...more >>

_level.enabled
Posted by monuu at 2/6/2007 6:58:05 AM
hi, This is monu, I have a .swf file(_level0) with some buttons and i am loding one more ..swf(_level1) file while clicking one of the button in _level0. when it opened i want to enabled _level0. buttons so for that i worte... on(release) { _level0.enabled = false; } but it...more >>

xml photogallery description problem plz help
Posted by sundeep_02tv26 at 2/6/2007 6:16:01 AM
hai to all i am working on xml photogallery in flash mx 2004 here everything is working fine the thumbs, main images ok now what i want is when i click on the thumbs the desc for pics should be displayed in desc box which is on top layer. heregallery is gallery.xml which is in /gallery/g...more >>

How do I make a movie wait for a FLV cuepoint
Posted by bobmcinnis at 2/6/2007 6:06:07 AM
I'm trying to synch a "talking head" FLV with some graphics, so I simply want to get my movie to wait for a cuepoint to begin playing again. I'm making it Flash 7 compatible, so I'm using the older Media Display component. Is there a "stop" and "wait for cuepoint" that would work? If someone...more >>

script animation
Posted by Ehud35new at 2/6/2007 5:18:21 AM
Hi there, How can I create an animation for a flag that wave in the wind ..... is there a special script for this ? I want to animate a flag which wave in the wind ...... thank you ...more >>

Can't publish a GIF animation..
Posted by Sketchsta at 2/6/2007 4:39:41 AM
hey guys, im really lost here... i been trying to publish a little animation as ..GIF but all im getting is a picture, with color blotches everywhere.. can someone please help me with some info on how to publish a .gif file. thanx in advance.. P.S. if you want the FLA just tell me. ...more >>

Controlling main timeline from loaded movie
Posted by eLoCas at 2/6/2007 2:59:45 AM
I have loaded an external movie onto the main movie in a movie clip called "mainholder" - In the main timeline on the main movie there is a "stop" command on frame 1. From the loaded movie, I want to control the main timeline and tell it to go to frame 2. Can someone tell me the actionscript...more >>

Assigning mass variables
Posted by treeflop12 at 2/6/2007 1:48:47 AM
Inside a movie clip on the stage i have 15 more movie clips, called box1 - box 15. inside each box instance is a text field called date. i want to fill in the text field in box1 with the current date, and box2 with tomorrow's, and so on. How can i assign all of the dates without writing : ...more >>

Can you force the bg of a button to a spicific layer?
Posted by bliesveld at 2/6/2007 1:15:59 AM
Ok, shot in the dark here? I am trying to get a button to always show the bottom layer as its background. For example: lets say I have 4 layers 0: photo 1: blue 2: green 3: yellow each layer is stacked on top of the next and each takes up 1/4 of the frame. [ 0 ][ 1 ...more >>

Some one have a look at this script.
Posted by satrop at 2/6/2007 12:32:01 AM
Right hear's the thing! I have this code it doe's what I want it to, but I want to add another line of code so that when you click the button the image stay's putt untill you rollover another button and the one that was there is replaced. I hope this make's sence?? import mx.transitions.Tw...more >>

this is probobly redundant
Posted by WereAllThieves at 2/6/2007 12:10:20 AM
i used to use action script a lot, but that was a while ago. im creating a website in flash where i need to load text from a .txt document into a scrollable text box in flash, but it seems i forgot how. any help would be appreciated. ...more >>


DevelopmentNow Blog