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 > december 2004 > threads for wednesday december 8

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

intersecting mcs
Posted by yumicken at 12/8/2004 11:54:28 PM
K i made 2 mcs. 1 moves to up, down, right and left (NSurveyor helped me alot with those) 1 called "BG" 1 called "TFT" i tryed things like: stop(); if (TFT._x=BG._x){ then; play(); } if (TFT._y=BG._y){ then; play(); } nothing happens when they cross, it should play.... ...more >>

random backgrounds
Posted by homegrownideas at 12/8/2004 11:50:52 PM
Is there a script that would allow my website to randomly choose the background? I all ready have 2 background within a symbol, frame 1 and frame 2, I have the stop script on both and instance names and symbols all done. I just need to know how I would go about the random script. ...more >>

Tiling a Movie Clip
Posted by penciline at 12/8/2004 11:13:54 PM
Dear Users: I was wondering how to properly script the 'for' loops that I need to tile a movie clip in the x and y directions. I am looking to do something similar to the Desktop Background in Windows where an image can be repeated across the screen. So far, what I have is: for(i=1;i<11;i++)...more >>

gotoAndPlay broken in IE?
Posted by Zefram at 12/8/2004 10:50:15 PM
I'm having an odd problem where gotoAndPlay is broken in IE. I'm passing some variables to flash via FlashVars: <param name='FlashVars' value='sec=about&amp;subsec=intro'> <embed src='/rn15.swf' flashvars='sec=about&amp;subsec=intro' .... I use these variables to decide what section and su...more >>

help with list component and sound
Posted by echotheory at 12/8/2004 9:58:23 PM
Ok. I'll attempt to describe what I have to do here and hopefully I'll make some sort of sense. For a project I must utilize 2 list components from MX2004Pro. The first contains 3 .wav/.mp3 instances, when a user clicks on them the sound will begin playing by itself. Ie; attachSound. ...more >>

Flash 4 Scripting Resources?
Posted by Davey J. at 12/8/2004 9:46:27 PM
Hi, I was wondering where I can start to look for Flash 4 coding examples. Books are hard to come by on this topic. Thanks in advance, Dave...more >>

Export for procedural (while loop) import
Posted by penciline at 12/8/2004 9:43:29 PM
Dear Users: In Flash 5 I was able to export a movie clip from my library so that it would be imported back into the SWF in cases like 'attachMovieClip' in a 'for' loop. The result is that I only have to create the movie clip graphic once and then the loop would place the file any number of t...more >>

Button script problem
Posted by Pocco at 12/8/2004 9:37:07 PM
Does anyone know the script (button action script) to go to another flash movie ( I want to go from one flash movie to another)? Or if the question already have been answered where do I look, what is the search word? I have tried several but not found what I've been looking for: ...more >>



script for movieclip?
Posted by Pocco at 12/8/2004 9:32:31 PM
Hi, I working on a small flash movie (production) that consists of 4 different scenes that I have namnes Main, game,music and picture. In the picture scene I have a movieclip (button_mc)that consists of 4 buttons that each go to a different movieclip. I have no problem with the action script ...more >>

embeded font is missing @
Posted by Iriel at 12/8/2004 9:30:38 PM
I have a Flash/PHP email form with several text fields. Four of them are inputs and one is dynamic for status/error messages. I embedded the font Tahoma at 12 point into my flash movie, but when I run the swf, the @ symbol and a few other characters can't be typed in. Considering there is an e...more >>

Data Help
Posted by jhl3 at 12/8/2004 8:02:55 PM
Our company has been given the ugly task of taking data developed by a third party company and integrating it into flash. Unfortunately the data returned is ugly. I have no idea where to begin in working with this. I would appreciate it if someone could direct me in some way on this. I need ...more >>

