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 > june 2004 > threads for tuesday june 15

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

Need help with this script
Posted by Sly1211 at 6/15/2004 11:27:33 PM
I have this script that scrolls thumbnails. However, I'm at the point where it won't scroll over any farther, thus, not all thumbnails come into view. Any help would be greatly appreciated. stop(); myStageWidth = 780; imageStrip.startX = imageStrip._x; imageStrip.inertia = 0.12; i...more >>


Actionscript Trouble can you look and comment
Posted by TryingMybest at 6/15/2004 9:19:57 PM
Ok, so I have this menubar and when I select the menu option of choice, I want that choice to be directed to a specific frame in the movie. Well it doesn't work, I have labled the frames correctly, any Ideas? Can someone look at my code anf tell me whats wrong if Anything! Thanks in advanc...more >>

embedding fonts at run-time
Posted by mgnvs at 6/15/2004 9:18:52 PM
The application on which I am working creates textFields and applies textFormats in actionscript with text and formatting data. For appearance reasons, I have set the textField to use embedded fonts. In my application, I have the appropriate font outlines and font symbol. Everything renders...more >>

load movie flicker
Posted by mfunk at 6/15/2004 9:08:27 PM
Hello all, So I am using load movie multiple times to pull different clips into my main interface. But when I jump between moives it flickers the main movie in the background. so the transition are not smooth. any way to fix this? I am going load movie into a target not a level. -marc ...more >>

help! live preview that redraws when resized
Posted by sneakyimp at 6/15/2004 8:15:04 PM
hi: i've done searches on this, I've read tutorials at macromedia, and I've experimented for hours but I haven't had any luck. I want to make a live preview movie for a component that I've written that will redraw itself when the user resizes it while authoring so that the objects on i...more >>

3 script questions... for now
Posted by squirrelyjones at 6/15/2004 8:09:53 PM
with script how do I... add a movie clip from the library to the stage? add a script to a movie clip that is on the stage? swap a movie clip or a graphic in a movie clip with something in the library without changing the script? and where should the script/s that do these things go or ...more >>

360 MPH
Posted by Dheeraj Mehta at 6/15/2004 7:55:55 PM
Is there any way to obtain the speed at which the user moved his mouse cursor ... ???...more >>

LoadMovie Question
Posted by echmrr at 6/15/2004 6:50:44 PM
When you use the LoadMovie action to load a large swf, does that movie start playing as soon as frame 1 is loaded or does it have to completely load before it starts to play? Thanks, Eric...more >>



ActionScript naming conventions
Posted by FlashyDesign at 6/15/2004 6:43:48 PM
Hi everyone, I've heard a few people say that when naming things in Flash you should avoid the "_" (underscore) character. Why is this? Also, should one avoid using underscores when naming anything in Flash or just for naming instances, frames, etc.? Most importantly, however, is why steer c...more >>

Creating buttons and listenening for events?
Posted by jbeltran_mx at 6/15/2004 5:58:13 PM
Hello, I created my buttons in the old flash 5 flashion way (Createa graphic and convert it to symbol: button) and i want to control the events with AS2. I create my listener for onPress and onRollOver for that button, but it doesn't want to work. I apply the same listener to a button co...more >>

