Groups | Blog | Home


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 2004 > threads for monday april 5

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

alpha of movie clips snafu - help!
Posted by tweenina at 4/5/2004 11:02:49 PM
hi! please help! this small bug is one of two things keeping this from being completed! i am getting a date from sql/php, breaking it up successfully into arrays and variables so that i have 'month' , 'day' , 'year'. i am successfully fading the alpha of 'phrase' movieclips that have a d...more >>


Can't use TextFormat to change color
Posted by Aneesha at 4/5/2004 10:24:00 PM
Hi Any ideas as to why I can't change the color of text using the TextFormat() object? Here is my code. this.createTextField("tfield",1,10,10,150,30); tfield.text = "Here's some text"; tfield.background=true; //tfNewfield.backgroundColor = "0x00cc00"; tfield.border = true; fo...more >>

List component problem
Posted by cabp ms at 4/5/2004 10:17:04 PM
Hi every body, i have a problem with list component, I've been using it with out problems but now I want an image and a little description of it in each row of the list, or use a scroll pane in each row of the list, I tried to use html tags in the label field of the list to show jpg file or a ...more >>

preloading streaming mp3
Posted by jdudan at 4/5/2004 9:44:07 PM
Hello. I have an mp3 player as its own .swf. It streams a song using the loadSound script with a true value for streaming. My play and pause btns work fine and the song starts playing anywhere from 1-8 seconds on a broadband connection. My question is this... I would like the song ...more >>

