all groups > flash actionscript > may 2007 > threads for thursday may 31
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
creating array
Posted by dzedward at 5/31/2007 10:18:30 PM
if i want to create an array of MC, so that i can refer to it instead of
referring to every single MC when i want to enable=false how would i go about
this.
var btn_ar:Array = new Array ("seminar_mc", "success_mc", "how_mc",
"leverage_mc", "what_mc");
btn_ar.enabled = false;
is not w... more >>
Need help with a few things
Posted by Shad0wdrag0n at 5/31/2007 9:22:11 PM
I need some help with a few things for some flash games I'm working on. I'm not
even sure if the things I need help with are possible to do in flash. If they
are I'd really like some help figuring out how to do them. The first thing I
need help with is creating an rpg style inventory. What I h... more >>
Efficient way for making many enemies
Posted by Gooms9 at 5/31/2007 8:56:59 PM
Hey, i'm working on a game right now where I want around 40 or so animated
enemies on screen at a time. Is this even possible with flash? Right now i'm
starting to get slowdown when I have 15 or so on screen and they're not even
animated yet. This is how i'm doing it at the moment.
funct... more >>
How to Pick Color from Image
Posted by atlkhan at 5/31/2007 8:21:43 PM
Hi
I am opening a jpg image in a webpage. I want to click at a point on the image and get the value of the color of that point and display. Can someone please hellp me how I can do it.
Thanks... more >>
set property after loadClip
Posted by jgomula at 5/31/2007 7:54:49 PM
Hi Community!
I am trying to use loadClip to randomly load in an external SWF (this part
works great) and then to adjust the alpha of the loaded clip (ultimately I'll
have the alpha adjusted according to the level the clip loads on, so different
clips will have different alphas). Can't see... more >>
zooming with a fixed registration point
Posted by burritobot at 5/31/2007 7:41:26 PM
I have a scrollbar that I use to adjust the x and y scale of an MC. The problem
is, it scales relative to the upper left corner (0,0) registration coodinates.
Is there a way to change these coordinates, so it is always scaling relative
to the center position of the viewing window, without ha... more >>
is it possible to load .swfs on top of scrollpane
Posted by bb73 at 5/31/2007 7:29:35 PM
I have a scrollpane that links to a movie clip in my library that holds about
40 buttons. I'm using the scrollpane since the layout doesn't have enough room
to show them all at once. This way the user can scroll down to see all the
names. These buttons have the names of various articles on ... more >>
Function Call
Posted by Semantica at 5/31/2007 7:23:15 PM
Hi all,
For some reason I am unable to get my function (updateFields) to be called.
Any suggestions as to where I should look? Here is my code:
private function rectCalc() {
//calculates the coords of the drag point (set to 1 above and below min/max
// so the border fits inside t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Server/Client File Comparison
Posted by Revalis at 5/31/2007 6:16:40 PM
We have recently been updating a lot of our older flash files but have had
clients reporting that they still see older versions of the updated files. So
we have to walk them through dumping their cached files and returning to the
site.
Is there a way to use actionscript to compare cached s... more >>
Please Help
Posted by alterego123 at 5/31/2007 5:17:24 PM
Im new to actionscript so naturally im struggling. Here's the script then ill
explain the problem....
onClipEvent (enterFrame) {
this._x = this._x-7.5;
if (this._x<-1550) {
this._x = 450;
}
}
This MC consist of a series of buttons that move across my screen from right
to ... more >>
Remove Movie Clip
Posted by elearningdiva at 5/31/2007 4:59:09 PM
I would like to have the user click on a button or movie clip that takes them
to a new scene with multiple questions on it, and depending on what answer they
choose, come back to the main scene and the button be gone, and replaced with a
graphic (that won't have any function). I thought I cou... more >>
Can't get mouse events to stop trickling down
Posted by theWoosh at 5/31/2007 4:30:25 PM
Hi Folks - I'm sure this is simple but I just can't see it... and would
appreciate some help.
I have a bunch of buttons on top of an active movie clip (ie it responds to
mouse clicks). When I click on one of the buttons, as well as the button script
being activated, the script below on the... more >>
Pass Param to Eventhandler
Posted by vDiaz761 at 5/31/2007 4:27:55 PM
Hello All,
Is there a way to pass parameters to even handlers? I have the following code:
function onLoaderComplete(event:Event):void{
loader.alpha = 0;
timer.addEventListener(TimerEvent.TIMER, fadeInLoaderTimer);
timer.start();
}
function fadeInLoaderTimer(event:TimerEvent):v... more >>
Why no Tree component for AS3?
Posted by MCR at 5/31/2007 4:22:33 PM
Why is there no Tree component when working with an AS3 based Flash 9 file?
Kevin... more >>
Reset the Value
Posted by swodiddy at 5/31/2007 3:25:10 PM
I have a Number:textinput component on the stage with a default value of 20 and
a label component next to it. If a user types in a number >= 51 the label
displays "Maximum is 50". My question is: How can I reset the textInput back to
the default value if a user types in a number >= 51? Here is... more >>
how to pass Status and location for bookmarking in flash using FSCOMMAND
Posted by interactive eye at 5/31/2007 2:41:08 PM
Dear All,
I am developing a eLearning course using flash 8. I have done the SCORM 1.2
packaging with all the supportive files. In flash i have done the following
code for FScommand value passing for Location and status.
The follwing code is in the first frame of my flash file to get val... more >>
Simulate an Event
Posted by smazr123 at 5/31/2007 2:31:20 PM
Is there a way to get an event to run from actionscript? For example if I have
a Mouse CLICK event registered with a movie, and I want it to be run. I know I
can just call the function that the event calls, but I cant pass the event
object.
... more >>
Gambling game advice
Posted by SlickRik at 5/31/2007 2:08:45 PM
Hi guys,
I've just been asked to create an online gambling game in Flash.
And to be honest, i don't know where to start and can't find much (if any)
info out there.
Is there a standard proven direction to go in, certain technologies that work
best for this type of project.
Known issues... more >>
LoadVars
Posted by meshhats at 5/31/2007 2:04:56 PM
I'm not sure why this won't work. Perhaps someone on here could help me out.
I have 4 buttons (code from 2 of them below) a user can select from. After a
user makes 100 selections, I would like to send the results to a php file. So,
I need to record the results of each selection and after ... more >>
list component skin or style problem
Posted by thorhammer at 5/31/2007 1:09:31 PM
I am building a scrolling list that pulls data from a xml file, and binds the
data to a list component
I am trying to figure out how to change the look of the list component.
I need to create a rounded backgound for each list item and I would like to
use a symbol for this.
I can't find ... more >>
Flash IDE or Flex?
Posted by phil.swenson NO[at]SPAM gmail.com at 5/31/2007 11:58:38 AM
I have a question for those in the know... We are a shop of Java devs
and would like to implement widgets that look like the google flash
widgets they've been using in various apps (for example:
http://finance.google.com/finance?q=aapl or the graphing widgets you
see on Google Analytics).
So ... more >>
Moving an object across a stage with Action Script
Posted by kryha at 5/31/2007 8:26:22 AM
I want to move my object from left side to right then when it reaches
the right edge of the stage I want it to play again from the left
edge.
It seems very basic , but I am still new to the Action Script concepts
and have a difficulty to program it the righ way.
I will appreciate any help
... more >>
Dealing with preloaders is Flasch CS3
Posted by OlandoCR at 5/31/2007 4:08:05 AM
Dear all,
I need your help to deal with preloaders in Flash CS3. After reading some
comments in other forums, I still do not have clear how to proceed.
This is the situation.
1. I have a project (flash project) which loads dynamically movie clips (from
now mc) to stage.
2. Those ... more >>
Can't remove clip
Posted by evil_muffin_man at 5/31/2007 2:55:27 AM
I can't kill it! :confused;
I have a library clip with a window UI object in it. I place the attached code
into the window.
Now another script attaches the said clip into the storyline. When I click the
'close' button, it says "clicked" and tells me the object I'm trying to remove
does... more >>
new at ActionScript - on(release) question
Posted by groovemonkey64 at 5/31/2007 2:41:55 AM
I am new at this, so forgive if i am overlooking something simple.
I am using CS3
I want to make a replay button at the end of a short movie.
I made text object replay?
made it into a button
set a key frame
selected the button on the stage.
tried to add this to the actionScript e... more >>
I need a appilcation for a "sorter"
Posted by Ashpotter at 5/31/2007 2:20:43 AM
I am trying to make a flash movie that has a bunch of buttons. On the click of
one of these buttons, the value of one of four variables increased by a
specific amount. At the end, the one with the biggest value determines the
object shown on the last frame. It is basically is a sorter to see w... more >>
Change text value of TextField on Stage
Posted by nITiNkIlLeRmEeRuT at 5/31/2007 12:00:00 AM
I have created a dynamic textfield on Stage without any instance name. In AS
file i want to change the text value but unable to do so. Can we do it in this
way.??
package {
import flash.display.Sprite;
public class Test extends Sprite {
public function Test() {
trace(this.getC... more >>
form submission thrugh flash
Posted by mathyoo at 5/31/2007 12:00:00 AM
I have a form with this code:
form id='mailinglist_form' method="post" action="http://url.com/index.php" >
<div>
<input type="hidden" name="XID"
value="2d23601ce3401a2c2c643a5e9f66b26318ef07d9" />
<input type="hidden" name="ACT" value="3" />
<input type="hidden" name="RET"
value="htt... more >>
problems with getURL and local frame targeting in FP9
Posted by west_one at 5/31/2007 12:00:00 AM
I have a two frame page - the left frame is a custom flash Tree object that
parses an IMS-compliant manifest (basically a tree menu structure) and the
right frame displays the loaded page/object in that manifest. If i run this
from a server, it works fine and displays all links in the right fr... more >>
|