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 2

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

two mc actions with one press
Posted by kris at 9/2/2004 11:53:14 PM
I want to create a flash site with 5 buttons (A,B,C,D,E). Each buttons is connected to a movieclip. When I press button "B" then movieclip B comes from the rightside in the head scene in the middle. That action I create with on (release) {_root'name'mc.gotoandplay();} but then... When I press a...more >>


synchronise instances of movie clips
Posted by donblevins at 9/2/2004 10:45:28 PM
Can someone tell me how to synchronize two instances of the same movie clip? More specifically, I have two instances of MC1. The first instance is running in MC2, the second is running in MC3. Both MC2 and MC3 are embedded in the main stage. Is there a way to keep the two instances of MC1 ...more >>

Flash in Powerpoint
Posted by yummyrec at 9/2/2004 10:10:56 PM
Hi there! I have a flash movie in a powerpoint presentation. When I skip ahead to the next frame in the PP, and then skip back to the previous frame (the flash movie), it doesn't start up at "frame 1" of the flash movie. How do I make this happen? ...more >>

Its WEIRD whaz wrong wth these 2 nos:28.26, 21.98
Posted by John Prabhu at 9/2/2004 8:38:16 PM
1. Friends i am facing very simple and weird error.. 2. I have simplified the situation here for ease of explanation. 3. Say i have variable called myData = 20 4. I have a input text in stage called myInput 5. If i enter 20 in the text field and check whether myData and myInput are equal, ...more >>

countdown timer - HELP!
Posted by scriptKid at 9/2/2004 8:12:26 PM
hello, i'm trying to write a timer that counts down from 10 minutes then start over. i just want it to decrement the minutes, seconds and milliseconds. i have the milliseconds "sort of" working and the seconds can countdown, but i can't control where the seconds and minutes start. i want...more >>

Unable to call function from a button
Posted by catsdev at 9/2/2004 8:05:20 PM
Ok, within a class, I am dynamically creating a button on a clip. When I hit the button, I want to run a function in the class. Ok, so here's an example of what I want to do: 1 class popButton { 2 var drawBox:MovieClip; 3 function popButton() { 4 drawBox =_root.crea...more >>

Button Component
Posted by angela_mcdonnell at 9/2/2004 7:11:41 PM
I am creating an app and need to know why the following block of code works on a button component but not on a button that I create myself ? on(release){ this._parent._visible=false; this._parent._parent.form1._visible=true; } Any help will be appreciated ! ...more >>

Error when checking class syntax
Posted by Transent at 9/2/2004 7:07:10 PM
I'm having a fairly rudimentary problem while checking the syntax of my class file. This is what I'm doing at the top: import classes.games.*; import classes.core.*; class classes.games.View { ... When I check the syntax, I receive the following error: **Error** C:\Documents and ...more >>



Linking Text to Non-web Files
Posted by karltraum at 9/2/2004 6:51:55 PM
Not sure if this is an actionscript question, but I put it here in case the answer requires any coding -- I'm sure it's simple, but after 1/2 hour looking through the Flash docs I'm stumped: is there a way to link text to non-web files, e.g. a .DOC file, so that a simple download procedure sta...more >>

Class tutorial ( beginner )
Posted by avalanched at 9/2/2004 6:25:00 PM
I wanne learn how to use Classes in ActionScripting does anyone has a good BEGINNERS tutorial ? languages = dutch or english ;) thx ava...more >>

Functions
Posted by avalanched at 9/2/2004 4:48:11 PM
Why wont this function work .. does anyone knows ? //on frame 30 stop(); function static_fade(_a, _b) { //button1 _root[_a+"1"]._alpha<100 ? _root[_a+"1"]._alpha += a : loss; _root[_b+"1"]._alpha>0 ? _root[_b+"1"]._alpha -= a : loss; //button2 if (_root[_a+"1"]._alpha>50) { ...more >>

event component help
Posted by palmskov at 9/2/2004 4:41:02 PM
This code shuld make all the checkboxes respond to clicks but doesn't work???---------------- form = new Object(); form.click = function(eventObj){ trace("The selected property has changed to " + eventObj.target.selected); } for(i=1;i<=10;i++){ s1.e1.duplicateMovieClip("e"+(i...more >>

How big is too big re: preloading swfs?
Posted by CougarTheCat at 9/2/2004 3:38:31 PM
Hi, I am creating an online test. The test has 4 sections which have audio and some have graphics as well. I am doing a movie for each section and preloading the all the images and sound for the section before playing the section. I have a couple questions: 1-I have put all of my so...more >>

projector to open pdfs in reader
Posted by thewordisyes at 9/2/2004 3:33:50 PM
Hi. I am creating a cross platform (mac/windows) flash projector. A key function is the ability to launch/open PDF files (from the same CD as the projector) through the projector in acrobat reader. I have read that external batch files, opened with fscommand exec actionscript are a sol...more >>

