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 > september 2004 > threads for thursday september 16

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

onRelease doesn?t always drop my dragged movie c
Posted by coolcat007 at 9/16/2004 11:15:17 PM
I am working on a flow chart-like application where users can grab a handle on one shape (e.g. a rectangle) and drag it to the handle on another shape. When the user releases on top of the handle of another shape, we draw a line connecting the two shapes, and eventually, we store the informati...more >>

Follow the mouse
Posted by htmlmaniac at 9/16/2004 11:14:13 PM
When I move the mouse I want a movie clip to follow it and stay around it. Any ideas?...more >>

image upload within flashMX
Posted by Stephan Knuesel at 9/16/2004 10:41:46 PM
Dear message board readers i have to create an image upload page within flash. any suggestions on how to approach it or whether it is possible at all? or do I need to do the upload part in html/php, sort of in a popup page, and once the image is uploaded flash loads in the image with loa...more >>

simple syntax question
Posted by Leopold Hastreiter at 9/16/2004 10:30:00 PM
Hello folks, I am using this within a loop and it doesn't seem to work: myThumb = "thumb_" + i; myThumb.loadMovie("beauty/thumb_beauty_" + i + ".jpg"); So I can't use variables for instance names in such a manner? Thanks, Leopold ...more >>

Image viewer for vertical and horizontal images
Posted by wsobreira at 9/16/2004 10:20:06 PM
Hello all !!! I've made an image viewer that loads the image inside a movie clip, but i need it to identify if the image is horizontal or vertical and place it centered inside the movie clip, other issue is that the images displayed must come directly from a JPG file, so the owner of the sit...more >>

eval() works inconsistently
Posted by ThisFeatureNeedsWork at 9/16/2004 9:12:52 PM
Hello all, I am running some code, to allow me to drive a Flash application via the ActiveX interface. This would (in theory) allow me to access and change variables, call class functions, and the like. However, it appears the eval() does not always like what I send it. My code looks...more >>

cannot goto another frame
Posted by john kenni at 9/16/2004 9:09:08 PM
Hi I have a big project that in it I have a main movie that this movie is load in scrollpane component in _root, so that i load main movie to this scrollpane, now in this main movie, I have another movie that have a button, I want this button when pressed, movie go to another frame in same timel...more >>

scrollpane pains
Posted by Mike Stephenson at 9/16/2004 8:57:15 PM
I am having major fits with the MX 2004 ScrollPane. Reduced to a trivial example, I have added an empty movie clip, add a checkbox mc to it and it displays fine: sp.contentPath="holderMC"; //from the library, but empty var spContent:MovieClip = scrollPane.content; sp.spContentHolder.att...more >>



properties of loaded external jpegs?
Posted by Leopold Hastreiter at 9/16/2004 8:48:35 PM
I am trying to create a website that loads external jpegs into a flash movie, but I'm rather new to actionscript and also not really a programming expert. I am trying to start small , so far I created one symbol named "thumb", dropped 2 instances of it on the stage named thumb_1 and thumb_2 an...more >>

Sound Script works in AS2 but not AS1
Posted by Jaxbulls at 9/16/2004 8:38:04 PM
I have this script to play a sound file when the movie starts playing. Then I have a mute button that can be clicked on to mute/unmute the sound file. Everything works in FlashMX2004 on flash player 7 because it is set to use ActionScript 2.0 but most of the machines we use have FlashMX and ...more >>

Secure classes?
Posted by Steven M at 9/16/2004 8:05:04 PM
Is there anyway to secure a class I have written? I'm in a situation where I want to create a new class, but I cannot risk having to give another development team access to my .as file. Is there anyway where I could define the class but only allow people to use the methods and properties o...more >>

UIObject.move help
Posted by bjprice at 9/16/2004 7:21:35 PM
I don't understand how the loader component works (MX 2004 Pro). I have a textarea object called taPageText and a loader object called loImage based upon a variable I use select case and reconfigure the height, width, x and y of these two objects using UIObject.setSize(width,height) and ...more >>

Function Timer?
Posted by stillcrazyafteryears at 9/16/2004 7:07:09 PM
This probably doesn't exist since flash already runs so slow and what the hell is a function timer gonna show us? But I think a piece of flash software that I am writing could benefit from a function timer or something that tells me exactly how much processing time each movieclip or function ...more >>

