all groups > flash actionscript > march 2004 > threads for wednesday march 3
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
changing text properties at run time doesn't work
Posted by kit_hoffman at 3/3/2004 11:37:42 PM
when I try to increment the text itself like myText._x ++; it will only move
one pixel! it wont keep moving like a movie clip.
I know that this problem can be solved by making the text a movie clip, but I
also want this text to fade out. when I used mytext._alpha --; the text
wouldn't fade. ... more >>
Javascript <--> Flash: communication trouble
Posted by automan25 at 3/3/2004 9:59:44 PM
On my webpage I need to be able to communicate from Javascript to Flash and
vice versa.
To communicate from Flash to Javascript I'm using FScommand.
From javascript to Flash I'm using the flashVars parameter of the Object &
embed tags. I have my page set up to dynamically write the objec... more >>
Save Quiz scores on the users hard drive
Posted by dcort0 at 3/3/2004 8:42:18 PM
I have developed a whole series of quiz?s using the Flash Learning extensions.
These are part of our CBT refresher certification program for the Independent
Duty Technicians in the US Air Force. These service people are spread out all
over the world. They could be in remote areas without inte... more >>
mouse avoidance help
Posted by JackFoley3215 at 3/3/2004 8:17:43 PM
I'm trying to make a movieclip avoid my mouse, like on this
site:http://exopolis.com. I want the movieclip to never leave a defined area
(700 x 525). I'm having a little trouble getting it to work. Here's my code:
onClipEvent (enterFrame) {
if (_root._xmouse<700 && _root._xmouse>0) {
... more >>
Streaming MP3 - Please Help
Posted by T Sugar at 3/3/2004 8:13:09 PM
I'm having issues with an MP3 sampler I've created. What is the appropriate
actionscript to get it to play the MP3 i've sourced, automatically, when the
timeline arrives at the keyframe. I'm using 'loadsound' and saying false after
i write the source but it still doesn't work.
Thanks ahe... more >>
Traking the mouse vertically
Posted by gerkintrigg at 3/3/2004 8:12:40 PM
I'm trying to get a symbol track the height of the mouse.
I don't want the user to have to drag the symbol, I just want it to adjust
it's height to correspond to the user's mouse pointer.
The other thing that may be a problem is that there's a particular bit of the
symbol that protrudes, a... more >>
variable help
Posted by kit_hoffman at 3/3/2004 8:01:20 PM
here's my problem... i'm trying to create a new variable in kind of a different
way than usual, heres what i'm doing...
"someText"+anotherVariable = 5;
I know that you can do things like..
eval("someText"+anotherVariable )._alpha = 5;
but howcome you can't create new variables usin... more >>
FlaMX Multiple Preload
Posted by Klaus at 3/3/2004 7:49:54 PM
I made an array, with 115 swfs on loadMovie.
But it doesn´t makes the real thing, wich is preloading all images;
Where is the error?
If anybody colud help me, I´ll appreciate.
Klaus from Brazil
mvsToLoad = [];
mvsToLoad.push("treasures/small/treasure-lace.swf",
"treasures/small/tifany.s... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Bullet color?
Posted by J. Alan Atherton at 3/3/2004 7:45:09 PM
When I use the bullet field of TextFormat and apply it to a TextField,
it's always black. I'd like it to be another color, say, red. I made
the TextFormat.color as red, and the text appears as red just fine, but
the bullet is still black. Do bullets allow other colors? If so, how?
Thank... more >>
at end entire movie disappears!
Posted by ldebono at 3/3/2004 7:39:43 PM
I loaded an external movie clip into an empty mc. This movie is one frame and
contains actionscript which slides a mask across the screen masking the layers
beneath. I used "if" and then the x position of the mask to control the
movement. At the end of the script it moves everything back to th... more >>
Can I make a Flash movie go to a frame from a URL
Posted by DarthMarklar at 3/3/2004 7:25:46 PM
Here's the situation, I have a flash movie that has 5 (or so) scenes. The Flash
piece is on the same page as the hyperlinks and I want to be able to control
the Flash file (i.e. jump to a new scene) based on these HTML hyperlinks. I am
trying to avoid adding the hyperlinks (as buttons) to my F... more >>
multiple flashVars
Posted by automan25 at 3/3/2004 7:03:05 PM
Is it possible to send more than one variable to your flash movie using flashVars?... more >>
html in dynamic text
Posted by clintob at 3/3/2004 6:56:59 PM
i didn't think this would be a difficult task, but for some reason i can't get
it working...
i've got a dynamic text field into which a .txt file is loaded. i set the
site up this way so the client could update the text whenever they choose, and
since they are comfortable with basic HTML ... more >>
can't create Sound objects
Posted by dorobo at 3/3/2004 5:38:19 PM
code:
_global.track1 = new Sound( this );
trace( track1 );
trace window:
undefined
strangely, it's working fine with all my other movies except this one....did I forget something?... more >>
call functions dynamically
Posted by turbomerl at 3/3/2004 5:31:58 PM
i am having some trouble calling functions dynamically.
i want to load data into pages as they are called. i therefore have a function
called initialisePage(pageName). i want to use this function in turn to call
initialisation functions for each page. these functions are called
firstConte... more >>
setMedia
Posted by Apheresis at 3/3/2004 5:28:20 PM
I'm trying to use Flash's new media components and cannot get a
MediaPlayback component to load a flv file off my web server....
Are there any tricks I need to know (cross-domain files, etc)?
the actionscript I'm using is simply:
mplayer.setMedia("http://whatever/whatever/videos/Phlytrap.f... more >>
not repeat intro
Posted by Doctor Web at 3/3/2004 5:10:54 PM
i need to know how can i do if i have 2 animations on my home page on the same
movie, this first one is an intro, when it finishes it loads a second animation
with the menu bar, the rest of the page is html, if someone is on a section of
the site for example "about us" and want to return to t... more >>
still having problems with setInterval()
Posted by geut at 3/3/2004 4:57:32 PM
the code is like this:
on (rollOver)
{
var qwer;
qwer=setInterval(this._parent.sometextbox.scroll+=1,1000);
}
and it executes ONLY ONCE. Why???
Please help... more >>
math.random.whats wrong with my code?!!
Posted by joe dc at 3/3/2004 4:51:45 PM
Why is it doing this??
What I want is for my mc to slide to a new random x position when it is less
than 5 pixels away from its target, it keeps doing this. the problem is for
some bloody &*?$(()** reason my random numbers only keep going up!! why is
this?? i want to produce random numbers... more >>
problems with setInterval()
Posted by geut at 3/3/2004 4:02:51 PM
i try doing something like this:
on (press)
{
var intervalID;
intervalID=setInterval(asdf(), 100);
}
function asdf()
{
//something;
}
but it ONLY EXECUTES THE FUNCTION ONCE. What is the problem????????
If you can point me to a working code or send one, i wou... more >>
referencing scenes
Posted by webhaven at 3/3/2004 3:54:39 PM
Hi
Can anyone tell me how to reference a scene from another scene
If you just want the next scene its: nextScene();
but what if you want to target a named scene say one called game
thanks anyone
John
... more >>
Drop-down to Input text box
Posted by charleuts at 3/3/2004 2:48:17 PM
I am trying to figure out the right way to go about this. I would like to use
a drop down box as a search component. When you drop down the list, you will
see the main categories:
Category 1
Category 2
Category 3
Upon selecting one of those, I would like to have the drop-down box
... more >>
CLEAR INPUT TEXT problem
Posted by nardove at 3/3/2004 2:31:46 PM
hi, first i'll excuse for my english
the problem is that i want to create a form when the user click on a inputtext
is clear its content and let the user write the information
i got one symbol a Movie Clip that has a input text inside
i wrote this code:
this is for the movie clip ... more >>
HTML tags in Flash 6
Posted by CPettit at 3/3/2004 1:02:08 PM
Hi.
I am having days of nightmares trying to format my HTML enabled text
feild with just the basic tags that are available in version 6.
Some things work, some don't, I'm totally confused
Currently I can get the links to work but not the target window
attribute ie target="_blank" (does... more >>
How to Play a MovieClip Backward via a Button
Posted by rmletc at 3/3/2004 12:06:36 PM
Hi all.
I have a movieclip that is a tween. It is a series of scrolling thumbnails
across the bottom. The movie clip runs when I mousover a hidden button. I want
to reverse that movieclip with another button. What is the best way to do that?
Thanks......
... more >>
How to Play a MovieClip Backward via a Button
Posted by rmletc at 3/3/2004 12:06:13 PM
Hi all.
I have a movieclip that is a tween. It is a series of scrolling thumbnails
across the bottom. The movie clip runs when I mousover a hidden button. I want
to reverse that movieclip with another button. What is the best way to do that?
Thanks......
... more >>
Masked layer does not load external text file
Posted by Flasheik at 3/3/2004 11:48:41 AM
I used a ScrollPane Component loading an external SWF file which contain
html generated textfields frloading from an external text file. I tried to
mask the scrollpane and the problems starts to appear. While unmasked
there seems to be no problem on the dynamically loaded text. Using mask on
... more >>
stop a sound from looping
Posted by cubicus at 3/3/2004 11:43:54 AM
Can someone tell me how to stop a sound from looping.
this is my script :
onEnterFrame = function () {
bus_mc._x += 20;
wave_sound = new Sound();
wave_sound.attachSound("bob");
};
if (bus_mc._x>=200) {
wave_sound.start(0, 1);
}
if (bus_mc._x>=850) {
... more >>
how to compare 3 variables
Posted by mbockwich at 3/3/2004 11:41:58 AM
Thanx in advance for any help. I built my wife a slot machine game, she loves
slots. Off stage I have a mc named evaluation that plays after the 3rd wheel
stops. I am having trouble figuring out the code to make it compare all 3
wheels. for instance, if _root.wheel1stopped = wild, and
_root.... more >>
Scale parts of an object
Posted by domconlon at 3/3/2004 11:30:24 AM
I want to scale a movieclip but keep a nested movieclip within that the same
size. Is there any way of doing this? At first I thought I could just do the
following code:
this._parent._xscale = this._parent._xscale + 10;
this._parent._yscale = this._parent._yscale + 10;
this._xscale = th... more >>
Launching .rtf or Word documents from flash
Posted by Sav at 3/3/2004 11:15:23 AM
I am developing on a Mac. I want to launch Rich Text Format and/or Word
Documents from a swf. GetURL() works when the swf is run on a PC, but nothing
works on the Mac. Can anyone help.
Cant find any extra apps on the web that are for the Mac. All those found are
PC. So really need Actio... more >>
play next 5 frames and then GoTo
Posted by eschacha at 3/3/2004 11:07:26 AM
Hi there
I have a button, which when clicked I want to continue playing the movie for
an additional 5 frames, then go to the desired location. I can do this by
having the button "play" and then 5 frames later using a "GoToandPlay". This is
no good if I have several buttons with different d... more >>
multilanguage chars in XML
Posted by mola_mil at 3/3/2004 9:55:57 AM
Hi there,
I'm trying to get some text data from an XML file with spanish characters
(such as ?, ? and so). I've tried to change the text codification in the text
editor and to use system.useCodepage = true; but it doesn't seem to work.
Thanks in advance:
Jorge
... more >>
Swapping symbols
Posted by MC Frog at 3/3/2004 9:43:28 AM
Can you swap a symbol using script? I want to use the same timeline based animation over and over again and all I want to do is change the symbol each time using script.
Thanks
... more >>
Creating a MovieClip and copying part of another clip, possible?
Posted by Mark Redman at 3/3/2004 8:52:42 AM
Hi All,
I have a movieClip which loads a jpg dynamically, is it possible to create a
new movie clip and then copy a part of the jpg into it.
Thanks
Mark Redman
... more >>
Load graphic
Posted by LEK0621 at 3/3/2004 8:43:23 AM
How can i load graphic(jpg,tiff,bit....)in swf without importing them into library?... more >>
Math opreation with DATE
Posted by LEK0621 at 3/3/2004 8:36:35 AM
hi, anyone hav idea how can i do math operation with date in flash?... more >>
ActionScripting Width, Height, X, and Y ?
Posted by simsjr at 3/3/2004 6:25:44 AM
ActionScripting Width, Height, X, and Y ?
Anyone know what actionscript is involved in changing the width, height, x,
and y data for a graphic symbol?
In the end, I want to be able to click a button to resize and reposition a
symbol on the stage - including easing!
Can anyone help??
... more >>
Unwanted mc instances
Posted by BronwynL at 3/3/2004 6:03:49 AM
Hi all
I hope I'm not posting this twice but it didn't seem to work first time.
Apologies just in case. And next time I'll copy my carefully composed post so I
don't lose it!
I have a single level movie. Frame 1 is an intro screen, Frame 2 is where I
initialise for Frame 3 which is where... more >>
just learning "tell target" help please
Posted by jeffhtx01 at 3/3/2004 2:44:39 AM
I have a button that has the following script.
on (press) {
tellTarget ("applimovie") {
gotoAndPlay(1);
}
on a seperate layer I have a movie titled "applimovie". Please don't laugh,
but is that it? Somehow I'm afraid I have missed something. Any help would be
greatly... more >>
Relative Path for Shared Movies
Posted by j_cutter at 3/3/2004 1:18:38 AM
Is it possible to used shared assets without specifying a URL but a relative
path to the shared swf file?
I am currently specifying "/SharedLibrary.swf" in the Linkage Properties
dialog boxes for both the source and destination movies.
This fails as the movie freezes on the load frame (n... more >>
|