Flash export Windows projector
Posted by Fredy119 at 9/2/2004 3:07:41 PM
Hi I want to export my flash as an exe-file. As I want the user to perform tasks and then proceed to the next frame via pressing a button, I would like to suppress the menus in Flashplayer 7, especially "play", "step forward" and "step back". How can I do that? Thanks ...more >>

Problem with _global var & onResult
Posted by Eric CECCARELLI at 9/2/2004 2:56:21 PM
Hi! My SWF calls a function on the server (and the server returns a value) but I've a problem with the onResult after the call method : // We already have an established connection named my_connection and a textfield named my_textbox on the scene _global.my_variable="TEST"; myRes...more >>

LoadVars() lost ","
Posted by davidrule at 9/2/2004 2:53:10 PM
Hi, I have used variables for my textboxes and use LoadVars() to get the external texts for my textboxes. 1. in sever side, using asp.net: Response.Write("&title=hello,world"); 2. in my flash file, e.g. textbox's var is myText. myVar=new LoadVars(); ...more >>

CALLING IN A 'RANDOM' MOVIE . . .
Posted by Grayhem at 9/2/2004 2:52:19 PM
If you want a new movie to load in every time someone visits a particular web page, randomly, from a list of 10 swf's, how do you do it? Im not a expert actionscripter - I only know the basics Graeme ...more >>

textarea component, html formatted text, long URL
Posted by bjprice at 9/2/2004 2:46:32 PM
I have run across an apparent limitation of the textarea component (MX2004 pro) in that if I feed it dynamically generated html (in this case from an XML document) and that html contains hyperlinks, the URL's for those hyperlinks are cut off at 127 characters. Is this true? What is a...more >>

flash mx get url parameters
Posted by Guxter at 9/2/2004 2:26:59 PM
get url: is there anyway of controlling the size of a browser window within Flash without using javascript? Regards Guy...more >>

rollover button don't show in scrollpane
Posted by noarmstrong at 9/2/2004 2:11:02 PM
Hi I have a movieclip inside a scrollpane with buttons embedded in this- the pointer changes when you roll over the buttons --but the over state of the buttons does not show.should I be using the button component within the scrollpane instead of using normal buttons How can I solve th...more >>

navigate between screens
Posted by angela_mcdonnell at 9/2/2004 2:04:55 PM
Need Help. Currently working on an application, working with screens and the timeline. Can't figure out how to move from screen to screen with a button press? I am able to do this if navigating through Frames but not through screens. I can set a different screen .visible=true; but I am...more >>

