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 > april 2005 > threads for friday april 1

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

createTextField not working from swf in swf?
Posted by mcpalmer at 4/1/2005 11:38:28 PM
I've got a problem getting some code to work when a swf is loaded from another a swf - the code is in a little content management section of a site that uses textfields created at runtime with data loaded into them. Here is a sample of the code: wintext.loadTitle = function(){ var loa...more >>


XMLSocket Problem
Posted by arjahan at 4/1/2005 11:10:12 PM
Hi Guys I create a Java Listener for my XML Socket and its work fine without any problem. Then I write a flash application (MX Pro) to send my page variables to my XMLSocket server. When I run flash file (.swf) it work fine and send the variables to XML listner server even when I double click...more >>

Button that downloads ZIP file in same directory?
Posted by tallscot at 4/1/2005 11:08:20 PM
Hey everyone, I have a Flash banner I'm doing and there is a button at the end. Clicking the button is suppose to download the 'project server2.ZIP' file from my client's server, in the same directory as the banner's .SWF file. This is so basic, I know. Sorry. :) I realize there is a space ...more >>

Share Library not loading symbols
Posted by majohnst at 4/1/2005 10:22:07 PM
I am trying to use a shared library in my movie and dynamically load a symbol from that movie using action script. I created by shared library (shared/page.swf) and set all the export settings according to the Macromedia documentation. I am linking them at run time, so the library url is "...more >>

Linking to scene
Posted by chrisauman at 4/1/2005 10:16:47 PM
I am building a simple presentation with a 'remote control' module to jump between sections. I have set the controller module and all its elements and I made it into a symbol. I am making all the links within the symbol to make updates easy in the future. I am trying to set up each of my prese...more >>

AS 2.0 class instantiation problems
Posted by wjmp at 4/1/2005 7:55:18 PM
I'm working with 2.0 classes and I'm having a hard time getting 2 instances of the same class to work independently of each other. I'm dealing with 1000s of lines of code so a copy/paste is beyond the scope of this question. Basically what is happening is that the second instantiation ends u...more >>

Problem with checkbox component label and word wrap
Posted by sbickSubscript NO[at]SPAM bellsouth.net at 4/1/2005 7:52:33 PM
I'm trying to create a checkbox using a checkbox component that has a multiline label, wraps, and allows me to set the amount of area between the label and the right edge of the check box (where the checkmark is placed in a square). The problem is that rollovers cause the text to redisplay nar...more >>

hitarea?
Posted by microes at 4/1/2005 7:39:37 PM
i have found that hit areas work on movie clip buttons without code why is this and is such usage of hitarea safe...more >>



