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 > january 2006 > threads for wednesday january 4

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

Reset scrollbar when content changes
Posted by alanwallace4 at 1/4/2006 11:57:15 PM
Hi, I have a dynamic text field with a scroll bar. When i click a button a different .txt file is loaded into the field. The problem is that if i scroll down the text and get to the end of it, then click a button to load another bit of text in the scroll bar is still left where it is and ...more >>

button to go between scenes isn't working
Posted by Lerbekmo at 1/4/2006 11:43:10 PM
Hi there, I've created a flash file that contains 9 different scenes. In each scene, I've got the buttons that should enable the viewer to flip between each of them, but my code isn't working. This is what I'm using... can anyone help? on (rollOver) { gotoAndPlay("Scene1", "btn1"); } o...more >>

morph text to text on the fly?
Posted by mowges at 1/4/2006 11:26:59 PM
I'm very new to flash and I am just beginning to understand how it works and seeing what's possible. Can anyone tell me if it's possible to morph one text string into another as I get those strings? I will be searching for specific text from a database and I will receive the answer. I wo...more >>

delete function impossible
Posted by yker30 at 1/4/2006 10:44:11 PM
I have this function to load a firebar in level one in my game... function level1assets() //this is level 1 function { this.attachMovie("fire_mc", "fire_mc", this.getNextHighestDepth()) _root.fire_mc._x = 400; _root.fire_mc._y = 300; _root.fire_mc.sign=1; _root.fire_mc.onEnt...more >>

loadVariablesNum problem
Posted by mcclard at 1/4/2006 10:11:07 PM
i have a mc that is loaded onto the stage. in that mc there is a form. i am using loadVariablesNum() to send the form to an asp page. the problem I am having is for some reason when the mc is inside of another mc it wont call the loadVariablesNum() function, but if i place it on the _root ...more >>

Adding a prototype to a base class
Posted by VoxEcho at 1/4/2006 9:45:31 PM
I am attempting to add a prototype to my String object but for some reason it's not working. however i've used the same way of prototyping for the Array object and it's worked just fine, any thoughts? String.prototype.strpad = __strPad; var g:String = new String("GABBAGABBAHEY"); trace(...more >>

Loading a URL Into a Movie Clip?
Posted by AstralProjection at 1/4/2006 9:27:22 PM
I am for some reason not coming up with a way to load a URL on or into a Movie Clip so the URL only loads into that area. Or if there was another way to load A URL In Flash to anchor to one point on the page actionscript or whatever? Please Help :disgust; ...more >>

can't get email form to pass variables to php
Posted by marthalove at 1/4/2006 9:12:53 PM
I have a code from another site that was free and when I copied/pasted the frames and actionscript from the original .fla into my new .fla somehow the original AS doesn't work with my movie. I'm using Flash 8 and the original .fla was built with Flash MX 2004. If i use the original "feedb...more >>



random play
Posted by standal at 1/4/2006 8:34:58 PM
I have two main animations that play in my movie (this will be on the web). I would like for the movie to randomly select one of the animations and play from that point on when a user goes to the page each time (or simply refreshes). I tried to do something like with an if statement and ran...more >>

Killing an actionscript tween
Posted by threeships at 1/4/2006 8:21:30 PM
Hello, I am referring to the tutorial available here: http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Documented/i ndex.shtml Basically, I was wondering if such a tween can be stopped mid-way before actual compleition... so if I've set it an object to move from 0 to...more >>

Is there anyway to load MSN messenger from Flash?
Posted by DangerDom at 1/4/2006 8:20:28 PM
I would like to script a button to load either someone's default IM program or MSN Messenger directly with a email address already in the "to" section, musch like the html code to email someone from a webpage. I am relatively new to Flash and am using MX. If anyone can help me I would greatly ...more >>

Loading an image
Posted by gilmok at 1/4/2006 8:09:27 PM
I'm new to Flash development. I'm simply trying to load an image into a BitmapData object and display it. To do this, I've isolated the code in the BitmapData sample (tutorials directory) that loads an image and displays it. Then, I have copied it into my project. Here it is: var liste...more >>