Components: Text Parameters
Posted by rasteira at 9/16/2004 7:05:03 PM
I am creating a component (v1 style) that displays input text and sizes itself accordingly. Some problems: If I try to paste text that contains a return in the Component Properties Inspector, Flash cuts off the text and only passes characters before the return. Is there a way around th...more >>

Percentage preloader problem. Please help!
Posted by Spindrift at 9/16/2004 7:03:31 PM
Hi all, Thank you for the interest in my post... I have two scenes in my Flash MX movie. The first, is a percentage preloader and the second scene is the main movie. For the percentage preloader, I am using the following code on a movie clip: onClipEvent(enterFrame){ load...more >>

Can't attach "rewind" to button instance
Posted by Lykat72 at 9/16/2004 6:51:11 PM
I am learning Flash MX 2004 (Pro) and cannot pull up "rewind" option under Behaviors/Embedded Video. I've tried clicking all around in different places on the timeline, and checking to make sure the instance really is a button, after the straight-forward method in the tutorial didn't work, an...more >>

Focus the stage
Posted by knucklenutz at 9/16/2004 6:20:54 PM
Good morning, Does anyone know of a way to focus the flash player if it is running in the background? For instance, if a user escapes a full screen flash movie and interacts with another app, I know I can continue to count the time in the defocused flash movie. I can also call an fscomma...more >>

radio button multiline?
Posted by geoffreyanderson at 9/16/2004 6:08:15 PM
I'm importing xml formatted questions and displaying the answers on radio button labels. The labels work fine for short answers, but long answers simply don't fit. I've seen a way to do this in MX, but I'm using MX 2004 and the script just didn't work for me. Anyone who can help is a hero.....more >>

Move Text Box
Posted by mark_fredriksen at 9/16/2004 6:08:09 PM
Hi! I'm not quite sure where to find the resources to learn this, or try it out without screwing it up completely, but I'm looking to create a flash movie that uses a flash based custom scroll bar. When the user clicks on the up button, the text would scroll down, and when the user clicks on...more >>

Problem importing ext. text file in nested screen
Posted by John Rock at 9/16/2004 5:39:52 PM
Hi, I'm using for the first time the feature of loading an xml file in a textarea. I'm using the form based layout with nested screens. When I try loading the xml file in a textarea on the main application screen, it works fine. When I try to load that same file in a textarea in a nested s...more >>

Dynamic hit display: Displaying new information in Flash when text file/DB updated?
Posted by Ken Fine at 9/16/2004 5:31:17 PM
I'm interested in making a toy that's doubtless been made a million times before. Can you help me come up with an appropriate approach? I want something visual to happen in my Flash movie when a file or datasource is updated on my server. For example, I have a log of visitors to my website and...more >>

XML Data set and arrays
Posted by SkinDC at 9/16/2004 5:10:49 PM
Hi, I would like to know if I use the XML socket to load data from a Access file or any other database, pass it to the dataset,, can I access the information as I would if I had loaded a server side XML document. Am using XML documents at the minute but like to use acess files if possible so ...more >>

conflicts between attachMovie e LoadMovieNum??
Posted by mar7a at 9/16/2004 4:56:46 PM
I've an swf file, "main.swf", for example, where i made an AttachMovie from library to level 10.Then i made a loadMovieNum of another swf to level 3. This one stays in front of the movieClip that is in level 10.Why?? ...more >>

unable to find datagrid information
Posted by ooba at 9/16/2004 4:55:59 PM
can someone point me to some usefull tutorials on the datagrid and populating it with a query result? Also looking for doing databinding. Anything would be a help. tired of looking through the trash oops I mean the web. ...more >>

How to have LOADING....
Posted by patriarck at 9/16/2004 4:52:32 PM
HI Friends, How can I have the LOADING .... in begining of the flash? I have a loading .swf that want to use in beging of myrep.swf ! Thanks in advance, Pat...more >>

Movie clip woes
Posted by aniello at 9/16/2004 4:52:18 PM
hello. I inserted a movie clip into the scene. I would like to have the movie stop playing when a user mouses over the clip and then resume when the mouse moves off it. I'm not having much luck. suggestions? ...more >>

HELP!!! advanced : Components
Posted by Jadon1979 at 9/16/2004 4:50:42 PM
this is obviously advanced because there isnt any documentation out there... or .... Im just not looking in the right place. Ok I need to skin the comboBox. Specifically the combobox in it's collapsed position ( what it looks like when you arent clicking on it ) The rounded edge is reta...more >>

What is the good size for a flash presentation
Posted by patriarck at 9/16/2004 4:49:02 PM
Hi Freinds, What is a good size for a flash presentation for 15 frames, 3 buttons, 2 sounds ? Mine came up with 180 K, just wondering if that's ok or what. What are the best ways to compress the flash file? (.swf) Thanks, Pat ...more >>

uploading files
Posted by chrism59 at 9/16/2004 4:45:03 PM
I am passing two variables to a cfm. The variables are properties in a LoadVar. var UploadFiles:LoadVars = new LoadVars(); UploadFiles.HardDriveImage = ""; UploadFiles.ServerImage. = ""; Using java I allow the user to browse and select the image to upload. (like a cf filefield) I s...more >>

arrays with named elements?
Posted by Andy Petroski at 9/16/2004 4:30:00 PM
For Flash MX on Windows XP I have a list of integer variables. I want to put them in an array and then sort them by highest to lowest integer. Then I want to pull them out of the array in order from highest to lowest. Can do that . . . no problem. But, I need to know what the sorted value ...more >>

Mouse Wheel
Posted by t&c at 9/16/2004 4:21:02 PM
We're building a shared library based on the UI Components 2 to enable live preview. As soon as we put a component in a flash object and it get's focus we loose the ability to scroll the web page in IE (with the mouse wheel). Is there any way of disabling Flash mouse wheel-control and let I...more >>

need help!!!
Posted by sjar110 at 9/16/2004 4:09:08 PM
Hi, Actually I have recently started working in Flash. I am facing a jam at a scene where I want to load a preview of the image in a seperate small windowwhen the mouse is rolled over on that specific image or it could be in the same window but you know like it is done in Windows that whe...more >>

quirky removeMovieClip() question
Posted by jigen3 at 9/16/2004 3:49:26 PM
hi, is there any reason why: removeMovieClip("_root.emptyClip.movie_mc3"); would work and: _root.emptyClip.movie_mc3.removeMovieClip(); wouldn't? because that is how it is in my program. thx jigen3 ...more >>

Custom Component in another class with createClassObject -- Help?
Posted by Isz at 9/16/2004 3:19:44 PM
I built a ColorPicker custom component which works great! I will be glad to post the code soon for anyone who might be interested, but I would like to know how to import it into another class that I have, such as a custom RichTextEditor? Right now the ColorPicker.swc is in the folder Flash...more >>

how to send a variable with a press on the buton?
Posted by killerwhale65 at 9/16/2004 3:02:25 PM
Hi, I have a button, and on press i would like to define a variable. This variable should be picked up by a movieclip (on another frame and 2 levels higher) on load. how shoudl i proceed? thanks alot! Matt ...more >>

dynamic movie clip
Posted by e_jogendra at 9/16/2004 2:33:37 PM
hi I am struggling on a point. Is the dynamically created movie clip support button events like onRollover etc? Can anybody help me Regards JNS ...more >>

AS2, Forms, and class names
Posted by Rowan at 9/16/2004 1:53:02 PM
Hi there, I am trying to get my head around AS2, Forms based applications, and assigning a class. I have studied the examples, and got them working, but whenever I attempt to create a new form based application from scratch, I always get the following error: 'The class name scr.Applic...more >>

Problems with _global
Posted by De Pisang at 9/16/2004 1:37:59 PM
Hi, I''ve got a strange problem with the _global variable. I thought the _global variable was reachable from everywhere, but it seems not... When importing a movie into another, it doesn't seem to be able to read the _global variable... i.e.: _global.bla = 100; _root.bla = 200; this.cr...more >>

scrolling/enlarging
Posted by oke at 9/16/2004 1:11:18 PM
If you visit the link below and click on Spa the shots have a really nice way of scroling and enlarging does anyone know how this effect is created http://www.sonbrull.com/indexEng.html thank you in advance ...more >>

Scrolling Duplicated mc's
Posted by Manoj vn at 9/16/2004 12:57:28 PM
I want to scroll my duplicated mc's . I tried the following code. But it is not the right one. Any help will be highly appretiated Thanks MVN ahight=a0._height; Pos_Y = a0._y; for(i=1;i<5;i++) { a0.duplicateMovieClip("a"+i,i); eval("a"+i)._x = a0._x; Pos_Y += ahight; ...more >>

i meant x = x + 10. I want 20.
Posted by direct-ed at 9/16/2004 12:43:23 PM
sorry!...more >>

x = 10, i get 1010 when I say x = x + 1
Posted by direct-ed at 9/16/2004 12:42:06 PM
This only happens in some instances and I cant work out why. Im sure this must have happened to some one before. Any ideas guys?...more >>

scene navigation
Posted by ronbird at 9/16/2004 12:21:17 PM
I wish to jump into a scene and, from a text field(called screenLog) that has had a number entered into it from a previous scene, navigate direct to a frame. ie this is the code in frame 1 of scene 2: The text field that has this number in it appears in both scenes, and still has the correct n...more >>

sound class onload event problem
Posted by recaihazer at 9/16/2004 11:56:04 AM
I add external mp3 files into sound objects, defined as array. First time on browser it works fine after refresh the browser events. onLoad events of sounds are not executed. Any help?...more >>

Tsunami but horizontal
Posted by oke at 9/16/2004 11:13:18 AM
Hi I am not going to pretend to be a heavy or very good flash user, but I am trying to recreate an image scroller similar to Tsunami effect that use to be on yugop, any help would be appreciated a fla would be brilliant. thanks in advance ...more >>

duplicateMovieClip() hack?
Posted by David Stiller at 9/16/2004 11:04:38 AM
My goal is to specify any present movie clip, then create a new movie clip that houses duplicates of the original. It seems that MovieClip.duplicateMovieClip() only lets you specify depth, but not an intended parent or path. This needs to work without Linkage. Anyone have workable id...more >>

ComboBox - class - skinning - help
Posted by Jadon1979 at 9/16/2004 10:51:04 AM
I have yet to find the answer to this question. Hopefully today will be the day. Ok I have tried everything to get rid of the gray color on the selection box for the ComboBox. I dont like the curve on the left either because it really jacks with my layout. How do I fix it so that I c...more >>

creating 'if' variables for cranes and elevators
Posted by IRISH_HYPE at 9/16/2004 10:36:18 AM
Right ok, you have an elevator as part of a navigation systems, which animates the actions of an elevator when you hover oven navigation button. I.e. button 1 = ground floor, button 2 = floor 1, button 3 = floor 2 etc. so you hover over the floor and the elevator goes to the right floor. ...more >>

why does AS add to num vars as strings sometimes
Posted by direct-ed at 9/16/2004 9:50:09 AM
e.g. myNum = 10; myNum2 = myNum; then I do a loop to say myNum2 = myNum2 + 10 I get 1010101010101 instead of 10 then 20 then 30 etc. This only happens sometimes when I code. Any ideas? ...more >>

pop-up in flash demo
Posted by champabodus at 9/16/2004 9:42:54 AM
Hi guys, i am making a flash demo, and i do have some machine part images, on clicking on the parts of it, should open a pop-up window within the demo. could u pl guide me a simple script by which i will be able to achieve this functionality.. thanks n regards champa, norcross, g...more >>

download a file from flash to user
Posted by dom_vdm at 9/16/2004 9:29:22 AM
i would like to be able to have my button download a movie file to the user's computer, instead of loading it, and playing it. how do i do this?????? please, am struggling...more >>

stage.onUnload() ??
Posted by Deepak Joshi at 9/16/2004 9:25:01 AM
can we capthure when my stage has unloaded itself. I mean the time user presses alt-F4 or through any-processure, closes the flash projecture. can i make the flash player perform any action before closing itself hope i made myself clear :) ...more >>

