all groups > flash actionscript > may 2005 > threads for thursday may 12
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
Calling function with a variable for function name?
Posted by blckbrry at 5/12/2005 7:15:55 PM
Hi,
For some reason this always gets me. I would appreciate it if anyone can sum
up what to do here:
I need to call a parent function using a variable name for the function.
I thought this would work, but I guess not:
var goToLoc = "myFunction()";
_parent[goToLoc];
Thanks!
... more >>
Loading and unloading level movie probs
Posted by csa at 5/12/2005 7:09:24 PM
I'm using the following script on my flash movies to load swf movies into
levels:
but1_btn.onRelease = function() {
loadMovieNum("letterB.swf", 1);
};
unbut1_btn.onRelease = function() {
unloadMovieNum(1);
};
stop();
This script works fine on the first movie load but on the sec... more >>
How to disable all instances of a particular button
Posted by karma-lab at 5/12/2005 6:59:59 PM
I'm sure this is easy, just haven't found how to do it.
Say you have 4000 instances of a particular button used in a movie, and you
want to disable all of them from being clicked based on some other button. How
can you do this?
... more >>
Flash Banner
Posted by Colacola at 5/12/2005 6:32:06 PM
Hello Guys.
I have made a flash banner, that is related to jobs, and i want some kind
of animation like a man walking through the screen carrying a bag in his hand,
but not a cartoon image, i need a real image, can somebody help me out of
this, or give me some solution for this. Is th... more >>
Scroll movie using actionscript
Posted by redl3tt3r at 5/12/2005 5:32:17 PM
Greetings,
I am atempting to create a website that is one long image, but only part of
the image displays.
I have 6 "pannels" that create the image I want to creat a menu that when you
click it will scroll over to the selected pannel.
Example.
You are viewing panel 1 and want to g... more >>
How to :button change color after it has been clicked
Posted by Alikat at 5/12/2005 4:38:51 PM
How do you make a button change color after it has been clicked to show the user that it have been clicked. This is different from a button hit state. It needs to stay the changed color after clicked.... more >>
XML Loading and Displaying
Posted by hugomendonca at 5/12/2005 4:21:50 PM
Hi.
I'm trying to load XML into a Dynamic TextBox and nothing happens. I have a
frame that has a movie clip named "containerMC". In that clip there is a
Dynamic TextBox. That textbox is associated with a variable named "daTextBox".
Associated with this movie "containerMC" there are this ac... more >>
registration point
Posted by scottPadgett at 5/12/2005 4:00:51 PM
Hi
I'd like to move the registration point to a different position within a
movieclip for ease of position calculations and so that scaling occurs around
the specific point within the clip. I can't figure out how to do it. I
thought you just dragged the white circle that appears when u... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
having problems with dynamic text
Posted by ecuafencer at 5/12/2005 3:45:45 PM
I am doing a project where I need information to display when I roll over a
certain element in the movie. The information to be displayed is in various
text files, one for each element in the movie.
My idea was to make a custom cursor that would display the information when
the mouse was ove... more >>
TO DAZFAZ (the master) or anyone who can fix it...
Posted by peter.remans at 5/12/2005 2:49:47 PM
i made a buttonmovie with two frames and a button on each frame.
frame1: pausebutton
frame2:playbutton
ok so i put this code on my root buttonmovie action:
onClipEvent (load) {
pausedSymbol._visible = false;
playSymbol._visible = true;
_root.play();
}
onClipEvent (mouseDown) {
... more >>
Input field on complete focus problem
Posted by PUB|indigo at 5/12/2005 2:44:52 PM
The problem i'm having is that i'm building call center systems in flash to use
in online training. I can get these to work and do what i want except for one
thing, this is switching the focus of the text field once it contains the right
amount of characters for that field as it would do in th... more >>
Depths, I dont understand!
Posted by complexity at 5/12/2005 12:00:00 AM
Hi all,
In my FLA I have a menu and main content inside a MC. The menu is in a layer
that is higher than the content.
In my menu I am loading a submenu like
this.attachMovie("topnav_menu2_4", "topnav_menu2_4_mc", 1);
And the content I am loading is like
this.attachMovie("book1", "boo... more >>
MovieClips
Posted by khosting at 5/12/2005 12:00:00 AM
Hello,
I am building a site that is made up of several movie clips that will lay on a
background. When the visitor click the "About us" button on the navigtionbar
I want the content to load in the middle frame (graphic) and when the visitor
click the contact on the button on the navigati... more >>
Load external movie into target movieclip
Posted by redl3tt3r at 5/12/2005 12:00:00 AM
Hello all,
I am having huge troubbles loading and external swf into a movieclip.
Onace i get that to work I need to be able to define the size the loaded swf
displays can anyone help???
-redLetter
... more >>
Syntax help: if (/Input:end ne "1")
Posted by eddiec at 5/12/2005 12:00:00 AM
I'm working on somebody else's Actionscript software which includes the
following line:
if (/Input:end ne "1")
I've never seen this syntax with the leading "/" -- then a variable -- then
the ":end".
What does it mean?
Thanks much,
Eddie
... more >>
Open html window with no address/status bar from flash
Posted by lukecinchinteractive at 5/12/2005 12:00:00 AM
I am trying to open a html browser window from flash. I want to open it without the address/status etc bars so it is just a borderless window.
Any ideas
luke@cinchinteractive.com... more >>
Passing variable from FLASH to PHP
Posted by Lifeasalounge at 5/12/2005 12:00:00 AM
I'm trying to pass simple variables from flash to php and vice versa. I have
come accross so many different ways that i don't know which one to use.
I have a flash movie and i have a php script. I want variables to pass to the
script a few times a second, then the php script sends the values... more >>
textfield focus oddness
Posted by dubya at 5/12/2005 12:00:00 AM
hey everybody! :)
i'm creating a textfield like this:
_container.createTextField("_textfield", 0, 0, 0, 100, 100);
_textfield.type = "input";
then reassigning a few of its props:
_textfield.onSetFocus = function() { trace("set") };
_textfield.onKillFocus = function() { trace("ki... more >>
removeMovieClip(); removing 2 mc in the one event
Posted by complexity at 5/12/2005 12:00:00 AM
Hi all I am trying to remove 2 mc son the one press, but it will only remove
which ever mc I put first. Could someone please show me how to program to
remove both.
on (press) {
_root.content_mc.mwepp.book1.removeMovieClip();
_root.content_mc.mwepp.disable2_mc.removeMovieClip();
}
... more >>
test to see if any buttons are selected
Posted by ^}{yPeR^ at 5/12/2005 12:00:00 AM
Hey all,
Im an authorware programmer, learning flash and trying to get to grips with
the different syntax. I need to test the radio buttons to see if any are
selected if they are then I need to jump them to another frame, this is the
code I have at the moment. it doesnt seem to work, how... more >>
Video not showing up using NetStream
Posted by 4werd at 5/12/2005 12:00:00 AM
I'm attempting to use NetStream ActionScript to display video in the
mediaDisplay component.
I am no able to see the FLV file being played but I can hear it.
My publish settings are set to Flash Player 7 with ActionScript 2.0.
All my attempts with the NetStream code has resulted in no ... more >>
Can you create script aat runtime?
Posted by Blade al'Slayer at 5/12/2005 12:00:00 AM
Can script be created at runtime like the eval() function in php, for
example? The Flash eval() function cannot do that, but is there other way?
--
Blade hails you...... more >>
Managing timeline using javascript
Posted by dendronica at 5/12/2005 12:00:00 AM
Hello all, can anyone tell me, if is possible, how manage the timeline of an swf file using javascript ?
... more >>
BackGround ALPHA=0
Posted by Mr Speed at 5/12/2005 12:00:00 AM
I'm trying to use window transparent option to make the background of a swf
transparent, it wont work, tell me more please.
The goal it's to visualize the table background, across the swf background.
Thanks
... more >>
moving between frame labels in different movieclips
Posted by lkelly1030 at 5/12/2005 12:00:00 AM
I am having a problem with moving between frame labels in different movieclips.
I have one movieclip called practice that contains 4 frame labels. I have
another movieclip called attorneys that has 6 frame labels. I want to click on
a button from the attorneys movieclip and have it take me to... more >>
loadMovie
Posted by maxaron at 5/12/2005 12:00:00 AM
Is it possible to load and keep the framefrate from one move to another?
Ex: my main movie have 30fps and the movie i want to run with loadMovie are
100fps and i want to keep the framerate on the imported movie inside the 30fps
movie
... more >>
Using Key Listeners
Posted by Battletards at 5/12/2005 12:00:00 AM
Hi, smart and helpful people!
I'm looking for advice on how to handle keydown/keyup functions.
I've been using "key listeners" for my current projects, and i'm somewhat
unsatisfied. specifically, i don't like how if you hold down a particular key,
it will keep sending that key over and over... more >>
text to bold...
Posted by yn at 5/12/2005 12:00:00 AM
Flash MX (NOT 2004)
heh, ya sorry. i just KNOW there is a simple explanation.. but in the
actionscript dictionary, I'm having a hard time "getting" it. no clear
example, as least to how i THINK the process is.
basically, i just want to updated a text property on a mouse event. from
re... more >>
Making flash menu control html pages?
Posted by spedox at 5/12/2005 12:00:00 AM
I want a css styled page be controlled by a groovy flash menu. The menu is
dynamic and I want the menu items stay open when a new page is loaded. I also
want the flash menu only load once, because it's graphically quite heavy.
Further I wish to have no javascript and if possible no iframe. I d... more >>
PLEASE HELP yourg student
Posted by whitewaterrobbie at 5/12/2005 12:00:00 AM
Hi, I was wondering if any flash savy people could help me out...
At school, in my flash class, I type the following code into the educational
version of flash..
.... if ( Key.isDown(Key.SPACE) and (bullet_mc._x>550) )
{
bullettimeconstant=0;
_root.attachMovie(bullet_mc,2);
bullet_m... more >>
Can Flash open director files or HTML window inside flash?
Posted by alex5050 at 5/12/2005 12:00:00 AM
Can Flash open director files or HTML window inside flash? I want to put 3d object (java or shokwave) inside flash, in a little inside window, can i do that???
thanks.
... more >>
Is it ok to leave traces in the final swfs?
Posted by complexity at 5/12/2005 12:00:00 AM
Hi all,
Just wondering if it is okay to leave all of my debug traces in the final swf. Or are they taken out automatically etc, as they obviously dont appear.
???... more >>
Navigate to a specific frame on the main timeline from media clip
Posted by aakearns at 5/12/2005 12:00:00 AM
I'm having a little difficult with a process that I think should be simple and
I was hoping you could give me some advice. Here's my situation (I'll try to
keep this basic): I am building an interactive CD and I would like Frame 1 to
represent Page 1, Frame 2 to be Page 2 and Frame 3 to be pa... more >>
Loading MP3 before playing animation
Posted by WIZZEGROUP at 5/12/2005 12:00:00 AM
I'm on building a site intro and I have a basic understanding of how to attach
an MP3 file using Actionscript. What I need is a way of loading the music in
and once the music has fully loaded in, it plays the animation.
I've had a go myself but the music starts playing halfway through the
am... more >>
can't connect to anything but local drive
Posted by jason211 at 5/12/2005 12:00:00 AM
anybody know why I'm not able to connect to anywhere but my desktop using
netConncet?
here's my code:
------------------------------------------------------------------------
var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream = new Net... more >>
Using conditional statement's to open menu
Posted by plaouplezm at 5/12/2005 12:00:00 AM
I have a 3 button menu bar that's suppose to open and close when the user
clicks. it works fine the first round, but after the buttons are pressed once,
the bar freezes. Can anyone tell me what I need to change? Here's the code
I'm using:
------------------------------------------------... more >>
How do you make a preloader?
Posted by newgroundspreloader at 5/12/2005 12:00:00 AM
:wine; howd u make a preloader???... more >>
V2 Component / Live Preview Trouble
Posted by SMakinson at 5/12/2005 12:00:00 AM
I am looking for some help with separate live preview swfs for the V2
components. I came across a problem after compilng my component. Before that I
could change my properties on each individual component from the property panel
and they would update individually just fine. After compiling whe... more >>
Jump to page number script
Posted by Pip057 at 5/12/2005 12:00:00 AM
Is there a way to take an entered number in the text input component and have the timeline jump to a specific point and stop. i.e. picking the page they want and going to it.
Thanks... more >>
Using loadMovie for images + dragging
Posted by Grinshtein at 5/12/2005 12:00:00 AM
My file contains a box which I can drag. I've set the dragging boundaries to be
the edges of a particular movieclip. The movie clip contains an image which I
have placed there using the import feature. When I drag the box, everything is
fine - and it is constrained to the inside of the moviecl... more >>
|