Problem with 'KeyDown'
Posted by elusn at 6/15/2004 5:57:45 PM
UP.onKeyDown = function() { gotoAndPlay(51); I want it so when they press the UP button it goes to frame 51 but it isnt working ... Will some one tell me whats wrong and give me the right code please!? ...more >>

ScrollPane or ScrollPain?
Posted by ksuchomel at 6/15/2004 5:45:47 PM
I started a new thread since this is a differnt problem. I have a movieClip that dynamically loads a set of thumbnails and places them vertically spaced. That on it's own, works fine. I then set the external linkage and tested it with an attachMovie function. That works too. I then a...more >>

the order of an input textfield.
Posted by knait at 6/15/2004 5:44:53 PM
how do I check the order of an input textfield. I have a input textfield with maximum 7 characters. on (keyPress "<Enter>") { if (length(no1) == "7") { check = "ok"; play(); }else{ check = "please type 7 characters"; } } my problem is now how do I find the order of th...more >>

Help!
Posted by elusn at 6/15/2004 5:42:34 PM
UP.onKeyUp = function() { gotoAndPlay(51); I want it so when they press the UP button it goes to frame 51 but it isnt working ... Will some one tell me whats wrong and give me the right code please!? ...more >>

Problems with looping in array
Posted by jblack at 6/15/2004 5:38:05 PM
I've created a dropdown list clip that loads list items based on an array. The list items would link to external swf's and play them on the stage. However, as usual, I've run into a wall. The list populates properly with the list item clips showing up tagged with the correct labels, but the...more >>

DoEvents or Wait Command IN AS?
Posted by AwesomeDigital at 6/15/2004 5:34:05 PM
I have a combo box that I am loading from an XML file using the XML connector. It seems to take about 2 seconds to do. I have some action script that needs that data to be there. Is there some sort of wait command I can use to make sure the data is there before I continue on with my scri...more >>

TXT - Sequence of slides
Posted by Jota at 6/15/2004 5:23:56 PM
Hello folks. Is it possible to define a sequence of slides with a external file ? Like 1,5,8,3 from txt file ? Tks Best Rgds Jota...more >>

Variables? Determining HTML Page in Flash
Posted by flashmebaby at 6/15/2004 4:47:12 PM
I am not sure the best way to figure this but I am sure it can be done and probably already has. But on my HTML (or PHP) page I will have my Flash navigation file embedded. What I would like to do is somehow have Flash A) define the page, B) read in the page, OR C) read a variable on the page ...more >>

Issues with Gallery Component
Posted by Chris Grande at 6/15/2004 4:18:00 PM
Hey Everyone, I'm having this strange issue with a gallery I'm working on. I'm using the Gallery Compnent from the exchange and its having some strange issue where it will sometimes drop off the last 2 image thumbnails. Take a look at:http://64.62.139.88/~stewart/ The strange thing is if you c...more >>

Live Preview of Custum Components/
Posted by ellisn at 6/15/2004 4:10:43 PM
I have created a number of components with live previews all of which work fine. However a recent component was used more than once on stage and when the parameters of one of the component instances was altered the change was reflected in all the live previews, not just the one that had been a...more >>

Drawing Shapes w/ AS
Posted by JenB929 at 6/15/2004 3:32:21 PM
I'm new, I admit it. I have a map on screen (a GIF from the library) and need to allow the user to click on points on the map and draw circles at the points, then lines from point to point. I've got the circle and lines going ... but they are drawing directly to the stage, underneath m...more >>

dynamic text
Posted by biboune at 6/15/2004 3:23:20 PM
Hi, I am trying to format the content of a dynamic text field. Title bold, text italic ..... but all in the same field. The text content is kept in variables within the flash. There is no external txt or xml file (and no possibilities to use any) I've tryied like : _root.mc_detalle.detal...more >>

Accessability
Posted by Giles_R_Roadnight at 6/15/2004 3:21:14 PM
I have been given the task of making our flash application accessible. You can see out application here: http://www.mixipix.net Most of the content in there is dynamic - we will soo be replacing all fo the text and buttons with dynamic elements allowing all text to be laoded from an xm...more >>

Renaming Instance Names at Runtime?
Posted by jbeltran_mx at 6/15/2004 3:15:59 PM
Hello, I have a bunch of graphic symbols that are tracked as a buttons with code attached to each button. Those buttons have numerical instance names (like: 234, 245, 356...). I load this movie clip(myButtons.swf) into my MainMovie using a Loader Component. I want to change the numerical in...more >>

loading mystery file!
Posted by Scott42 at 6/15/2004 3:07:13 PM
I have a flash project that I would like to be able to plop into a directory and have it automatically load whichever file is ".xml". Can I do this? I don't have any issues loading an xml file if I know what it is, but I haven't been able to figure out this extra step. Thanks in advance. ...more >>

This one's easy
Posted by mheddle at 6/15/2004 2:37:59 PM
I know that this seems way too obvious, but I can't find anywhere to code Flash to open an external file. I can only open a url. Can someone give me a hint as to how to open an external file using a relative path? Also, is there anyway to bypass the character limit for opening a url? ...more >>

bouncing box with sound
Posted by groovy_c at 6/15/2004 1:52:38 PM
I've got an MC that can be moved with the arrow keys. as harder you press the key, the more power it has. when it hits the walls it bounces back. now I want to have sound in it. when it hits the wall at different parts a sound should be heard. ...more >>