Something wrong with preloader??
Posted by CougarTheCat at 4/1/2005 6:37:30 PM
Hi, I am wondering if anyone see anything wrong with the preloader code below? My movie loads audio swfs this way and, occasionally, for some people, the movie stalls at a one of the points where it checks if the audio swf has preloaded. This has never happened on my machine (movie running ...more >>

How to format a number as 233.99 ? Like prices
Posted by adrianTNT at 4/1/2005 5:53:35 PM
Hello. I have a variable, value is always number, this is a price, I want it to always be formated as 222.44 so that it has 2 characters after the dot. If price is 234.56 it looks ok but if it would be 234.00 then it only shows 234 , I want the 2 characters after the dot too. I think is so...more >>

Emergency font question
Posted by plavi_tribali at 4/1/2005 5:15:40 PM
:confused; Hi. I have come up with some really annoying font problem. My goal is to enable the serbian latin letter typing in the input textfield, so here goes the question: HOW TO ACHIEVE THAT??? I tryed a dozen of things, but, since I'm writting about this problem, it is certunely ...more >>

What is taking so long when hitting back on browser
Posted by Diltron3000 at 4/1/2005 4:57:12 PM
My application calls on the user selected database table to pull in variables for movie construction. I have noticed that the more I pull in the longer it takes if I want to exit the flash part of my web-application. I have a built in exit button which works the same as back on the IE browse...more >>

load scalable images to empty MC
Posted by Diltron3000 at 4/1/2005 4:54:24 PM
How can I load images to an empty movie clip or to the loader component of varying sizes? I can expect all the thousands of photos that will be added to my application to be correctly sized nor do I think they should have to be. Why can't I define scalable = "true" when using loadMovie (or s...more >>

What's wrong with this script?
Posted by _EnergiE_ at 4/1/2005 4:52:14 PM
Hi everybody! The script is supposed to generate 50 stars for my game but it doesnt work. star_mc is the movie clip I'm trying to multiply and it has to have different dimensions and X-Y position "game" is the label for the frame the game begins at the whole script is in the previous fram...more >>

myvars.sendAndLoad question
Posted by Nixy at 4/1/2005 4:43:31 PM
I need to load multiple variables from asp page. What is the right way. Many Response.write or onother way? Is there a way to load an Array from asp code? Thanx...more >>

DataGlue Question
Posted by tucano at 4/1/2005 4:35:44 PM
I have a class that triggers a flash remote component, it returns data, but when I attempt to use the DataGlue in a method within the class. I keep getting an error. There is no method with the name 'DataGlue'. ...more >>

HOw would I load this script on the bottom most level?
Posted by caslon1975 at 4/1/2005 4:30:06 PM
Is it possible to load this code to the bottom level? createEmptyMovieClip("dots1", 0); dots1.setMask(mask); createEmptyMovieClip("dots2", 1); count = 0; onEnterFrame = function(){ if(Math.random() > .5){ parent = dots1; } else { parent = dots2; } var dot = parent...more >>

Please help with the buttons actionscript
Posted by Ryatsuix88 at 4/1/2005 4:27:57 PM
Hello, I am having trouble getting my buttons to work. I had a movie called "about_mc" inside the "over" state of the "About" button. It is a total of 50-frame movie that ends on frame 25; and it SHOULD start playing frame 26 as soon as the mouse rollout of it. Basically, my buttons will look ...more >>

can i do this using flash withou remoting?
Posted by Gustavo Thiesen at 4/1/2005 4:13:30 PM
hello, i have a problem here... i have too large images and this images are being used to do some animations... and there are common animations in the site... there many sections in the site too... and my question is: how to do a swf library that i can get one object without to load an en...more >>

getIndexOf for combobox ?
Posted by ashar2005 at 4/1/2005 3:35:10 PM
I have a combobox which gets populated from data that constantly changes, so the indexes of the data,label pairs are never the same. I want to be able to setSelectedIndex to the index of the item in the combobox that has a certain value.... i.e. this is example of populated combobox index d...more >>

Set bounds to an Alert message
Posted by afroma_n at 4/1/2005 3:30:13 PM
Hi! I have a flash application that runs in a html page. The dimensions of the page are 1024 x 1000. At the bottom of the page I have some radiobuttons so the user can answer some questions. If the user tries to go to the next question, and haven't yet answered the one on screen, a alert appea...more >>

Is the focus model half baked or is it just me?
Posted by MichaelBlum at 4/1/2005 3:24:27 PM
I'm trying to use flash components to emulate a windows application environment. It is VERY important that components can have focus when the movie first loads and that tabbing order works just as it would in a windows application. So far I'm running into two problems: I can't for the life ...more >>

Dynamic Text Box
Posted by klaforc at 4/1/2005 3:14:36 PM
Hi, I have a database connection in actionscript, and I am trying to generate the headers text boxes for the display of the data. I have to generate the boxes on the fly since I do not know how many I will have. I am trying the following code: //create some formatting for our text box ...more >>

Stop movie from reloading
Posted by uridiscence at 4/1/2005 2:55:15 PM
:confused; There has been a post for this topic before, but no one replied to her. I am having the same problem. I have an animation that plays before it displays my main menu. I don't want that animation to play everytime the user returns to the main menu. I know that there is script that I n...more >>

Music off on link
Posted by Chris J at 4/1/2005 2:49:01 PM
I don't know if this can be done or not. I can't figure it out. I have a music bed on the flash movie. I want the music to stop when a link is clicked (it opens an html page in a new window) and then star again when the other window is closed. Any suggestions? thanks, cj ...more >>

Opening URL On Final Frame Of A Movie
Posted by Zombie_Overlord at 4/1/2005 2:34:11 PM
Hi all, I've used Flash in the past, so I'm familiar with the user interface for the most part, but I'm completely new to ActionScript, so any help with this would be most appreciated: - What I've doe is created an animation in 3D Stdio Max, and exported it to 200 individual JPG files...more >>

linking to a label inside a swf file?
Posted by Brian at 4/1/2005 12:13:02 PM
Is it possible to link from one page to a point(frame label) on the timeline of a swf file on another page? I have a linear animation, which basically has two parts, an intro and the home page. When you first come to the home page, I want to play the whole animation. I also want to link to ...more >>

External movies swap...
Posted by -Garou- at 4/1/2005 12:08:45 PM
Hello everybody! :) I have a site to complete asap, but I'm stuck at the very beginning... :( I have this scene where I have to load five external swfs as in the scheme below: | A | B | C | D | E One (A) is the main image to show and the other four (B,C,D,E) are just thumb...more >>

Random Image On Refresh
Posted by Rai_Kane33 at 4/1/2005 12:07:12 PM
I want to be able to load a random image into a container with my movie every time someone presses refresh can any one point me in the right direction ??...more >>

forms
Posted by macca242424 at 4/1/2005 11:35:39 AM
Hi i am using frommail.ppl for my form script, how do i point my submit btn to this, does it require alot of actionscript? Thanks Craig...more >>

Placing movie clips randomly on load
Posted by bexlhoward1 at 4/1/2005 11:20:12 AM
Hi, I need to pace the same movie clip randomly every time the movie is loaded. The duplicated movie clip will be STATIC, does anyone know where I can find a tutorial for this? the only ones I can find involve moving movie clips or external files? Thanks Bex. ...more >>

bytesLoaded Button
Posted by HUDBL at 4/1/2005 10:30:12 AM
I am using Netstream to play an flv and would like to have a 'Click to play' button appear after a certain number of bytes are downloaded. Does anyone know how i'd do this? Many thanks if you do. Dave ...more >>

Help with preloader!
Posted by some1_caring_4u at 4/1/2005 9:58:48 AM
Hi all nice people out there! Pls tell me how do I make the preloader show how many percentage were already loaded. Thanx a lot! :)...more >>

