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
all groups > flash actionscript > february 2006 > threads for tuesday february 14

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

MovieClipLoader help
Posted by esplwebdesign at 2/14/2006 11:41:18 PM
I am following a tutorial on kirupa.com, but it uses MovieClipLoader, and MovieClipLoader.onLoadInit. This is only available from Flash 7 / MX 2004, but I only have 6 / MX. Can I download the MovieClipLoader object, or is there another way to do it? Thanks in advance, Shai ...more >>


Looping thru array
Posted by pickle jar at 2/14/2006 11:27:54 PM
Hi all, I am fiddling with some code I found for a jigsaw. I am stuck on how to check that all the pieces are in the correct position. I created an array to show all the correct _x values of the targets, but stuck with how to create an array and add to this array every time a puzzle p...more >>

printing multiple pages from a dynamically loaded text field
Posted by targetplanet at 2/14/2006 11:24:55 PM
I recently had to impliment printing of the content of a textArea that was dynamically populated. The first problem I ran into was how to access the textArea for printing. I quickly avoided that problem by populating an off stage text field with the same data. I placed that text field in ...more >>

Defining loadMovie() content from a text file...
Posted by Centerpoint Computer at 2/14/2006 11:24:32 PM
Let's say I wanted to have a gallery of pictures loading images from a folder using loadMovie();, but I wanted the "image.jpg" filename to be defined in a text file which would have a list of pictures. How would I setup the text file and how would I insert each line of the text file into a...more >>

addEventListener
Posted by d00mc0ck at 2/14/2006 11:08:49 PM
Hiya, Im trying to create an event listener for different buttons on my stage. The button im trying to listen to events has an instance name "but" the code i have is //////////////////////////////////////////////// myListener = new Object(); myListener.pclick= function(evt){ if(...more >>