flash, javascript & netscape
Posted by giordald at 9/2/2004 1:58:20 PM
Hi boys, my question: my html page source: .... <form name="formz" enctype="multipart/form-data" method="post" action=""> <input type="file" style="display:none" maxlength=1 size=1 id="browse" name="browse"> </form> .... the action script in a flash button: on (press) { get...more >>

Reducing download time by reusing objects
Posted by logeye at 9/2/2004 1:58:18 PM
I am developing online training that is directed at dial up modems(ie. airline pilots). I am trying to save download time and size. The program loads multiple SWF files in sequence and in _levels. Here's my question: Is there a way to reuse objects contained in previous SWFs that are st...more >>

loadmovieNum levels...
Posted by Jay-Dee at 9/2/2004 12:33:31 PM
Hi all... I have the following preloader... to workaround export for first frame... ActionScript: onClipEvent (load) { loadMovieNum ("content_all.swf", 1); loadBar._xscale = 0; } onClipEvent (enterFrame) { var total = _level1.getBytesTotal(); va...more >>

movieclip on lower layer makes lineTo jerky
Posted by andrewnisbet at 9/2/2004 12:17:35 PM
Hello, I am loading in a movieclip that has a series of animations in it into a main movie which has a drawing function on it to draw scribbles/lines etc like a pen tool. When the movie runs and loads in the animation the drawing tool on the hgher layer becomes all jerky when i try and dr...more >>

resize image for upload?
Posted by chrism59 at 9/2/2004 12:15:37 PM
I have an application the allows the user to select an image from their HD and load it into flash. (completed with javascript) Then when the user completes loading images into the flash application, the user uploads the images to the a server. I can send the images to coldfusion and comple...more >>

GET and POST problems
Posted by Iain2004 at 9/2/2004 12:06:25 PM
Hi, I am using the getURL command and as I would expect when i use the GET clause it shows the variables in the address bar of the browser, fine. But when i use the POST it still shows the variables in the address bar. I cannot figure out why it is doing it. Scenario. I have a moviecli...more >>

zoom into mc
Posted by razorpoint NO[at]SPAM hotmail.com at 9/2/2004 11:53:25 AM
is there a quick way to zoom into a movieclip that will have other mc's going on inside it and have it drag-able. basically i have a .eps of a floor plan and depending on what sections they want to build on that floor plan, they can click the link and the floor plan will be updated by showing ...more >>

Trace doesn?t write on the output panel
Posted by Delfio2d2 at 9/2/2004 11:25:14 AM
Hi guys. I?ve updated to version 7.2. I?m newbie, I hardly worked with 7.0 so I can?t know if this ocurred with the previous version. The problem is that when I use the sentence Trace, I can?t get anything on the output panet. When I debug the code I ensure the sentence is executed. ...more >>

Keep _root local
Posted by 3Darky at 9/2/2004 11:07:28 AM
i'm loading in a few .swf files via loadMovie. i know there's a way to keep _root restricted to the local .swf with a single line of code, i just can't seem to find it anywhere. = \ can someone help me out? thanks in advance ...more >>

much simpler array problem
Posted by direct-ed at 9/2/2004 9:45:57 AM
Ive got it down to just this, the only part that doesnt seem to be working x = (listB.length - 1) if ([listB][x] == "apple") The 'if' statement isnt working even though when [listB][x] is traced it returns 'apple'. Any suggestions? Thanks. ...more >>

Controling a MC in a pop up
Posted by biomechanoiden at 9/2/2004 9:17:10 AM
I want to know if it is possible to control a movie clip in a pop up. Lets supose that i have a file.swf with several buttons in it, each button opens the same pop up but in a diferent frame of the pop up. Is this possible to do???? ...more >>

movie names against array slots
Posted by direct-ed at 9/2/2004 9:03:10 AM
The movie clip that this code is contained on is called apple. If apple is stored anywhere in the array listB, I want to remove the entry. This code is stored in other movie clips also, I want to check the movie names in the array listB and remove all entries that match the name. Im trying to ...more >>

Preloader info required
Posted by ghi57 at 9/2/2004 8:55:31 AM
Has anyone got step by step info on how to instale a preloader to my flash movie. I already have a swf preloader graphical file but whats the first step and how do I apply it. Any info would be appreciated. Regards Gary ...more >>

htmlText img tag problem
Posted by jbong at 9/2/2004 7:20:26 AM
It appears that the <img> tag to embed a a jpg or movie inside a text field only works if the text field was created in design mode? the following does display properly (text field shows blank): this.createTextField("testHtml1", 1, 0, 0, 500, 500); this.testHtml1.html = true; this.testHt...more >>

set the "return" var as onther variable
Posted by bossche at 9/2/2004 7:10:21 AM
Hi all I use MDM studio pro to get a certain value out of the registry with the following line fscommand("flashstudio.loadfromreg_str", "\"2\",\"Control Panel\\International\",\"sLanguage\",return"); This all works great. I've created a textfield that has as variable set "return...more >>

embeding fonts with HTML
Posted by dude called darren at 9/2/2004 6:35:56 AM
I have a dynamic HTML text field that is giving me grief. Despite embedding a particular font via "new font" option in the flash MX2004 library and selecting the styles for bold, and italic. Bold or Italic fonts are not rendered. So for example: if I use the following for my dynamic HTML...more >>

Dynamically load new images, text, and more...?
Posted by lightningrod220 at 9/2/2004 5:30:08 AM
I've got a new project where I need to be able to, over the long term, update images and text, kind of like a digital phonebook. New listings would need to be added in the future, as time goes on, possibly without the use of Flash. Is it possible to build a template, and have it load an extern...more >>

loadMovie / referencing array trouble????
Posted by DumNewB at 9/2/2004 4:58:11 AM
Hi all, I am loading a movie into an mc named ?Empty? via LoadMovie command (which contains 6 embedded movies)?How do I make an array containing pointers to those embedded movies (target paths)?I?ve tried heaps of different ways without any luck, this is what ive got at the moment. _global...more >>

my flv plays but the cue points don't work
Posted by aswrt at 9/2/2004 3:37:45 AM
what am I leaving out..... i have followed two tutorials to the tea. but for some reason my screens don't slide in when they are supposed to...the flv plays fine The screen has a time and the same name as the cue point in the component inspector but it does not show up......any help? ...more >>

making my code less verbose
Posted by Mrs. Nottingham at 9/2/2004 3:07:59 AM
Does anyone know how I can say this without having to repeat all the code for each movie clip? I have 16 of these movie clips (ball1, ball2, ball3, etc.) and they all need to do the same thing. If I were in Director I could say something like, case the name of ball2, ball2..etc, then "run the ...more >>

Text Color change via simple (hopefully) AI
Posted by Sky Strider at 9/2/2004 12:52:52 AM
does anyone know how to approach a situation where some text might be against a background that is a picture and has variable colors? the problem being that the text becomes hard to read if the text color becomes close to the background picture color. So the AI i want to develope (unless im to...more >>


DevelopmentNow Blog