loading jpg images for a slideshow help please ??
Posted by privatenews.microsoft.com at 6/15/2004 1:41:24 PM
oko ive got myself a basic loader, now I need to make sure that the image has loaded before I increase the value of i and get the next image the show is at www.whitsandbaydivers.com/test/ and the problem code is below: loadMovie("slide_image/scylla.jpg", "target_mc"); animItvl = setInterval...more >>

probs with Goto function and a HitTest script
Posted by Garfield1983 at 6/15/2004 1:32:54 PM
I got the following code from a tutorial on making a simple drag and drop game: onClipEvent (mouseDown) { if (_root.drag.hitTest(_root._xmouse, _root._ymouse)) { _root.draggedDrag = true; } } onClipEvent (enterFrame) { if (_root.draggedDrag) { _root.drag...more >>

Combobox Problem
Posted by lucka4forum NO[at]SPAM free.fr at 6/15/2004 1:22:39 PM
Hi !! I have a problem with a combox. This combobox is filled with values by a PHP page called in my SWF file. No problem but after that another function is called and until this function is not finished I want my combobox to be disabled. So in the beginning of my function I've writen M...more >>

multiple #include
Posted by K B at 6/15/2004 1:13:28 PM
My issue isn't with including several different .as files, but rather, having to include one .as file more than once. Here's the situation: functions.as - has some functions that are used commonly myClass.as - has class definition whose member functions require some procedures from functi...more >>

Dynamic Variables
Posted by Skim Milk at 6/15/2004 1:07:07 PM
Does anyone know if there is a way to access variables of the following form: variable1 variable 2 variable 3 so on all the way up to 10, I want to loop through them like this: for(i=0; i<numVariables; i++){ something=variable1; } next time around something=variable2 and s...more >>

textarea component-does html property kill styles
Posted by paulAbad at 6/15/2004 12:55:05 PM
ok i'v been getting in to the text area component in mx2004, and using styles to customise it a fair bit, mainly for text size and colour... but when i set an instance of it to html=true so it will show some markup, all the style effects disappear? is this something enocuntered by anyone els...more >>

Problems... not sure why..
Posted by GmR at 6/15/2004 12:16:02 PM
I have a Flash movie inside an ASP page. Both the ASP page and the Flash movie are using some db authentication to see if the user is logged in. I'm having some problems.. I am using sendAndLoad() to talk to the server, and using a ...if (success) {... on the reply handler. Can som...more >>

Help in Preloading SWFs - Please!
Posted by GmR at 6/15/2004 11:18:35 AM
I have a situation where I need to preload several swf files before I begin my movie. I can't get my head around how to use loadmovie() and also show a progress indicator for each of the movies as they load. Any help appreciated. Thanks! G. Michael ...more >>

Launching PDFs w/o Internet Explorer
Posted by Ryan Muller at 6/15/2004 11:15:30 AM
Hello, I'm launching PDFs from Flash using the getUrl() function, which currently uses Internet Explorer to drive acrobat. Is there any way to go around this and use Acrobat exclusively? One of my clients is having a problem launching the PDFs because they are working over a network drive, a...more >>

Flash and Activex(Ocx, Dll)
Posted by Y2K at 6/15/2004 11:08:58 AM
Hello Group, I need use Activex (Ocx or Dll) in Falsh Application, but I don't know how do it. Is it possible? Thank's....more >>

Button Actionscripting problems.
Posted by Peter Fettes at 6/15/2004 11:07:57 AM
Please Help, I'm creating a movie (swf) which is then imported into another movie. Now in the 1st movie the one to be imported I have a buttons to control it, which have the following actionscript: on(release) { _root.gotoAndStop(61);// or gotoAndPlay depending on what you want to d...more >>

Using ComboBox to gotoAndPlay on timeline?
Posted by Robbie Sinclair at 6/15/2004 10:58:05 AM
I'm trying to use a ComboBox to do something I would think is relatively simple, but I can't seem to find the correct syntax. I have a Combobox with 3 labels. When the user selects any of the labels, I want to simply move the playhead on the timeline to a frame label of the same name. I've ...more >>

Duplicate a MovieClip ?fed? with loadMovie ()
Posted by Mowly at 6/15/2004 10:01:03 AM
Hi everybody, I comment you the following case for if somebody has experience in a similar case and he/she can give me their opinion. I need to create (in a dynamic way) instances of icons that resides outside of the movie (as . swf files). For it I have made the following: 1.? I?ve ...more >>

Use of CSS in flash MX
Posted by ramesh_mbabu at 6/15/2004 9:48:55 AM
Can I use an external CSS to control the appearance of flash UI & the controls? Or is the support limited to some of the CSS styles?...more >>

master volume control
Posted by atticusisrad at 6/15/2004 9:33:19 AM
hi all, I'm creating a digital Jukebox for an assignment which consists of a whole lot of music MP3's. I Was just wondering if anyone knew of a way to adjust the master volume control as opposed to each different sound object. Any help would be much appreciated. Thanks. D_W...more >>

Property/Methods
Posted by Cttnwd at 6/15/2004 5:51:42 AM
Greeting; As a newbie, I'm studying ActionScript. If Properties are the characteristics of an object, essentialy variables that are associated with objects and Methods are functions attached to objects. Are properties a "subset" of methods? Thanks in advance Jim ...more >>

load swf without using on(release)
Posted by Dream4321 at 6/15/2004 5:43:29 AM
I have built a site in flash MX 2004 and want the movie to load but to keep the site loading somewhat fast I created a swf file for part of it. Is there a way to load the external swf file without on(release)? ...more >>

xml connector bug?
Posted by goseta at 6/15/2004 5:12:58 AM
Hi I'm working on a project, I'm making an app for my company in spanish and I have found maybe a bug, the thing is that I'm using the xml connector and when I try to load spanish characters the xml connector fail an doesn't show anything, I try to put this xml tag <?xml version="1.0" en...more >>

Reusing symbols that contain shape tween
Posted by McKenzieDee at 6/15/2004 4:18:11 AM
I am very new to Flash so pardon my lack of knowledge. I created a symbol that contains a tween and it's within file testA.fla. I want to use that symbol in my file testB.fla. I used Import>Open External Library to get the symbol into the library. When I put it on the stage and test the mo...more >>

2 problems
Posted by dan collver at 6/15/2004 4:17:47 AM
How do I create a preloader for my movie, and how do I stop a sound in the middle of the sound?...more >>

Ok so i made a little drawing program...
Posted by fasterthanlight at 6/15/2004 3:57:21 AM
http://www.jamieroy.com/draw.html next step: how to save it on someone's hard drive, OR send it to me... whichever is easier. i have no idea where or how to start, any suggestions would be splendid!!!!! ...more >>

Changing the jpg height and width question
Posted by yshung at 6/15/2004 3:34:58 AM
Test this codes, found after onLoadComplete was called, the pic_mc's properties "_height" was still "0". My question is, what does it mean "onLoadComplete", does it means the .jpg file was write to flash buffer? And is there anyone can tell me how do I get the _height and _width properties af...more >>

Tell Target
Posted by rhouck at 6/15/2004 2:05:25 AM
I posted this request about a week or so ago and I forgot to give the scripting I used. The question was as follows: I need to write an action script without using Tell Target. The problem is it is fine if you click on the invisable button once. But if you click on it again..It goes someplac...more >>

Dynamic text doesn't work
Posted by c_u_jimmy at 6/15/2004 1:01:29 AM
Hi, I have a problem with dynamic text it seems to work fine until I upload it on to the net. I am sure its real simple, but I am pretty new to actionscript and this is the first dynamic text I have done. I got this from flash kit and thought it would work loadVarsText = new loadVa...more >>

variable name problem
Posted by trevmadge NO[at]SPAM hotmail.com at 6/15/2004 12:45:09 AM
Hi, I have a dynamic text box with the variable name "r4_txt" but Flash doesn't seem to like it. I also have text boxes with the variable names "r3_txt" and "r5_txt". When the following code is run nothing appears in the box: r4_txt.text = "fubar"; But this code works fine: r3_txt.text...more >>

dynamic loading images
Posted by goodcookn at 6/15/2004 12:37:23 AM
Hi, I'm want to load images into an .swf file and have it so i can replace the image with new ones without haveing to export and new .swf file. Is there a way to dynamical set it this up so this will "read" a file? Also assume that the file will always be the same dimetions and would be name...more >>

Input and Dynamic text boxes
Posted by Joel Wiedman at 6/15/2004 12:29:35 AM
I'm making an E-Card for a school project and need some "code" help. In the first Scene, I have the viewer enter their name and age (seperate input textboxes) and press a play button to play the card. In the third Scene I want to have the name and age they entered in the first Scene to be disp...more >>


DevelopmentNow Blog