if for movie clips
Posted by arianegame at 2/14/2006 10:57:50 PM
Helpmeeeeee I am making a little game. i need put a conditional that when all the movieclips (bolas) are visibles go to the next frame. Like if the all the movieclips are visibles so go to frame 2. I dont know how can be the sintaxis mistake: if (bola, _visible, ...more >>

opening a new browser window...
Posted by bso_71 at 2/14/2006 10:29:59 PM
How can I open a new browser window and call a specific html file? Can I open this new window with a specific width and height through action script? Thanks for any help received, Brenda S. ...more >>

html in text fields
Posted by codescodescodes at 2/14/2006 10:05:52 PM
I'm using html in my text field and I wanted to know which tags are supported. Can someone point me to a resource or a reference that lists all the html tags that are supported in Flash?...more >>



Sending Listbox.getSelectedItems to php
Posted by don Carlos at 2/14/2006 8:56:29 PM
I've got a six item multi-select listbox on a form. All elements of the form send successfully to a php form except the selected items. LiveDocs uses a separate array to store the items. I then try and produce a string. Nothing I try results in anything but an undefined. Here's the script...more >>

action script mail form using php
Posted by icarusdown at 2/14/2006 8:06:29 PM
i have a server - supports PHP... i made php flash mail form based upon (sending mail with PHP) http://www.gotoandlearn.com/index.htm the problem is that php is not sending variables from flash. it only sends empy subjects (name, email, message) the funny thing is that i tried this on ...more >>

Pause button to stop all movie clips
Posted by jayman2000 at 2/14/2006 7:53:06 PM
Hi, I have a slide show presentation that I need a pause button for. The problem is that I have movie clips embedded in other movie clips for each slide. If I do a simple movieClip.stop() , then it will only stop movieClip's timeline and not the timelines of the embedded clips. Can I tell ...more >>

PHP, Flash and XML?
Posted by esplwebdesign at 2/14/2006 7:46:14 PM
Can I do: test = new XML(); test.load("a_php_file_that_is_valid_xml.php"); In Flash MX? It doesn't seem to be able to load a PHP file that echo's valid XML!...more >>

Naming Array dynamicly
Posted by Gerrard at 2/14/2006 7:37:45 PM
Hi Everybody! I've loaded a XML file and I need to organize the content from this file into Arrays. My question is how to dynamicly create these Arrays in a for loop using the init part of the Array's name? Is it possible? thanks ...more >>

Help with _width property?
Posted by esplwebdesign at 2/14/2006 7:32:16 PM
Hi I have the following: mc = _root.createEmptyMovieClip("test", 0); mc._x = 10; mc._y = 20; mc._width = 30; mc._height = 40; trace(mc._height); But all that gets traced is a 0! I can trace mc._x and mc._y, but mc._width and mc._height are both 0. Why is this? Thanks, ...more >>

New movie jumps to wrong frame
Posted by Snej at 2/14/2006 7:16:00 PM
I have split my long movie into 3 pieces and have them loading when the previous finish. Problem is to make a jump from (for example) movie 1 to movie 2 frame 800. Then loading movie 2 it just starts much earlier than frame 800. In movie 1 I am using: on (release) { stop(); loadMovie("...more >>

SCROLLPANE
Posted by alien4m_mars at 2/14/2006 6:09:17 PM
why doesnt this code work??????? nothing happens sombody please help this.attachMovie("ScrollPane", "mcScrollPane", this.getNextHighestDepth()); mcMovie.contentPath("01.jpg"); mcMovie.setSize(200, 200); ...more >>

FlashJester - Jugglor - JSystem - fileexists
Posted by boyBacon at 2/14/2006 5:27:21 PM
Hi all, Using FlashJester's Jugglor & JSystem for the first time and getting stumped. I'm building an application that wants to check if a file, test.txt, exists. I have a class called Login which extends MovieClip (for reasons best left unmentioned) which contains the fscommand: ...more >>

Flash Authoring classpath
Posted by sneskid at 2/14/2006 5:25:53 PM
im a little confused about this Authoring classpath, can i make up this location anywhere on my hd? how do you reference the location from java Does it have anything to do with the "Edit > Preferences > ActionScript > ActionScript Settings" box? I am trying to get the Flash JavaScript In...more >>

content displaying outside of scroll pane
Posted by Finty at 2/14/2006 5:25:46 PM
I am adding a linked movie clip from the library to a scrollpane component. This linked movie clip does not contain anything except a page of actionscript containing a function that loads thumbnail movie clips when invoked. The problem i have is that the thumbnails seem to be displaying ou...more >>

Previous/Next buttons not loading images
Posted by Fatmat at 2/14/2006 4:32:21 PM
I have a movie that loads external JPGS but the code for the buttons seem to be not working. on the previous button I get an error: /WESCAM%20Flash%20Presentation/aircraftimages/fwNaN.jpg" when what should be happening is it should be loading the JPG in a decending way (fw6.jpg, fw5.jpg, fw4...more >>

How to remove spaces from a string?
Posted by fludd at 2/14/2006 4:22:48 PM
I can't find this- it must be easy. I have a string "my new string" that I need to rid of spaces so that it is "mynewstring". Please tell me how in Flash 6. Thanks....more >>

Move instance of a MovieClip to a new Level
Posted by brooklynconcept.com at 2/14/2006 4:07:56 PM
I am trying to move an instance of a movieclip that exists in the root level, to a new level. I have tried: this.swapDepths(_level9); //--- Trying to put my instance of the movieClip into _level9. Level9 is a movie that is already loaded. But I realise that we can only swap depths wit...more >>

setInterval() repeat problems....
Posted by Crandom at 2/14/2006 3:56:21 PM
I need to make a timer that counts down from 3 to 1 with an interval of 1 second between each number. I tried this code:- function startCountdown(){ clearInterval(inter); countdown--; if (countdown == 0){ clearInterval(inter); } else { object_text.text = countdown; var ...more >>

minimize/maximize button
Posted by JesperBisgaard at 2/14/2006 3:16:03 PM
Hi, I have an application which runs fullscreen in the flash player and would like to have a minimize and a miximize button inside my application which not only affects the swf file but also affects the flash player. Can anyone give me a lead on how I can accomplish this? Regards, ...more >>

Quiz Template (pass or fail)
Posted by dvsteve at 2/14/2006 3:03:24 PM
I am trying to add some code to the practice quiz at to display a PASS or FAIL message apon completion. I have tried putting code in the QuizGlobalClass, and on the final frame. I thought I was using the script... if (percent_correct >= 70){ createTextField("passscore_txt", 1, 170, 292,...more >>

Recieving Parameters
Posted by prakharbirla at 2/14/2006 2:44:01 PM
Hi, I want to recieve params in QueryString format (i.e. eg.swf?test=eg). I tried using a Dynamic Text box, but when i try to use in value in getUrl() method, it generates some error i.e. the URL is not proper. If any one have an alternative please help me. ...more >>

external jpg not loading
Posted by Fatmat at 2/14/2006 2:42:23 PM
Although my paths are correct for loading external jpgs into a movieclip instance they for some reason are not showing up in my movie? Any ideas? The codes are correct it's almost like a bug....more >>

Image Scroller Hit Area Control
Posted by dj pharaoh at 2/14/2006 2:36:33 PM
I have a horizontal image scroller loading into my main movie as an external swf. It's the classic type where moving the mouse left or right scrolls through pic thumbs to the left or right. The scroller works perfectly except that if you move your mouse out side of the blank mc holding the sc...more >>

another unloadMovie question
Posted by rdemlow at 2/14/2006 2:01:26 PM
Here's the situation: I'm working on a set of tutorial videos for a software product. Part of the system is a "Basic Skills" video which will be an external swf file containing 5 or 6 basic computer skills we expect the user to understand (so we don't have to explain them each time they co...more >>

onRelease
Posted by jonnybennett at 2/14/2006 1:18:15 PM
Okay if I have a function called eBtn.onRelease=function(){ .............do whatever ............. ;} How can I run this function wihtout the release of eBtn. for example I have another btn called sBtn. sBtn.onRelease=function(){ //Here I want to execute ebtn function but how....more >>

MC with MC in it, not working right.
Posted by Brian at 2/14/2006 11:30:20 AM
I have a MC with another MC in it. Both have RollOver and Out actions attaced to them. I would like the parent MC to keep it actions, but not show the the finger/hand for a button, while I want the child MC to act just like a button. The parent MC has the following AS for it: infoTab.onRol...more >>

Font Question
Posted by stephan.k at 2/14/2006 2:40:58 AM
Hi Forum I am working on a new machine and I have transferred all the files. but when I open the project it appears that the font myriad is missing. However Myriad is available for photoshop on the same machine. What do I need to do so that flash sees the myriad font? Any advice ap...more >>

netstream
Posted by kyle mcknight at 2/14/2006 2:38:56 AM
i'm trying to get progressive downloading to work. i have it all, except that i tried to go for the gold and wanted to be able to also allow a slider for a user to go through what has been downloaded already and play through that. here is the code that pertains to the whole dragging of the sli...more >>

fscommand showmenu false
Posted by frexx at 2/14/2006 1:07:13 AM
I am creating a projector and using the fscommand "showmenu" as false (fullscreen false also). When I do this, it creates extra pixels on the top and bottom. Any way to work around this while not being able to view the menu? Thanks in advance - Darren fscommand("allowscale", false); ...more >>

Looking for Calendar help or tutorial
Posted by flashForum at 2/14/2006 12:40:15 AM
The dateChooser component in Flash is cool, but upon further investigation there appears to be a lack of useful information. I want to be able to click a date and have a text box, or several text boxes populate with data of my choosing. Where can I find information on this? I've seen the Ma...more >>

loading an swf into a level from a text file
Posted by vrish88 at 2/14/2006 12:14:44 AM
I have a .txt file that I load into a text field and was wondering if it was possible to load a swf from that text file. ...more >>

How to relate classes to dynamiclly created MovieClips?
Posted by YohaiR at 2/14/2006 12:00:00 AM
Hi, I'm createing MovieClips dynamiclly using createEmptyMovieClip() method and I can't think of a way to relate them with my class. I mean, At runtime. So how do I do that? thanks.:wine;:confused; ...more >>

Duplicate Movie
Posted by Mirko NETIT at 2/14/2006 12:00:00 AM
Hi everybody.... i have a numeric variable TOT. i've a button and i want to duplicate this button TOT times in my scene... and possibly give the a position X as (TOT*mybuttonheight)+mybuttonspace. how can i do this? thanks a lot.. Mirko ...more >>

Can anyone explain this
Posted by beyondthebrand at 2/14/2006 12:00:00 AM
My swf file in an html document likes to show everything first for a split second then hide the neccessary items and start the tweens etc? anyway here is the script and link to the page: Link: www.totalamber.com/default3.htm script: // set visibality of descriptions mcInvestmentD...more >>

DateField Component to Variable
Posted by Zimmer at 2/14/2006 12:00:00 AM
Hi, I have built a form in Flash with a couple of datefields so that users can enter a Start date for their booking and an end date. How do I get the values to show up as variables so that I can get a PHP script to email them to me? Hope someone can help. Cheers. Zimmer. ...more >>

Using variables with XML in Array
Posted by lergo at 2/14/2006 12:00:00 AM
Hi I am trying to get a for-loop to create two (or more) XML variables. I want to use the loop so that I don't have to repeat my code. Repeating code that works: var cBlock01:XML = new XML(); cBlock01.ignoreWhite = true; doLoad(cBlock01, parentID, 50); /*2*/ var cBlock02:XML = new...more >>

changing colour of scrollPane component....
Posted by tony at 2/14/2006 12:00:00 AM
Hello Anybody know how I can change the colour of the scrollPane border? Or remove the border completely? It would be a big help Thanks Tony ...more >>

GoToAndPlay
Posted by Gabi Dorobantu at 2/14/2006 12:00:00 AM
Is something like this: Scene 1 Symbol 5 sprite 65 and I want to stop at sprite 65 at frame 18 ...more >>

disabling Actionscript on the MovieClip
Posted by b_pandey at 2/14/2006 12:00:00 AM
Hi Guys, Just like to check how can i disable the actionscript applied on the movie clip. i have tried. the script i have on the frame, which comes into effect on after the timer has finished 10 second _root.mc_txt4.mc_play.enabled = false; something like this..... Key.removeLi...more >>

scrolling buttons
Posted by gatesey at 2/14/2006 12:00:00 AM
Hi. I want to create a scrolling strip of buttons with an arrow at each end to reveal more options, I have included an example of what I want to achive in this url: http://www.swervephotography.com (go to one of the photographers pages) Previously I have used this code: on (press) { MCn...more >>

html in text fields
Posted by codescodescodes at 2/14/2006 12:00:00 AM
I know you can embed html tags in a text field, but are all the tags supported by Flash 8 Professional? If not then where can I find which tags are supported? Can anybody point me to this kind of resource? ...more >>

Problem with loading dynamically generated mp3 sound in Internet Explorer
Posted by kopoba at 2/14/2006 12:00:00 AM
I have a problem with loading dynamically generated sound in Internet Explorer. I'm test this file in FireFox - it work correct. In IE flash load all file but not play it....more >>


DevelopmentNow Blog