loadmovie wont'work with value from array.
Posted by LilMissie at 4/1/2005 9:51:23 AM
flash mx, actionscript 2.0 I have an XML file, in where there are 12 occurences of foto's. Those are loaded in the array correctly. _root.arrayMetFotos ( array with links to pictures). This code does not work. Typeof returns string temp = _root.arrayMetFotos[randomNummer].value; mo...more >>

XML Unicode Content
Posted by C22 at 4/1/2005 9:36:16 AM
Hi board, I have a strange problem with the integration of unicode content from a XML file. First my XML File: <?xml version="1.0" encoding="UTF-8"?> <test> <test1>test ??? &auml;</test1> <test2>\u304B\uD55C\u6C49\u05E2\u03BB\u20AC</test2> <test3>&_#26757;&_#20811;&_#...more >>

Urgently need help: buttons & actionscript
Posted by Ryatsuix88 at 4/1/2005 7:23:26 AM
Hello, I am in desperate need for help in buttons and actionscript. I am making a flash site with four buttons. When you point your mouse over the buttons, there should be a 25 frame animations and come to a "stop()". I also make the animation for the buttons when you roll away, which is a ...more >>

Dynamic Text 2
Posted by davidprovost at 4/1/2005 7:17:38 AM
I recently posted a topic about adding and subtracting numbers from dynamic text, but I forget to ask how do you let a certain dynamic text field not go over a certain limit. Lets say a man had health, and you didnt want it to go over 100 , how would this be done? ...more >>