random text without repeat
Posted by suha at 9/16/2004 8:54:24 AM
i have a movie with 5 individual moviclips placed in the scene. a dynamic text field placed in the top layer of the movie clip layer. the text field value should change randomly when it plays a new movie clip. so far i've done the following: -- in the first frame set the text field var...more >>

Reflection in Action Script
Posted by serlank at 9/16/2004 8:47:40 AM
Hi, Please forgive me if this is a stupid question, but is there an ActionScript equivelant for reflection in Java? I need to create classes in ActionScript that can be instantiated at runtime from xml received via XML.sendAndLoad. Maybe there is a better solution than reflection? An...more >>

size of external pictures
Posted by MildaM at 9/16/2004 8:45:47 AM
I need to load some pictures from external source (URL) the problem is, that pictures havent same resolution. I need to load it into flash (allready done) and show it in defined resolution. When I specifi width and height to target movie clip it still changes to resolution of the picture. Y...more >>

ADD TO FAVORITES
Posted by Teji at 9/16/2004 7:44:25 AM
How can i add a web page in the favorites menu in the internet explorer when a user click on the button in my flash movie, i mean ADD TO FAVORITES, thanks in advance...more >>

Problem Loading img throgh XML
Posted by Ashish123 at 9/16/2004 7:35:51 AM
HI, This one of the weired problem i am facing while loading an img into a dynamic textfield from XML at run-time. Here is attaching my .fla and .xml file. Things i want u look into : In Lib there is a MC called A4-P in whcih i am creating my dynamic textField. I am loading my XML fir...more >>