PrintJob() not recognizing movie clips
Posted by AGKnight at 12/8/2004 7:59:17 PM
I have two movie clips in my movie, map_mc and myClip_mc. When I use the following script to print one of these movie clips I get no results. on (release) { var my_pj:PrintJob = new PrintJob(); var myResult:Boolean = my_pj.start(); if (myResult) { my_pj.addPage('myClip_mc',{xMin:0,xMax:...more >>

trying to change a funtion to v 2.0 - Please Help
Posted by Mark.P. at 12/8/2004 7:57:05 PM
These functions worked fine in the "old" ActionScript. Can anyone help convert this over to v 2.0? I think It's close but it runs very slow now and I can't seem to get a lot of different clips to work with it at the same time. The first time you roll over the button it jumps to the desired ...more >>

Collision Detection in Movie Clips
Posted by Yenwod at 12/8/2004 7:36:50 PM
I've figured out how to detect one movie clip entering into another movie clip with the code: area.onEnterFrame = function () { status.text=this.hitTest(car); } car.onPress = function (){ this.startDrag(false); updateAfterEvent(); } car.onRelease = function () { this.st...more >>

LoadVars
Posted by jgomula at 12/8/2004 7:23:10 PM
I get the response page, but not the email :( Any ideas would be really helpful. var gatherForm:LoadVars = new LoadVars(); //-----------------------------<send form LoadVars>--------------\\ function sendForm () { gatherForm.recipient = "info@bluemooninteractive.co...more >>

Calling a swf from a external domain
Posted by IzaDisaiN at 12/8/2004 7:21:09 PM
Hi, I can't call a swf from a external secure domain. The swf is called by a class file. Can you help me?...more >>

how to use "loadVariablesNum" to load text in mc
Posted by Doug8867 at 12/8/2004 5:21:52 PM
:disgust; I am using the loadVariablesNum code in the first frame of my main movie to load an external text file 'cprnews.txt' into a dynamic text box that is then controlled via scroll arrows. I've gotten it to work when the text box is in the main movie using the following code: loadVari...more >>

scrolling dynamic text and masks
Posted by goodcookn at 12/8/2004 5:20:02 PM
I have a dynamic text field that is reading a txt file, this is in a MC what is scrollable. My problem is when I put a layer mask over the MC I can not see the text (if there is not layer mask it works fine). Any ideas or help is greatly appreciated! ...more >>

Why do I get 'NaN' ?
Posted by Pluda at 12/8/2004 4:37:41 PM
Hello all, I'm developing a preloder, based on draw api and create movieclips and textfields on the fly. Everything works, but the progess textfields arent correctly updated using this: mc["loader"+i].loadMovie(url); // mc["loader"+i] is the main movieClip.loader0 or loader1 ...more >>

Actionscript <=> Components: Help Me!!!!
Posted by Twoolie at 12/8/2004 4:16:35 PM
i have populated a dataGrid component with data, but i wish to send a specific cell of this data, as a string, to an actionscript variable. how can it be done?? can it be done??...more >>

trouble with embeded fonts
Posted by macroming at 12/8/2004 3:50:16 PM
hello i have some trouble with embeded fonts with French language i'm using Arial (so i shoud'nt need to embed the font) but if i embed or not, it do the same : all the latin chars "? ? ? ? etc..." disappear or shows as squares. i've tryed lots and lots of ways to deal with this, ...more >>

Searching directory
Posted by Ronak Bhagdev at 12/8/2004 2:55:04 PM
Hi all, I want to make a simple searching business directory with flash. I want "When anybody enter name or company name to search he get all information of company like address, logo, number". Is it possible without database in flash? can anybody give me details about it? ...more >>

.autoSize looking for String
Posted by AwesomeDigital at 12/8/2004 2:44:59 PM
The following line my_txt.autoSize = true; Is giving me this error? Type mismatch in assignment statement: found Boolean where String is required. my_txt.autoSize = true; But the help for .autoSize shows that should work. Any Ideas? my_txt is defined as a text field (var my_txt:TextFi...more >>

Only play one projector at a time
Posted by Sav at 12/8/2004 2:06:46 PM
My client has requested that the flash projector i have created on CD-ROM can not have multiple versions of itself running at the same time. Eg: the user can't accidently click the projector icon twice and launch the application twice. Cant find any Actionscript that can check if a file is al...more >>

drag and scale together
Posted by yofof at 12/8/2004 2:00:12 PM
hi there, i have a movie clip on stage. i want to drag it when you click on it (mouseDown). on release i want to let it on place where it was when released. and then aagin on startDrag on press and stopDrag on release. i'm trying: _root.myClip_mc.onPress = function(){ star...more >>

Eval? MX? syntax
Posted by runaway_vibrator at 12/8/2004 12:57:42 PM
I have a function called loadAndFade that I call like var clipper = _level0.pattern["clip"+q].percentage _level0.pattern["clip"+q].empty.loadAndFade(clipper,strJPEG,1); MovieClip.prototype.loadAndFade = function (emptyclip, file,spd) { var t = emptyclip.getBytesTotal (); trace(t); ...more >>

New -> ContextMenuItem -> Question/Problem
Posted by ssavin at 12/8/2004 12:39:24 PM
Hi. Here's my little question: Is there any way to do a rightClick custom menu item with sublevels, same as the standard 'Quality' - which has 'low-medium-high' sublevel items?.. Thank you....more >>

using Instance Name of button in actionscript
Posted by Robert C at 12/8/2004 10:31:30 AM
This seems so simple, that I am sure I am missing something very basic. I have a dynamic movie clip in the 'up-state' for a button. It loads .jpgs from an external source. I want to be able to reference the Instance Name of the particular button to complete the url. The actionscript for the m...more >>

Zooming into a MC centered
Posted by Jan-Paul K. at 12/8/2004 10:11:41 AM
Hi everyone, I am trying to build dynamic image gallery which allows the user to zoom into the selected images. The images are also dragable so the user can move around the zoomed image if it is bigger than the stage size. My Problem is the following: how can I zoom into the image wi...more >>

How to call my function within button component?
Posted by ggalen NO[at]SPAM mn.rr.com at 12/8/2004 9:59:20 AM
I have a screen-based Flash document. I define a function in the load event of a screen: call it myFunction(). Within a button components, I try to call myFunction(). It doesn't get called. I tried _root.presentation.SlideName.myFunction(); That doesn't work. I tried _level0.present...more >>

parsing XML files with strings containing tags
Posted by Finty at 12/8/2004 8:59:25 AM
Hi, I'm trying to parse an xml file that contains the content for my site. One problem that i have is that the string values for a certain attribute in the file contains tags because it will be used as HTML in a html text box in my fla. It doesn't seem to like '<' or '>'. I'm sure there is...more >>

image transition, please help me!!!
Posted by stanstanma at 12/8/2004 8:51:38 AM
Hello, Can someone body help me to do an effect like in the url below...:: http://www.designcontents.com/global/fileflash_up/200406214W5navi.swf The image appearing from different slices.. thanks .. love you alll!!! ...more >>

scrollpane & dynamic content
Posted by irina_m_ua at 12/8/2004 8:45:01 AM
I have scrollpane component. I want to add content there dynamicaly at runtime. For ex: _root.scrollpane_sp.content.createTextField(.. Content added ok, but scroll size don't change accordingly scrolled movieclip height. Is there any way to change it by ActionScript. Thanks. ...more >>

preloader runs until whole .swf is loaded
Posted by toofastdad at 12/8/2004 2:35:00 AM
I have created a flash movie, 2 scenes (Scene 1 the pre-loader and Scene 2 the main movie). Scene 2 contains three layers on one frame?background, content and actions. The content layer has 7 layers across 10 frames, six of the layers have numerous movie clips. The pre-loader keeps playing u...more >>

Return to last scene
Posted by momatwork at 12/8/2004 2:30:17 AM
I just created a Help screen for a tutorial I'm developing. I've created hyperlinks to it from all scenes in the tutorial. However, I can't figure out how to return to the previously viewed screen given that the learner could be accessing Help from any scene in the tutorial. Help! ...more >>

Keypress and IE
Posted by mshe at 12/8/2004 2:15:20 AM
In Flash, I want to use the keys F1, F2, F3, etc. However, these keys are already used by IE. Is there a way for Flash to intercept the keys and disable IE from getting these keypresses? Thanks....more >>

textArea Color
Posted by Frank Master at 12/8/2004 1:53:39 AM
I was just wondering how or if you can change the textArea Color. Jay...more >>

Marquee
Posted by Studious at 12/8/2004 12:50:57 AM
I'm trying to create a vertical scrolling (scrolls from the bottom of the viewing window to the top...like a Java Applet) marquee of 400x500 pixels in dimension, which has text loaded via a .txt file. I can load text into a dynamic text field fine, but I don't know how to get that field to ex...more >>

Why do when a select a textfield this execute an action?
Posted by A-max at 12/8/2004 12:23:21 AM
:confused; Can someone help-me with it: Why a i do for when a select a input textfield this execute an action? ------------------------------ Thanks for who help-me. Have a nice day. ...more >>

help editing my search function
Posted by abe camacho at 12/8/2004 12:18:40 AM
I am fairly new to actionscript and am trying to create a search function using text fields. attached is my string of code. the code will either search for the first or last name, but does not work for partial names. it currently returns a not found message. how can i make a simple mod to my c...more >>


DevelopmentNow Blog