External text/html
Posted by daliangelo at 1/4/2006 7:43:29 PM
So I have an external text file and I want to add html code to it. How do I do this? I looked it up but don't understand it completely. I know I press the "render text as html" button in the properties, but other than that what do i do? This is my code on the frame: loadText = new l...more >>

button actions in a frame
Posted by BullocksTroy at 1/4/2006 7:37:46 PM
i have several buttons and i want to put their actions in a frame. basically, just onRelease - gotoAndStop("framelabel"). what is the script for this?...more >>

Leaf name; action script error
Posted by IFEguy at 1/4/2006 7:21:05 PM
While exporting the swf we come across an error dump and the exported swf file doesnt display anything. Can anyone shed some light. The error dump actually had 11 errors, i entered just 1 below since they all seemed to be the same just on a different lines. **Error** C:\Projects\customer...more >>

selecting a specific line in a dynamic field...
Posted by bso_71 at 1/4/2006 6:55:37 PM
How do I select a specifc line or lines in a dynamic text field. I want to select line 1 and 2 of a specifc dynamic field (text1_txt) and put these lines into a second dynamic field (text2_txt). Then after 4 seconds have passed I want to put line 3 and 4 of my first dynamic field (text1_txt...more >>

jsfl file problems
Posted by sinanurun at 1/4/2006 5:54:38 PM
i have a code like this and doesn't work proper when i execute the jsfl file nothing happens to any library object i try i wanna batch the exportforAS for the files in the library can anybody help me for this problem please fl.openDocument("file:///C:/Documents and Settings/Administrat...more >>

getURL variable confluct
Posted by RobertBarry at 1/4/2006 5:45:53 PM
Hi! I'm trying to use the getURL command and the POST method to send variables to a 3rd party webpage. This webpage has a certain set of variables that they require, one of which is called "add". I'm running into difficulty with this, because the add command is obviously a built in function...more >>

FLV playback
Posted by minnenewbie at 1/4/2006 5:29:36 PM
I'm using the following code to play my FLV file. I got it working fine locally, but as soon as I play the .swf file from it's "http://..." location, it will no longer play my .flv files. I've tried calling the file as "test.flv" and as "http://pub.psbpr.com/cheerioke/finalpages/test.flv" I'm ...more >>

download file from a projector?
Posted by timdiacon at 1/4/2006 4:46:52 PM
Hello, I am creating a cross platform projector using flash. The projector will have a scrolling text box which needs to then have a button which enables the user to save the document as a word file to their computer. Also I need to link images on screen to hi-res versions, again to be sav...more >>

browse harddrive - file upload
Posted by stephan.k at 1/4/2006 4:25:41 PM
Hi everyone I am creating a fileupload in flash 8. Everything works perfectly. The only thing is I'd like to restrict the selection of the files in the browse popup window showing the harddrive, to one file only. Meaning I would like the user to be able to upload only one file at a tim...more >>

function not being called
Posted by Leeburstroghm at 1/4/2006 3:57:49 PM
I have functions like this one on frame 1 of my root timeline that gets setup when my movie starts: function doA(){ _root.navMenu.A.NewY = this.A.OrigY; _root.navMenu.A.gotoAndStop(1); _root.navMenu.B.NewY = _root.navMenu.B.OrigY+_root.navMenu.Control.AH-_root.navMenu.Control.Butto...more >>

Buttons inside Movieclips
Posted by daliangelo at 1/4/2006 3:42:07 PM
I have a movieclip with buttons inside and I used the following code on each button: on(release){ _root.gotoAndStop("home"); // "home" is a frame label } All of the destinations are marked by frame labels applied to each scene. And this works fine except when you press the button...more >>

How can I control the depth of a clip in stage
Posted by adrianTNT at 1/4/2006 3:36:47 PM
Hello. Is there a function that allows me to control the depth of a clip that is already in the stage? I know that by attachMovie() you can set the new clip depth at that time but what if clip is manually placed in stage, can I change its depth? Thanks. -Adrian. ...more >>

layers and actionscript
Posted by Sha8 at 1/4/2006 3:33:31 PM
Hi I don't want any layers in the root level of this project. Plese tell me if these clips are playing in a different level or in the root. I have a GUI that i have built in the root but would like the clips to sit inbehind the border edges of the GUI. Right now it appears to sit on top. I...more >>

buttons for previous/next frame
Posted by BullocksTroy at 1/4/2006 3:15:28 PM
I am making a cd version of a catalog in Flash. each product will have a page devoted to it. i have a navigation bar with "previous" and "next" buttons, so that the viewer can click and see the last or next product that comes alphabetically (the pages are ordered alphabetically in subsequent...more >>

Tracing the actual object reference
Posted by Norbertofh at 1/4/2006 2:44:37 PM
Hello, How do I trace the actual reference of an object (variable)? I want to see the actual address at the VM of a particular instance (something similar to the output of a class in Java without the toString method). Best regards, Norberto ...more >>

createEmptyMovieClip
Posted by IwannaFlashU at 1/4/2006 2:03:40 PM
This is my first attempt at creating an empty movie clip with AS during runtime and the creation is successful, as well as loading external swfs into the empty mc, but I cannot get my functions to be applied to these movie clips. Generally speaking, this application is a CBT delivery platf...more >>

Input Fields and Enter
Posted by Gandalf059 at 1/4/2006 1:34:58 PM
I have a problem which I hope someone can assist me with. I need to use an input field that allows a user to type in some text. Once the text is input, they need to press the Enter key on the keyboard which will then move them to frame 1 in a new scene. My knowledge of actionscript is limited ...more >>

Using for...in with an array
Posted by boyBacon at 1/4/2006 11:54:56 AM
Hi All, I have an array similar to the one below: my_array[0] = 0 my_array[2] = 25 my_array[10] = 100 (the values in between are undefined) I want to trace the values contained in the array using a for...in statement like the one below: for (var j in my_array) { trace (j+" =...more >>

[Help] + Flash Game + Seesaw effect
Posted by csj16 at 1/4/2006 11:23:42 AM
I am busy with a flash game at the moment, I have finished everything EXCEPT for the character movement. I have 2 characters and a seesaw. When the one character jumps down onto the seesaw then the other one flies up. If you don't understand then take a look at this game... http://www.ca...more >>

Pound symbol in dynamic text
Posted by Mr Spoonbill at 1/4/2006 11:17:33 AM
Hi Folks I am out of ideas in terms of how I can allow a pound sterling ? symbol to display in dynamic text. I have got around this problem before somehow by selected the text box and entering a value into the "character" dialogue in the properties panel. Any ideas would be much ap...more >>

opening an HTML file from flash...
Posted by batgirl_Sa at 1/4/2006 11:16:16 AM
here is the thing.... i want to develop my intor and home page using flash and then when i click on an item from the menu in the flash movie i want a new HTML window to open up with the information... a good example is this site... http://www.fbleopold.com anyone have any idea how to do...more >>

Loading Variables
Posted by worrier34 at 1/4/2006 10:48:38 AM
I created a flash movie thaT it loading variables from a text file.The movie is working good alone.But it does not load variables when i put the movie on a html page.How can i solve this problem?...more >>

methods
Posted by mrsrowe at 1/4/2006 10:40:58 AM
Hello I don't do much with actionscript, but I'm playing about with listeners at the moment. I want to make something happen with I click on a button so I tried this. openURL_pb.addEventListener ("click", openURL_pbListener); var deleteURL_pbListener: Object = new Object (); delete...more >>

duplicateMovieClip AS 2 check please
Posted by eliptus at 1/4/2006 10:12:30 AM
Hi... a novice scripting question I would love an answer to. This code is modified ever so slightly from a FlashMX example. The problem I have is that it validates fine for AS2 but does not create the multiple duplicates it should if compiled for any version of flash player above version 6...more >>

Code conflict, x cordinate problem with MC?
Posted by Brian at 1/4/2006 9:16:53 AM
I am using the following for the alignment of my movie on the stage. The MC is called wrapper. //determinse the position of the wrapper function wrapperCordinates(){ wrapperX = (Stage.width/2)-(wrapper._width/2); wrapper._x = wrapperX; } stageListener = new Object(); stageListen...more >>

using swapDepths
Posted by Brian at 1/4/2006 8:17:31 AM
I am trying to swap the depth of two movies. I am loading content into these and would like to switch the content from one movie to the other. So when all is done with this, I would like content that was in top to be in bottom and vice versa. This how I am trying to do it: //swap names and dep...more >>

problem with loading images with actionscript
Posted by heart ways at 1/4/2006 8:07:53 AM
hello there ppll. the problem is with loading images , when using a fast internet i get what i want which is a good dispaly of the images with fading. images are loaded from an xml file. but when using a dialup the images some times fails to load or takes for ever to do... yes the im...more >>

Drawing using Actionscript
Posted by meeesta at 1/4/2006 7:55:22 AM
Hullooo. I was looking at generating a navbar using an animation... in this case I thinking of little square generating the effect... my problem is I have a resizing stage sooo I'd have to do a large animation to try and cover different sizes that the stage maybe resized to. So I look...more >>

dynamic easing
Posted by sobo679 at 1/4/2006 7:09:59 AM
would anyone be able to describe conceptually or be able to give an example of some dynamic easing with flash? right now i am using messy messy if/then statements to control rate of movement depending on position of the object, but my intuition is that there is a more efficient and effect...more >>

Uploading files
Posted by sai1 at 1/4/2006 4:45:08 AM
Hi all, Im wondering izit possible to upload files in flash file? den save to database, so that when i open the flash again, i will be able to see the updated file. For eg, i wanna upload a.jpg to abc.fla, den close the fla. after that, i open again, the a.jpg shld be still there. Po...more >>

flexible flash layout
Posted by microes at 1/4/2006 4:43:37 AM
i'd like the contents of my swf aligned "TL" to reposition itself on the resize of any browser window here's an example of what i.m aiming for only my swf is aligned top left }}} http://www.rigsbydesign.com or http://www.gskinner.com/site2_5/ any help would be appreciated Attach C...more >>

Button Sounds Overrun - HELP!
Posted by ferrari250 at 1/4/2006 4:33:36 AM
Novice (but not green) script user has a question. I am building a website with multiple buttons each with sounds (approx. 10seconds) that play from the frame in the button timeline; Button1, Button2, Button3, etc - 5 inall. When the user rolls over the Button1 - sound plays, great. When...more >>

Script breaks when publishing for 8
Posted by howdesignworks at 1/4/2006 3:40:08 AM
I'm customizing an FLA that works great when published to version 7 or earlier. But I get an error in 8 and have to publish it for that version (because of the video codec I'm using). While I'm an Actionscript newbie, I do know the code attempts to duplicate a movieclip to create a pseudo VR e...more >>

Custom Cursor for a Single Movie Clip
Posted by l810c at 1/4/2006 2:59:36 AM
I want my Cursor to change only when it goes over a certain movieClip pal_mc. I can get this working any number of ways. What I cannot do however is click buttons on pal_mc. I have searched here and Google and have tried 30-40 different combinations of techniques and cannot get it to work. ...more >>

One text box scrolls another
Posted by descom at 1/4/2006 1:43:19 AM
I'm trying to use the text in a scrolling text box (actually the scroll pane component) to cause text in another text box to scroll to desired locations. The left-hand box is a list of the client's board members and I'd users to be able to click on a name to scroll to a specific bio in the rig...more >>

getUrl
Posted by sai1 at 1/4/2006 1:04:14 AM
Hi all, I want to make a button that can click to go to another html page. I found this code but I cant quite understand. Can anyone help me? on (release) { //getURL ("m02.htm"); getURL ("javascript:htmlRandom('m02.htm','self')"); } Hope to receive ur reply soon. Thank you. ...more >>


DevelopmentNow Blog