Array and Shared Object Help
Posted by Danny S at 9/16/2004 6:55:10 AM
I have been given the attached code by tusharwadekar to help me with use tracking in my application. The idea is that a shared object and array tracks the buttons the user has pressed so they can see where they ahve been. I have tried to comment the code as i see it but am struggling with some...more >>

Help with script
Posted by recs at 9/16/2004 6:33:11 AM
I developed the following actionscript to create the effect of a bar growing in the X direction (from a width of almost cero) to a width of 600 pixels and when the bar reaches this point it must start to decrease until it reaches a width of 100 pixels. Te code below makes the bar grow in w...more >>

capture alt-F4
Posted by Deepak Joshi at 9/16/2004 5:10:30 AM
can any-one guide me if theres any-way how i can capture alt-F4 inflash in a project of mine, i want that if user closes presentation even using alt-F4, the information is saved in a database. i m able to save all other info. in database . But unable to capture alt-F4 can anyone guide me ...more >>

opening save as option form falsh
Posted by rajibm at 9/16/2004 4:56:06 AM
hi need some help I have developed an application(learning content) where the user can print either the images or the text or both that is displayed on the screen. Now i would like to add one more functionality where the user can save the images or text on his hard drive. Possible option ...more >>

Movieclip.prototype
Posted by abeall at 9/16/2004 2:48:25 AM
I am attempting to make my own functions/classes. Not being an experience programmer/scripter in any language, I'm not sure where to start. I want to do something like this myMovieClip.myFunction(myparams); More than simply a function that has been defined on myMovieClip. I want to be ...more >>

"Error opening URL" message
Posted by aangel99 at 9/16/2004 2:21:06 AM
I have an app that was working great under 7.0. Once I installed the 7.2 updater, this error started occuring. I have a form with some actionscript backing it (see below). I set up an event for when the form loads because there is some initialization I need to do only once the entire form ...more >>

Global variable NOT passing to child movies?
Posted by JAXIMFLASH at 9/16/2004 1:09:54 AM
I have a problem passsing a global varriable defined in my main swf to a child movieClip that I load dynamically into the main swf. Is this not possible? The scenario: 1) I have a main movie: (main.swf) 2) I define a global variable: (_global.somVariable = "something";) 3) I then load an...more >>

IE vs Netscape Problems
Posted by aemesuf at 9/16/2004 12:10:15 AM
Hi all, I have a flash site ( www.nulinebuildingsystems.com). In the main movie and under the " Design" tab I have used some scripts found on this site that allows each floorplan to be opened in their own windows. Well, thats all well and good in Netscape, but it doesn't work in IE. Iron...more >>


DevelopmentNow Blog