all groups > flash actionscript > july 2004 > threads for friday july 23
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
Controlling sound speed
Posted by daddyschmack at 7/23/2004 11:54:22 PM
I'm trying to load an external .swf that loads a sound... (I'm doing it this
way so I don't have to wait to load my main movie. However on ctrl+enter
preview, the song plays way too fast... Is it possible to control this?
s = new Sound();
s.loadSound("music/track12.mp3", true);
s.setV... more >>
E Mail Form Sends Blank
Posted by paul redmond at 7/23/2004 11:28:34 PM
I have an e mail form set up using PHP. I think this is an easy fix, but i cant
figure it out.
I have 5 SWF files loading into the main SWF file. The contact swf sends a
blank message and a blank e mail address when executed, but if i go to the
individual swf it works fine. But when i lau... more >>
dynamic text colors
Posted by WickedSense at 7/23/2004 11:28:26 PM
Hi, I am creating a dynamic text field with action script. I have not learnt
how to ajust color with script.... any help?
on(rollOver){
mc1._alpha=100;
mc1.play();
_root.createtextfield("dt1",1,5,290,130,50);
dt1.color = "white"; //--This cant be right!
dt1.multiline = true;
dt1... more >>
while ( _alpha reduce )
Posted by avalanched at 7/23/2004 10:45:42 PM
like u see, whit every while loop de mc reduces with 1 _alpha
but it goes in a flash ( logical )
somebody an idea to solve this .. like it would fade in a few seconds .. not
in 1 flash
thx
Ava
on (release) {
trace("pressed");
n = 100;
while (n>1) {
... more >>
cue point and media component
Posted by SDALW at 7/23/2004 10:39:18 PM
I've developed a presentation using the Flash Slide Presentation template.
THis is what I've done:
Dragged the Media Display and Media Control to the stage.
Developed slide1 - slide 28 under the main presentation slide
Set cue points in the Media Display that correspond to the attached mp3... more >>
do I ned it?
Posted by Edwin Merced at 7/23/2004 10:30:41 PM
Im creating a multimedia project on a CD. Do I really need preloaders for
the different swfs loaded?
... more >>
Looping Problem
Posted by boushley at 7/23/2004 10:00:30 PM
Ok so I am having some really odd things happen in a piece of code I have
written. The code loops through a specified animation, depending on what you
moused over, and it is running through once, however it then stops. In order
to find where the code was going wrong I inserted some traces. ... more >>
Get URL and "Parameters Pane"
Posted by ldesigner at 7/23/2004 9:57:09 PM
Hello,
I am using Flash MX 2004. It is a bit different from Flash MX.
How can I view the "Parameters Pane" on Flash MX 2004?
How can I add the hiper link to a button? I enter the coding:
on (release) {
getURL (theURL);
}
But it comes back with an error and will not act as a butto... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Menu bar problems
Posted by Oliver Tedder at 7/23/2004 9:47:39 PM
Hello everyone,
Before my question I need to tell you that I have replied to loads of your
questions but after a few days it said that the messages couldn't come
through. Just to let you know i haven't given up altogether.
I have a menu bar and I've recently found out how to use it. Here's... more >>
Combo Box selectedIndex value
Posted by George at 7/23/2004 9:35:14 PM
Hello, I am having the following trouble:
I need to pass the value of a combo box index to a variable.
The instance Combo Box I am using is named 'menu'.
Looking over the FLash Help file "ComboBox.editable", I came accross the
following bit of code:
var ix = myComboBox.selectedIndex;
Thu... more >>
advanced rollover problem
Posted by JackFoley3215 at 7/23/2004 9:11:01 PM
I have 8 movieclips I'm using as buttons. Inside each movieclip is a tween
(changes color of the square from white to brown) that is played forward during
the rollover and backward during the rolloff. I'm also using a variable so
that when I click on one of the movieclips it it goes to the e... more >>
Play / Pause toggle button
Posted by j.e.f.f at 7/23/2004 8:43:35 PM
Hi folks
I'm relatively new to Flash and a complete green at action script. I'm trying
to build a play / pause button that switches its label each time.
Example:
User clicks the play button, associated action starts and button label changes
from " > " to " || ". Click it again, and i... more >>
placing data to a movie loaded via attachMovie
Posted by hdubfour at 7/23/2004 8:21:35 PM
I've successfully created an actionscript that can populate the stage with
numerous instances of a movie (using mc.attachMovie) as defined by an external
XML file. Each element is placed exactly where I need it, the only problem is
this: there are two objects within the mc (one is different mc... more >>
FlashMX2004 ComboBox problem
Posted by _frula at 7/23/2004 8:17:33 PM
In one SWF file I made FORM with comboBoxes and it works just fine. That SWF
I load in another SWF in empty movieClip with loadMovie method and in this
case combo's are there but I can't open them ! You can just click on them
and nothing happens, only yellow rectangle shows around combo...
Any... more >>
Help Using List Box Component
Posted by robeerto at 7/23/2004 8:13:14 PM
I have a List Box with a bunch of labels. The user can select a label using the
mouse.
But I also want to make the selection in the list box change using
actionscript. Does anyone know how to do this?
Does anyone know of a place where I can find documentation on components and
their acti... more >>
setFocus and TextInput component
Posted by skyl4r at 7/23/2004 7:58:30 PM
if i use setFocus to set the focus of a text input component box (mx 2004) the
user is unable to use the backspace & tab keys. but once the user physically
clicks on it, then it works. i've tryed
textInputbox.setFocus()
Selection.setFocus("textInputbox.label")
focusManager.setFocus("... more >>
loadmovie and using variables
Posted by batchee at 7/23/2004 7:49:13 PM
I have been searching for an hour or so, but no one seems to have a simple
answer to the loadmovie, and how you can get the loaded movie to start on a
particular frame.
I have and intro SWF that has buttons, each button loads a separate SWF file.
The SWF files all have a back button that ... more >>
Need help for text rendering
Posted by Catalin_Negrila at 7/23/2004 7:37:11 PM
Hello!
The short version of my question is: how can I render from ActionScript a text
without using the standard items (Labels, TextField, etc)? I need (if there is
such a thing) the equivalent of the Drawing API but for text, or the equivalent
of the Win32 DrawText in ActionScript.
No... more >>
Possible to set/get document properties?
Posted by HarryLove at 7/23/2004 7:16:05 PM
Is it possible to set/get document properties with AS?
I'm using one swf to load several others of varying widths and heights.
Whenever I load an external swf, the root level of the calling swf takes on the
_width and _height of the external swf. The view port, however, retains the
initi... more >>
Variable concatenation
Posted by George at 7/23/2004 6:00:47 PM
Hello,
I am trying to figure out the syntax or method to do the following:
I have a series of arrays, R0=["a","b","c"] R1=["d","e","f"]
R2=["g","h","i"] R3=["j","k","l"] etc...
I also have Combo Box as a menu (named 'menu' in the instance box), where
the index varies from 0-3 (lets sa... more >>
loadMovie and loadMovieNum in MX Pro 2004
Posted by MickyJuice at 7/23/2004 5:45:22 PM
This is my hierarchy....
_root
** - blkmov(empty movieclip, which rotating_image.swf loads into)
***** - btn1(button)
** *** - rand(movieclip)
When I load rotating_images.swf separately, using this code on the btn1, the
images rotate...
on (release) {
_root.rand.stopframe=1;
_... more >>
trying to set a time delay
Posted by meshon at 7/23/2004 5:37:43 PM
I'm pretty new at ActionScript, but it looks like it could be a good way to
produce more complex animations with relatively little work. My test project is
to have a movie clip appear at a random location and play (and prefereably go
away after that). When it is done playing, I want the same ... more >>
preloader for scrollpane content
Posted by rowbeast at 7/23/2004 5:05:50 PM
Hey There,
I have a scrollpane that loads .swf content dynamicly based on a button click.
i.e.:
on (release) {
_root.bodycopy = "13th";
_root.year = "1986";
_root.body.scrollPane.contentPath = "bodies/body" + _root.bodycopy +
".swf";
_root.body.scrollPane.refresh(... more >>
checking before loading external file
Posted by mambobob at 7/23/2004 4:20:20 PM
Please,
is there a way to check if an external .swf file or .jpg file existe before
loading.
I tried with the onloaderror function, but it is not enought accurate. It
seems that the function runs at less twice before stoping. And this is very
difficult to deal with that. I would really lik... more >>
ComboBox within a ScrollPane issues
Posted by kfought at 7/23/2004 4:00:05 PM
I have a scrollpane component that has its content generated dynamically by
attaching movieclips. This is all working fine but in some of the clips are
ComboBox coponents. these have their data being loaded properly and are listed
when the ComboBox dropdown button is clicked, however when an i... more >>
enterFrame method
Posted by davidrule at 7/23/2004 3:29:17 PM
Hi,
I have two layers.
The bottom layer has a symbol with method "onClipEvent(enterFrame){....."
The top layer starts from the 40th frame. it also has a symbol with method
"this.onEnterFrame=function(){...."
The enterFrame method of the symbol on the bottom layer is always running.
The... more >>
Dynamic Text Crawl
Posted by Rob at 7/23/2004 3:18:35 PM
Hi,
Any suggestions on how to create horizontal scrolling or "crawling" text
(like you see at the bottom of the TV news) when using text from an external
..txt file?
Thanks for any ideas!
Rob
... more >>
bandwidth loading SWFs or internal MCs
Posted by ski_geek at 7/23/2004 3:15:28 PM
I was just wondering what is more effiecient and faster in regards to
downloading/bandwidth: loading a bunch of external swfs in a main swf file that
is the frame work or creating internal movie clips?
Many thanks,
skigeek
... more >>
Can't see Inspectable properties when inherited
Posted by lazz at 7/23/2004 2:55:39 PM
When I extend a class I can't see it's inspectable properties in the properties
panel. I can see the subclass properties OK but not the superclass properties.
Does anybody know why this is? Surely I should be able to set Inspectable
properties of an inherited class because the subclass inherit... more >>
variables from different instances ?
Posted by loditferma at 7/23/2004 2:30:12 PM
On my main timeline in the root in the first frame i putted: var letter;
I have a mc with 10 frames which i putted in frame 1 of the main timeline, the
clips stops at every frame, Every frame sets a value to the var. 'letter'
(without the quotes) like this:
frame 1 says:
_root.letter = 1... more >>
JSFL
Posted by speedy d at 7/23/2004 1:48:13 PM
Wow!
Well follks,
After trying to avoid this part of flash for sometime, i actually delved in to
it not long a go.
How easy was this to learn? For those who dont know, going from actionScript
to JSFL, is about as harmful as baby food.
I was suprised at how easy this was. How simp... more >>
load swf in empty movieclip
Posted by JackFoley3215 at 7/23/2004 1:33:26 PM
In my file I want an external swf file to be loaded into an empty movieclip when I get to a certain frame. How would I do this?... more >>
formatting text in html text box
Posted by logeye at 7/23/2004 1:11:10 PM
I have a dynamic text box in my flash presentation. I am calling the text from
an external text file. Importing text works fine. The only formatting I can
get to work is <b>bold. None of these work <red>, <s>, <strike>, <strong>,
<big>, <sub>, etc.
In the flash properties box, the follow... more >>
Need to re-create this effect...
Posted by loop360 at 7/23/2004 11:46:02 AM
I want to be able to create an efftect as seen on
http://www.pod1.com/2003/home.php where elements of the dandelion move and
rotate randomly (when you rollover the image) - how do I achieve this effect?
Thanks in advance, Loop360
... more >>
Closing browser after movie ends
Posted by med75 at 7/23/2004 11:39:45 AM
i am using a flash pop up (flash movie embeded in html file) when going into my
index.html. So, when user types in my index.html address, the flash pop-up
appears on top. How do i get the pop-up browser window to AUTOMATICALLY CLOSE
after the movie ends so that user can then start to view my i... more >>
loadmovie question!! please help!
Posted by cyberweapons at 7/23/2004 11:28:28 AM
Hi all,
How do I use the loadmovie function to load several of swf file into my main
swf. And those swf will be play by loop.
For example, I have 5 swf need to load into my main.swf (1.swf, 2.swf, 3.swf
etc...)
When the main.swf start, I want it load 1.swf into my main.swf, after 1.swf ... more >>
Alphabetic keyboard control
Posted by yoyoyoyoyoyoyoyok at 7/23/2004 10:18:40 AM
I am using this code to move a mc in a game:
if (Key.isDown(Key.UP)) {
speed +=10;
}
can I use alphabetic keys to do the same thing. For example can I used W, A,
S, D instead of the arrows keys?
Thanks in advance
... more >>
Play Reverse
Posted by sai1 at 7/23/2004 9:22:38 AM
Hi all,
I jus started on Flash... And thinking of playing frames in reverse mode but
dun seem to be able to do it.
Is there a syntax directly? I tried prevFrame but it stops at 1 frame onli. I
wanna play a series of frames in reverse mode.
Can anyone help me?? Thanks
... more >>
disable a button
Posted by willx at 7/23/2004 9:16:50 AM
I'm working on a flash quiz where users listen to a short sound file and then
answer a question on what they hear.
However, I want the users to be only allowed to listen to the sound file once.
So I want the button that activates the sound file (which is in a movie clip)
to be disabled after... more >>
Runtime Shared Library Probelm.
Posted by Spandu at 7/23/2004 7:46:04 AM
Hi All,
This is the first time I ever used this runtime shared library concept.
I'll first explain the context in which I used / and how I used.
Its bit lengthy query, but for better explanation, I had to write this. pl
bare with me. :(
What I have:
We have an web application develop... more >>
flash shape to jpg
Posted by rraj at 7/23/2004 7:34:27 AM
i want to export shapes in my flash to jpg , gif or png with some server side.
is there any third party component available. Is there actionscript available
or any api or plugin which in support with actionscript can export the
movieclip data as image
... more >>
moving a object along a path with actionscript
Posted by complexity at 7/23/2004 6:45:28 AM
Hi all,
I am trying to moving an object along a join path, so that is looks like the
object continously goes around and around the path. Can someone help me do
this, as I have tried doing a motion tween along the path but I get
undesireable results.
File is attached.
Any help is mu... more >>
Trouble loading external SWF with IF statement
Posted by erbiumdossier at 7/23/2004 5:05:33 AM
To someone who might be able to help me...
I have made a VERY simple movie.
- One Button inside a movieclip on the root level
and
- One movieclip("holder") inside of another movie clip ("mainmovieclip"). also
on the root level.
The button is told to produce a global variable("myvar... more >>
preloader isn't acting like a preloader
Posted by lovegerbottle at 7/23/2004 2:59:25 AM
VERSION:
Flash MX
HELP:
I have a 2 frame movie (part of a larger whole).
There are 2 frames:
1st frame has a stop action and a preloader. With this actions scripting
attached to it:
onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
total = _parent.getBytesTotal();... more >>
DataGrid get/setScrollPosition
Posted by inhswebdev at 7/23/2004 2:08:36 AM
Has anyone had problems with the DataGrid getScrollPostion and
setScrollPosition functions? I have a button that moves prev/next selectedIndex
in the DataGrid and I want the scroll to happen automatically when they move
beyond the window, but if i put in the following:
trace(dataGrid.getScro... more >>
Glossary
Posted by Kamdy at 7/23/2004 1:21:04 AM
Hi there, pls help...
Can flash build a glossary? For example, I have A-Z, when I click A, list of
words with A appeared in a text box, when I click one of the word, the
explanation appeared in another text box.
How I can do this in flash?
Thanks a lot!
... more >>
Sequence you put in actionscript
Posted by anAnge|io at 7/23/2004 1:17:29 AM
Hi there,
Is there any particular rule on when you should put in actionscript to a
particular mc, like before tweening it, or only after it comes into stage
(meaning i can't set "xx.enabled=false; BEFORE xx comes into the stage).
I noticed the script doesn't always work, especially so if t... more >>
¹
Posted by David Douglas at 7/23/2004 12:50:07 AM
I have created a scrollbar. When I drag it I have used setInterval to call a
function to displace the scrollpane/window according the the scroll thumb.
However sometimes the clearInterval doesn¹t actually switch of my
scrollInterval...
....In which case the movie eventually slows down and beco... more >>
|