I need desperate help! please!
Posted by Moustache_Man at 4/1/2005 7:12:45 AM
I am working with Flash MX and I am trying to make a pause and play button. I can make the pause one OK by putting the script as on release, stop and on release, stopAllSounds but the play one I cant get the sound back. the animation returns to normal but the sound just stops completely. Can s...more >>

Dynamic Text
Posted by davidprovost at 4/1/2005 6:47:34 AM
Say I have some dynamic text called money, I want money to add 10000 when a certain button is pressed...what script would I put in the main timeline for this to accure?...more >>

Dynamic Colors
Posted by barbedwire103 at 4/1/2005 6:36:04 AM
I have a flash banner that i wan the text to change color when the user scrolls over another movie instance. I have programmed the movie to make the alpha property change on certain instances but i dont know how to make the color change. Is this possible? I have black text, which i actually ma...more >>

Stage Listener works with errors
Posted by bullfinch at 4/1/2005 4:11:09 AM
Hi friends ? There is something wrong with my Stage Listener. . . ActionScript codes create (1) a 20-button slide bar menu, (2) two slide-control stationary buttons on the bar ends, (3) a rectangular mask to display the sliding buttons between stationary buttons, and (4) a stag...more >>

help needed on validation on input
Posted by renzz at 4/1/2005 3:44:23 AM
hello i need help on my project game. Scenario: A random movie clip (a bullet consisting of a five digit number on it) will zoom pass the flash screen in a fast speed. Player will then be required to key in the number he/she saw into the TextField. If player's input is correct it will goto ...more >>

Converting an HTML form to flash
Posted by wjay3 at 4/1/2005 3:37:30 AM
<form method="POST" action="http://www.aardvarkmailinglist.net/sub/account_manager.php?action=add" target="_blank"> <input type="hidden" name="cid" value="988"> <input type="hidden" name="cqid" value="GQW"> <input type="hidden" name="lid" value="535"> <table width="400" border...more >>

Converting an HTML form to flash
Posted by wjay3 at 4/1/2005 3:35:01 AM
:confused;...more >>

Target Path
Posted by profesora22 at 4/1/2005 3:15:49 AM
I have loaded a swf (heart.swf) into a movieclip (placeholder_mc) using loadMovie. I am trying to control a movieclip on the main timeline of the loaded swf file (heart_mc). I cannot figure out for the life of me the target path to control the movieclip. Please help. Thank you :) ...more >>

_lockroot
Posted by html in flash at 4/1/2005 2:59:48 AM
Since I now have a preloading swf that loads my main movie, it would be oh so convenient if I had known about _lockroot from the start and didn't have to always test the main swf using the preloader swf. Anyway... on the main timeline of the loaded movie clip, I have the line: this._lockroo...more >>

LoadMovie bytesLoaded not working in Safari
Posted by Rob DiCiuccio at 4/1/2005 2:38:16 AM
Hi everyone, Having another Mac-related issue with the Flash Player, in Safari this time. It seems that setting up a progress monitor using setInterval() for loading external JPEGs via the loadMovie command is not working correctly in Safari on Mac OSX (v1.2.4 on OS 10.3.8). Here's the c...more >>

goto random frame
Posted by martinstaceyuk at 4/1/2005 2:36:34 AM
Hi. i have a quicktime movie that i've converted to a flv and imported into flash. the movie is a line drawing on, and in the movie there are 4 points with exactly the same frame, but then the line goes on to draw something different. when the movie gets to certain points, say frames 40, 80, ...more >>

I Really Need Help with My Flash Movie Intro
Posted by jeff262 at 4/1/2005 2:19:46 AM
I am using flash mx and have created a flash movie with buttons and links to different pages. When I visit my website it loads halfway throught the index then says http 404 not found, and it is saying it cant find the other buttons linked pages. I do not want it to load the other pages, I wa...more >>

Projector loading external swfs
Posted by miker17 at 4/1/2005 12:10:02 AM
How can one load external swfs into a projector file? LoadMovie works fine when the shell is a swf, but does not load external swfs from the projector file....more >>


DevelopmentNow Blog