all groups > flash actionscript > may 2006 > threads for monday may 22
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
Mathematics with three Dynamic Text...
Posted by Alexander Fabian at 5/22/2006 11:50:33 PM
Hi!... Is my first post...
I have three dynamic text:
1. Loading a .txt file with a number as <i>n.nn</i>. [Dt1]
2. Contain a number as <i>nnn.nn</i>. [Dt2]
3. Output between 1. and 2. [Dt3]
I load first number as <i>loadVariablesNum("MyFile.txt", "0");</i>...
My AS code to outpu... more >>
Mathematics with three Dynamic Text...
Posted by Alexander Fabian at 5/22/2006 11:50:28 PM
Hi!... Is my first post...
I have three dynamic text:
1. Loading a .txt file with a number as <i>n.nn</i>. [Dt1]
2. Contain a number as <i>nnn.nn</i>. [Dt2]
3. Output between 1. and 2. [Dt3]
I load first number as <i>loadVariablesNum("MyFile.txt", "0");</i>...
My AS code to outpu... more >>
Question for beginner
Posted by Dave at 5/22/2006 11:20:30 PM
Hello,
What difference between
1) _root.onMouseMove = function() {
2) this.onMouseMove = function() {
3) onMouseMove = function() {
for me it's the same :(
thank you for person can help me
Alain
... more >>
Script to receive width, height, movie url
Posted by cmmaso at 5/22/2006 10:17:52 PM
I'm a complete Flash neophyte, but despite this I've been tasked at work with
creating an actionscript for a fla file that will receive width, height, and
URL (of a .flv file) as arguments so that the file can dynamically display
video based on the arguments passed. I have to have this done b... more >>
Need simple mute button using Checkbox
Posted by Applied CD at 5/22/2006 9:46:07 PM
Hi, this is probably very simple (using MX04).
I've got an instance of a Checkbox called soundFXButton. Simple sound effects
are triggered in various frames, I want to check the state of soundFXButton
before playing each sound as follows:
if {not{soundFXButton.selected}} {
soundFX = n... more >>
Actionscript Inside Movie Symbol
Posted by r_barlow at 5/22/2006 9:22:37 PM
I'm making a flash menu that is a movie symbol. There are sub menus in this
movie that are involved in motion tweening so I made them movies as well. The
animation all works greats but the sub menus actionscript don't. Does anybody
have any information that will help me? I'm pretty new at ... more >>
Using Variable Name problem with this_x
Posted by JstMrd at 5/22/2006 7:13:03 PM
Hello to all (on a Sunday afternoon),
Briefly: Trying to load 32 movie clips (via the script below) onto the stage
(dynamically). In theory, each clip (or box) will load through a For Loop and
each name of the clip is loaded through the number created by the loop. The
problem is the x and ... more >>
contentPath not working in a loop for a Loader component
Posted by flasheister at 5/22/2006 6:37:06 PM
i'm trying to load pics into a loader in my movieclip, i'm looping through
about 20 items, to be placed in a movieclips dynamically attached...
this does not work...
mcContainer['node'+nCount].pic.contentPath=myimagepath;
this does work...
mcContainer['node'+nCount].pic.loadMovie(myima... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to remove a FLVPlayback Instance?
Posted by boxdoctor at 5/22/2006 6:27:11 PM
Hi...after searching everywhere it seems as though the best way to avoid
multiple problems with playing multiple FLV's in sequence is to remove the
FLVPlayback instance and then reattach one. Problem is....how do you do
it...ha!
I attach it to a mc using the attachMovie method as describe... more >>
flash to html to flash
Posted by skot:317 at 5/22/2006 4:45:48 PM
I've read how to send a variable TO html and how to retrieve a variable FROM
html, but how do I do this in one swoop? I'm just testing now, but I want to
send text to a variable (to html) by clicking a button in flash, then have
another text field show that same text at the same time.
I kn... more >>
dynamic flv contentPath
Posted by prisonerjohn at 5/22/2006 4:35:03 PM
Hi all,
I am writing a script that loads the path to an FLV file and loads it in an
FLVPlayback object. The FLVPlayback object is placed inside a MovieClip called
"theVideo" and has the instance name "player".
If theVideo is already on stage when the movie loads, this works fine. The
pr... more >>
Loader complete function
Posted by I tried at 5/22/2006 4:23:57 PM
I'm attempting to run some a function after the loader.complete event fires.
I've added the code as adobe recommends, but to no avail. I'm not seeing the
function fire at all. Here is my simple code:
private function init(){
var owner = this;
var listenerObject:Object = new Obj... more >>
Scoping Issue with a Function
Posted by SunSeekerNC at 5/22/2006 4:18:38 PM
Hi:
Can someone help me with a scoping issue?
SWF A is being loaded into SWF B. Currently, there's a function located in
SWF A that is triggered by a user clicking on a movieclip in SWF A. Basically,
I am trying to make it trigger from a button in SWF B, instead of triggering by
a bu... more >>
How to persist TextInput text values?
Posted by JohnKirk at 5/22/2006 4:09:11 PM
Can anyone provide a brief explanation of how to persist text values?
Description:
Stuff written into a TextInput field does not persist when moving
to another frame, and back again.
Example:
Frame 1: Put a TextInput component on the stage.
Frame 1: Put a "forward" button on the ... more >>
Combo Box Actions...
Posted by Tony Heagren at 5/22/2006 3:55:22 PM
Hi All,
I've got a combo box with a list of countries.
How can I tell Flash that if the user chooses any
country other than Virgin Islands for instance, to then make a
load of the other (irrelevant) form elements invisible ?
something like
if combo != "Virgin Islands"
isp._visible = fals... more >>
highlight color
Posted by icarusdown at 5/22/2006 3:06:25 PM
help!
how do you change the highlight color of the selectable text from black to some other color
thank you!... more >>
How to create an Array which holds numbers ?!?!
Posted by _EnergiE_ at 5/22/2006 2:59:19 PM
I must be going mad...
I just write:
var directio:Number=1 //or any other number
var someArray:Array=new Array( 1, 0, -1, 0);
var deltaX:Number = anyNumber*someArray[directio];
trace (deltaX);
and this returns NaN !!
I tried even creating a numeric variables and then put them in t... more >>
adjusting time zones
Posted by sun4none at 5/22/2006 1:53:27 PM
okay people! emergency here! have to set up 2 clocks.. one showing New Jersey time and another showing Indian (Calcutta) time! how??? thank you!
... more >>
Removing specific items from a list
Posted by animee at 5/22/2006 1:50:58 PM
Hi all,
i have the following problem:
I have a list component on stage.
I have 10 Items in the list , selected index is 5.
Now i want to delete all the items above 5 (6-10).
I think an array would be a solution but im not so kind with this so i need
your help.
Thank you
Simon... more >>
Scrollpane Hassle
Posted by marshall_man at 5/22/2006 1:45:52 PM
Hi,
Sorry if i discribe this poorly!
Basicly I'm creating a flash CD ROM interface to which i want to use small
draggable 'windows' to display small external swf's that i'll call in using
actionscript.
This works fine if the 'window' movieclip which contains the scrollpane
compon... more >>
Form problem with less than (le)
Posted by marceldeboer at 5/22/2006 12:01:10 PM
I have a form, when users push the next button there will be some input field
checking before the user is realy going to the next page.
Now I want to check if the zip code (Netherlands) is not less than 6 postions.
In the begining I used this code:
if (zipcode_txt.text eq "") {
resul... more >>
Multipage form problem
Posted by atho83 at 5/22/2006 1:43:50 AM
Hi there i am creating a multi-page form. when the user clicks next to go to
the next page of the form i need it to go to a particular frame depending on
which radio button is selected. eg: if radio button 1 is selected go to frame
2, or if radio button 2 is selected go to frame 3 etc when the... more >>
Problem with accessing a button that is inside an attached movie clip
Posted by Lifeasalounge at 5/22/2006 1:24:20 AM
I have a button which is inside a movie clip. This movie clip is attached when
the movie is loaded. I have a function that looks like this:
obj3.onPress = function () {
startDrag(this);
this.swapDepths(this._parent.getNextHighestDepth());
};
This function controls the actions take... more >>
Adding Number On Event
Posted by ONG Sam at 5/22/2006 12:00:00 AM
;)
Good Day All:
Much of my appreciation if someone my help on this - which I believe is easy
to those expert... :)
I manage to create the onPress based on text field but if I applied to number,
it doesn't seem working. The code is as simple as:
if a number if pre-assign to a and/o... more >>
How do I create a title, that behaves like a button?
Posted by rohai at 5/22/2006 12:00:00 AM
Hi,
I'm using XML to load data from asp to flash. Here's the XML example:
1. <?xml version="1.0" encoding="iso-8859-1"?>
2. <news>
3. <item>
4. <headline>Flash XML Based News reader out today!</headline>
5. <date>05/09/1986</date>
6. <messag... more >>
Action script help
Posted by nish123 at 5/22/2006 12:00:00 AM
Dear all,
I am a total beginner to action script. I would like to know some tips on how
to cretate geometry such as a circle, box, ellipse etc on click of a button
using action script?
Thanks in advance.
nish123
... more >>
How do i mute & play and embedded .flv file?
Posted by original hooligan at 5/22/2006 12:00:00 AM
i've got a movie with and embedded .flv file in it. i can play/pause it no
problem, and i can mute it with the stopallsounds commande but i can't get the
audio to play again afterwards. is there another way?
any help would be much appreciated.
... more >>
Identify Current Frame
Posted by boardgamegeek at 5/22/2006 12:00:00 AM
Hi guys. I have a small problem which I can't seem to solve.
I have a timeline that has two movie clips. The first is called "Questions"
and uses Math.floor (Math.random() to show a random frame and therefore a
random question.
The second movie is called "Answers". What I need is this se... more >>
|