getUrl question?
Posted by danieldmm at 4/5/2004 9:28:06 PM
Silly question but i can't find out of it :-P I have one htm file with three frames in it, top frame mid frame and botom frame named botom, my flash movie is in the mid frame, how do i controll "botom" frame from withing my swf? I've tried with on(release){ getUrl("new2.htm","_botom"); ...more >>

simple navigation
Posted by Leper at 4/5/2004 9:19:01 PM
Hi, I just got Flash MX 2004, and I'm having trouble doing simple navigation in actionscript. I can't get gotoAndPlay to play a different scene and a certain frame. It says to just put in the (scene, frame) but does that mean I put in the name of the scene or the scene number? and do i put a...more >>

Loading XML factoring in special characters
Posted by JAXIMFLASH at 4/5/2004 8:40:25 PM
I am loading XML by calling a query string to a server. Because the XML is for a search function, the user can type ANYTHING, which would be passed along to this query strring. What I am discovering is that if the user types one of at least 5 special characters, (&:"#\), the function doesn...more >>

Asking for a Little help with setRGB and transform
Posted by Freeztyler at 4/5/2004 8:39:04 PM
I have a not so tough question, basically I am trying to have a movie clip change depending on the value of a selected combobox the Bottom half works great, When someone chooses the color red for the maincolor, then the movie maincolor changes to red, how do I get the maincolor movie to chan...more >>



Adding a movie clip to a window companent dynamic
Posted by benjimanji at 4/5/2004 8:11:00 PM
Hi, I am currently writing my uni dissertaion and am totally stuck on a problem, I am trying to add mutliple images to a movie clip at runtime(the file path is returned from a file browser - i have that bit working), and to have this movieclip shown within a window. in the window id like t...more >>

Global Variables and Updating
Posted by kwp at 4/5/2004 8:09:44 PM
I am having trouble getting a variable to display much less update it. if I have declare a global variable like this: _global.myName = "George"; I cannot get it to display in a dynamic textbox that is displayed on the same frame in the timeline. I tried naming the var for the dynamic box...more >>

Return to last visited frame
Posted by Richard at 4/5/2004 7:43:55 PM
How do I move from say frame 5, 12, 20 or whatever to frame 30 and then return to the last visited frame. I don't want to nominate a certain frame, I want Flash to know what the frame I came from was. Thanks Richard ...more >>

onEnterFrame
Posted by Dinghus at 4/5/2004 7:01:34 PM
I have a script I want to run when I get to a certain keyframe. However, when it gets there, it starts looping. So then I thought about doing an onLoad but that didn't work because the movie is already loaded. So I tried putting the stop() command in different places to no avail. This ...more >>

Making a point Dragabble
Posted by Anand at 4/5/2004 5:55:58 PM
Hi, I have straight line, if i pick the end point of the line and move the mouse the line should be stretched. how to do it through Actionscript? give example. Txs Ag ...more >>

Frames Problem
Posted by AlienatorY2K at 4/5/2004 5:44:39 PM
I am using one of the templates provided in Flash MX for my project, and when I click on: "a href=abc.swf?pagelocation=5" to launch my flash, which has a script of _root.gotoAndPlay(pagelocation); it brings me to the 2nd frame of my flash, not 5th. And when I click the 'back button'(...more >>

rotate function
Posted by Papier at 4/5/2004 5:37:30 PM
i use the easing function below all the time, but now i need a similar one but for ROTATION anyone know something like that? thanks andrew function ease(objet, targetX, targetY, speed) { if (!easingArray) { easingArray = [[], []]; } var found = false; for (i=0; ...more >>

dynamic text size
Posted by _jrh_ at 4/5/2004 5:23:01 PM
I'm dynamically creating a sentence using one movie clip that has dynamic text in it and Actionscript to create the rest. The text has an alpha change and small movement change over something like 4 frames. The dynamic text used to create and fill in the user's input doesn't scale to the next ...more >>

fonts in MX 2004
Posted by Brian at 4/5/2004 5:15:04 PM
I just go Flash MX 2004 and have the following problem. When I open a file I have been working on, the fonts (flash fonts, pixel fonts) are all displayed higher than in the old file. They all now sit a few pixels too high in the file. I was wondering if I just need to adjust or if there is a...more >>

play button doesn't work: who helps me out?
Posted by Mariekeeeh at 4/5/2004 4:29:01 PM
Hello there, I need some help with my mp3/movieplayer in flash MX... It's a jukebox with movies and mp3's. With the movies, the play and stop buttons work perfectly, but with the music only the stop-button works. The music is loaded via a menu and starts to play. The stop button do...more >>

DataGrid Width/Height Changes via Actionscript
Posted by KHolbrook at 4/5/2004 3:49:59 PM
Am I missing something? Can you change the width and height of the DataGrid component via Actionscript? Whenever I do, the edges get expanded an ugly. Thanks, Kirk...more >>

dynamic text issues...
Posted by etg7 at 4/5/2004 3:43:29 PM
hi, i have a movieclip that contains another movieclip which contains a dynamic text box...the text box has its var set and i reference it like this someMC.someMCText.textvar = "hello"; the problem is that i can't seem to see the text...when i do a trace on it...it holds the correct va...more >>

Key Deactivation
Posted by Heros_Darkness at 4/5/2004 3:32:17 PM
I have a flash animation where when you press on a arrow key the movie instance on the screen moves. And I also have it set up so when you press a certain other key like the A key or S it plays the movie instance. But my problem is when the animation is playing the arrow keys still work and ca...more >>

Mouse Button Control in Flash
Posted by jhalterm at 4/5/2004 3:23:58 PM
The company I work for uses Microsoft PowerPoint a lot for presentation. They are getting interested in using Flash for these presentations and with that I have a concern. In PowerPoint you can use both mouse buttons to advace/return slides. Left button is advancing to the next slide and t...more >>

ASP Refresh Problem
Posted by root88 at 4/5/2004 3:17:41 PM
I have two similar pages that return statistics from an access database every half hour via and ASP pagee. I want to display the results graphically in a flash movie. The first page I made works perfectly and the second page will only load the variables one time. I assume this is a cache pr...more >>

IMPORTING AND SIZING EXTERNAL SWF
Posted by nickname taken at 4/5/2004 3:03:56 PM
Hi I have been reading posts for hours trying to figure out how to import exteranl swf movies into a flash movie. I have been able to import it but it takes over the whole stage. I need to import it and then control the size and position of it. I have tried to use many different scripts...b...more >>

new Color and setRGB questions
Posted by Mark McCarthy at 4/5/2004 2:42:21 PM
Hi folks, What follows is code that both works and doesn't work. Lines 1 & 2 work using the externally supplied variable "maincolour". Lines 4 and 5 work using the externally supplied variables "pageObject" and "pageObjectOn". The commented out lines of 6 and 7 don't work with the same v...more >>

[JSFL] copy from one library to another
Posted by Uritsukidoji at 4/5/2004 2:14:58 PM
Hi, I am trying to copy a library item from one document e.g. fl.documents[0].library ... to another library: fl.documents[01].library ... using JSFL, is this possible? Thanks, Wiebe...more >>

Passing Variables from "a href"
Posted by AlienatorY2K at 4/5/2004 1:49:37 PM
I have a direct link to a swf file which passes variables to the swf: "a href=abc.swf?var=123" But how do I retrive the variable for the swf to make use of? Please help. Thanks...more >>

Key Press
Posted by diouff at 4/5/2004 1:43:10 PM
I want to build a exe from flash which can trace all keys in a keyboard when pressed randomly. Can anybody help me? Its very urgent....more >>

Help with Preloader
Posted by grob at 4/5/2004 1:30:57 PM
My Problem: My Preloader seems to work fine (created for display only), but I'm havng trouble with a flash movie not playing until it is fully loaded... I need it to stream. I don't think the problem is in my preloader script (pasted below). Here's my situation: Overview: I am working on a...more >>

variables from one input textbox to another
Posted by lemur at 4/5/2004 1:30:55 PM
Hello, I'm wondering if anyone can help me with this? Basically I have 2 dynamix textboxes; the first has the variable name 'text' and its contents are defined by whatever is typed at the end of the src tag (?text=...). What I need to do is have the second text box be populated with whatever...more >>

Raise Object Event???
Posted by sph125 at 4/5/2004 1:08:55 PM
Hello All, I am developing a custom radio button and have run into this scenario. First a brief overview of how things are set up: All code to handle the passing of the value and the checked/unchecked property is contained in myRadioButton. The code is set up to send the value back to ...more >>

Playing mulpitple swfs to overcome frame limit?
Posted by DoggThang at 4/5/2004 12:53:11 PM
Hi there, I'm using Flash MX and usually just deal with the animation end so I know little about action scripting. I have a problem in that the current project I am working on goes way over the 16000 frame limit. Going through the help files, there are ways to call up other swfs meaning that...more >>

imageloader within XML Class
Posted by Rietscape at 4/5/2004 12:48:27 PM
var baseUrl:String = "http://www.my_domain.nl"; //i?m Dutch // variables for the amount of pools of the different producer var countStarlinePools:Number = 0; var countZodiacPools:Number = 0; var countCerlandPools:Number = 0; // variables for the buttons var spacing:Number = 20; var ...more >>

getURL ?
Posted by Rookie Warrior at 4/5/2004 12:30:35 PM
Is there any way to launch an html page using the getURL property and contain the page within an mc or locate to specific area of the stage?...more >>

how do i make a preloader of loadMovie ???
Posted by ViniciusRomero at 4/5/2004 12:08:10 PM
Hi People!!! so...can i make this ?? if i can...somebody can tell me how ??? thank you all!!!...more >>

menu, scaling
Posted by ChriZ at 4/5/2004 11:42:46 AM
here's my problem! i made a function which draws a box with a shadow! so now if i want to move the box arround and change size, the size of the shadow will change too!!! how can i set it up so the shadow will automatically reset and not be scale? here's the code: function makeBox(x, y,...more >>

For loop/if statement problems - going mad
Posted by monrobot at 4/5/2004 11:37:50 AM
Aaagh. Having problems with loops and if statements: I'm running a 'for' loop through some XML nodeNames to check for matches, then running another 'for' loop if x == y. So there is: - a FOR loop containing an IF statement containing another FOR statement Is that my problem right there i...more >>

Need help to debugg my Script
Posted by stichcat at 4/5/2004 11:35:37 AM
Hallo, I am sitting now for days above this Script and I cant finde out what is wrong! on (release) { if (_root.circle._width <100 ){ var pumperBreite = new Object(); pumperBreite.pumpUpBreite = function(schritt){ _root.circle._xscale += schritt; _root.circle._width += 1; getPr...more >>

Finding the Length
Posted by Anand at 4/5/2004 11:14:48 AM
Hi, I have triangle, how do i find the length of the triangles (AB,BC,CA) programatically. Help Needed. Txs, Ag ...more >>

debugging external fla
Posted by bcolson at 4/5/2004 9:57:56 AM
Hi, Does someone knows if it is possible to debbug an external .fla. I have two .fla, the master an the child. A loader in the master call the child swf. The child fla can't run alone, it need to be execute in the master. Well is there a way to put a breakpoint in the child and debbug it. ...more >>

Windows comunication
Posted by XFlashmanX at 4/5/2004 9:21:21 AM
Hi. I'm working on the application, which I would like to put in tray(next to the clock) when minimized, or when counts cetrain time, or when cetrain button pressed. On some event, basicaly. That's in WinXPPro. Any ideas? Benjamin ...more >>

can anyone explain this?
Posted by djozyx at 4/5/2004 8:36:39 AM
<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=6,0,0,0' WIDTH='440' HEIGHT='330' id='player' ALIGN=''> <param name='wmode' value='transparent' /><PARAM NAME=movie VALUE='http://w...more >>

Animating an arrow using XML
Posted by timmytrio at 4/5/2004 8:17:17 AM
need some tips on how to animate an arrow in actionscript using XML data....more >>

trouble with a button instance
Posted by ConradCoe at 4/5/2004 7:56:08 AM
Hey all! Ok heres the boggle. The preloader i made for my site has an enter button that appears after everything has loaded. Now when i attempt to apply actions to the button such as on (release) i get an error screen telling me that The action is reserved for button instances only, not in tho...more >>

Help with using HTML AND Flash together
Posted by ConradCoe at 4/5/2004 7:01:10 AM
Hey, I'm trying to build a webpage just to get some knowledge and to say I did. But, I'm really confused about how to put an SWF onto and HTML page. AND if Dreamweaver is the best program for a begginer to use? ANY help with this is appreciated, Thanks to all _C ...more >>

Ugh... Dynamic Linkage... IS IT POSSIBLE?
Posted by Chase B at 4/5/2004 7:00:07 AM
I am creating a component with the choice of about 6 skins, but I dont want to pump the file size by exporting the unused 5 skins. I am attaching the skin dynamically by Exporting it for Actionscript. Is there anyway that I can disable certain clips from exporting? Or perhaps another way ar...more >>

Sorry to repost, very important, boss on butt
Posted by redboxinteractive at 4/5/2004 6:26:23 AM
OK, Ive been scowering the site and forums etc for an answer, cant find one. useing mx 2004 I get data via XMLConnecter, but need to access the data via actionscript not bindings. cant figure out how to either set it as a variable or retrieve it via actionscript either from xmlconnector, datas...more >>

How to get property of a dynamic picture?
Posted by Liraz at 4/5/2004 5:20:08 AM
I am creating an album, picture are dynamically loaded, but I am having difficulty to center it! How can I get the property of the picture the page is loading? I need the width and height of the picture! Some more details, My album only have 2 buttons to go previous and next, since the p...more >>

DESPERATE NEED OF HELP:
Posted by ethic at 4/5/2004 4:56:52 AM
Can anyone help me make my site work, I've checked and double checked code, and my site still isn't functional. My movieclips won't unload and my .swf's are taking to long to load into clips. site is www.edni.net/site SOMEONE PLEASE HELP ME FIX THIS. ...more >>

homemade objetcs to movieclips. help?
Posted by realmeidaprado at 4/5/2004 4:05:32 AM
let me explain better... it?s just a simple example. I?ve created some objects with the same function. In fact they are people with [b]age[/b], [b]country[/b] and [b]sex[/b]. this is the function [i] function createObject ([b]age[/b], [b]country[/b], [b]sex[/b]) { this.[b]age[...more >>

Icon in Alert
Posted by aramgt at 4/5/2004 3:44:23 AM
Hi everybody, I have a Alert and I want to insert an icon but I tried insert a movieclip with name Icon and this not display, what is the matter? [h]var myAlert = Alert.show("message", "title", Alert.OK | Alert.CANCEL, this, myClickHandler, "Icon", Alert.OK);[/h] Thanks a lot![ ...more >>

Have a loaded movie control the main timeline
Posted by Benno at 4/5/2004 2:17:00 AM
I wish to load two movies into the main time line; movie1 into _level02 and movie2 into _level01. I want movie1 to tell movie2 when to start playing. How do I reference back to the original timeline? So far all I can get is to reference within movie1 itself and not the main time line by us...more >>

Constrain sartDrag(); to a lineTo();?
Posted by sroberts1 at 4/5/2004 1:12:56 AM
[b]Constrain sartDrag(); to a lineTo();?[/b] I have 4 points that allow themselves to be dragged around the Flash stage through a startDrag();. Each set are connected via a lineTo();, however they are not connected to each other. So we see, "|------|" and, "|------|" on the stage wher...more >>

Help With Flash Component.com Template
Posted by Shining_Hand at 4/5/2004 1:04:58 AM
Greetings, i dont really know that much about scripting, but i figure somone should be able to help me out. I've downloaded a flash Template from Flashcomponents.com, of which are ment to be very customisable (hence the name 'template'), but there is a actionscripted Collapible Menu involve...more >>


DevelopmentNow Blog