all groups > flash actionscript > april 2005 > threads for monday april 25
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
add var
Posted by dan mode at 4/25/2005 11:30:42 PM
ok my brain is gone - I can't rember what the syntax is for this:
trying to set the name of the loaderT to be 'loaderT' plus the var j. What
is the syntax?
thanks
createClassObject(mx.controls.Loader, "loaderT"add [j], 0);
loaderT(add [j]).autoLoad = true;
loaderT(add [j]).content... more >>
Strange white box / site check
Posted by eric NO[at]SPAM elcmedia.com at 4/25/2005 10:49:04 PM
Hi. If you check out
www.ericchamberlain.com and enter it, for a split second you may see a
white box the size of my movie clip. I don't understand this as I do
have a preloader working on frames 1 and 2 of the main timeline. I
can't seem to get rid of that white flash even though on other Fl... more >>
need a movie clip to point back to main timeline
Posted by Matt Miller at 4/25/2005 3:56:16 PM
Hi,
I have several movie clips that contain a text animation and I need each one
to play to the end, stop, and then point back to the next frame on the main
timeline where I have the the next clip placed to start. For example, the
main timeline stops on a frame labeled "text1". This contain... more >>
Notepad and Fonts
Posted by Tiavas at 4/25/2005 1:23:58 PM
Helo,
I've been trying to create a wepPage where i would use many notepad files as
sources for data and then if needed would get it into my Flash program. I read
the Notepad files by using these lines:
Features_lv = new LoadVars();
Features_lv.onLoad = onText;
Features_lv.load("dicti... more >>
Flash and Cookies?
Posted by Quasimotolioli at 4/25/2005 1:10:26 PM
I have a dynamic menu that is built from an XML file that creates sections that
open/close to reveal all the links within each section. The Flash menu file is
on a php page. I want to be able to do one or two things or both:
1.) Use cookies in Flash to track where the user has been so if ... more >>
gotoAndPlay(variable) bug ?
Posted by JamieBurchell at 4/25/2005 1:04:25 PM
Hi
I have on the main timeline in Scene 1, frame 1, _level0 a frame labbled
"Welcome".
Later on along the timeline I do a gotoAndPlay("Welcome"); it works. If I do
_level0.gotoAndPlay(variable); where variable is my frame lable it also works.
When I do gotoAndPlay(variable) it jumps to... more >>
certification exam forum
Posted by shellshock at 4/25/2005 12:35:41 PM
I am considering starting a certification exam forum for flash 2004 certified
developer only. I though I would start a post here first to see if there is
enough interest first. Please submit a post if you are interested in this
... more >>
Financial math library?
Posted by TKL_DK at 4/25/2005 12:30:52 PM
I need to calculate a lot of values for a loan - payments etc.
Does anyone know where I can find one?
Thanks
TKL... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Movie Clip Actionscripts quit working
Posted by Fran Owens at 4/25/2005 10:17:11 AM
I am trying to create a set of navigation buttons to use in a multi-scene
movie. I do not want to recreate them in each scene so I made the navigation
in another Flash movie and then imported it into my main movie as a movie
clip. Now my action scripts do not work anymore. They worked when each
... more >>
HTML produced via PHP don't display in Flash Movie
Posted by germaris at 4/25/2005 12:00:00 AM
Hi there!
I am managing a Directory covering several Schools.
It is all Flash built.
One of the numerous Search functions it offers is:
for a given school and a given year get the list of students.
The list gives for each student: Name, First Name, eventually Mention of
decease, E... more >>
Controlling Multiple Separate Flash movies
Posted by GmR at 4/25/2005 12:00:00 AM
I have a single web page with 5 (or more) embedded flash movies. I want to be
able to click on any movie and have the other movies respond. I have tried
using LocalConnection, but this seems to only work with 2 movies.
For example, I have the same animation playing in every movie. When an... more >>
Change color of movieclip on rollover?
Posted by swim4it at 4/25/2005 12:00:00 AM
I'm working on a dynamic menu where the movie clips, in essence, work similar
to buttons when rolled over and clicked, etc. Currently each menu item is a
movie clip that consists of dynamic text and another movieclip (which is a
basic one-color symbol with one frame). I have been able to make... more >>
Controlling nested movies from the root timeline
Posted by Saywell at 4/25/2005 12:00:00 AM
I?m trying to hide some buttons within a movie called drop1_mc from a script in
the main timeline. I duplicate the drop1_mc movie and give the instance a new
name of drop2_mc, this is repeated ten times.
At the moment the only way I can do it is as follows:
drop1_mc.spacer1_btn._visible = ... more >>
Border color of a movie clip
Posted by Porsche_2004 at 4/25/2005 12:00:00 AM
Hi,
Would u plz let me know how can I assign a border color to a move clip? So it can be changed using code.
Regards,
... more >>
JavaScript interaction with Flash on Mac OS X
Posted by kaeptn-q at 4/25/2005 12:00:00 AM
hi everybody.
i did spend all the day figuring out a way to establish a communiication
between Javascript an a swf-movie.
I searched several forums, but nobody had an appropriate answer to this. so
i?m trying here with a new topic, hoping that there?s anybody out there, who
doesn?t only ... more >>
Button (nextScene)
Posted by Dylan. at 4/25/2005 12:00:00 AM
I've just taken a Flash Course and I learned a lot. (they were using Flash MX
on Mac). I came back to my PC using Flash MX 04 but the button code I used at
the course doesn't work on my version. Can anyone give me the code for MX 04? I
need the function to be: nextScene(); or gotoAndPlay("2", ... more >>
disabling and enabling buttons
Posted by alecmetallic at 4/25/2005 12:00:00 AM
I have a button that triggers a movie to play over top of it. I know how to
disable the button so that when the movie is on top you can't click the button
underneath, but how do i re-enable the button when I close the movie?
... more >>
pipe character " | "
Posted by robotstyle at 4/25/2005 12:00:00 AM
Greetings, how do I type the pipe character " | " for bitwise OR operators? Besides copying and pasting as I've been doing?... more >>
Calling all Flash Action Script Gurus !
Posted by morgstar at 4/25/2005 12:00:00 AM
Hello everyone ..
I have a beautifully designed personal site that needs a few alterations to
its code to make it web-ready. I've tried and tried tomake sense of the code
but this particular functionality of MX 2004 is truly beyond me!
The (.fla) needs to reference 3 individual (.flv) or... more >>
TextInput enabled issue
Posted by vectorman69 at 4/25/2005 12:00:00 AM
Hi!
Does anyone knows why I can write down into a TextInput control with the
enabled property in false??
I have tree of them with the same behaviour, but when I disable them I stil
can write in one.
any help will be appreciated
thanks in advance
... more >>
Can Dreamweaver call a Flash function?
Posted by ShaneHoffa at 4/25/2005 12:00:00 AM
Can a button in Dreamweaver (html) call a function in a swf file?
Thanks
Shane ... more >>
Detecting PC's Screen Area
Posted by Dir2Flash at 4/25/2005 12:00:00 AM
To ensure that PCs running my Flash piece are running at the minimum 1024 x
768 resolution, I would like to run a check before the movie begins. If they
are not running at the minimum rez, I would display the appropriate message.
With that said, is there a way to determine the resolution of... more >>
keyListener.onKeyDown = function HELP!!!
Posted by Husam at 4/25/2005 12:00:00 AM
I'm using the below listed code to monitor keyboard pressed buttons. I would
like to add somthing in (keyListener.onKeyDown) that will stop passing the
key if the button is held down.
I want to prevent users from holding down keyboard buttons. I want one
press, one character.
help is mos... more >>
actionscript: frame to movie clip
Posted by StarkUTBoy at 4/25/2005 12:00:00 AM
I have a button in my regular timeline, and I need it to jump to the first
frame of a movie clip when when the a button is clicked. I have the button, and
I put this, even though it's wrong:
on(release){
gotoAndStop(demomovie,"demo");
}
where demomovie is the name of the movie clip,... more >>
maintaining volume level over scenes
Posted by speckle at 4/25/2005 12:00:00 AM
Hi,
I have a a piece of music that I want to control independently of the sounds
on the timeline. I have attached it to an empty mc.
Is there any way that I can make flash maintain the volume I have set this
piece of music to play at over scenes and can i set the music to loop
effectiv... more >>
Return Key
Posted by nickcrispini at 4/25/2005 12:00:00 AM
Can anyone tell me how to detect the pressing of the return key on the keyboard, you seem to be able to detect every other key?
Thanks.... more >>
Disable Buttons
Posted by nickcrispini at 4/25/2005 12:00:00 AM
I have some buttons that change appearance on mouseOver and mouseDown. If the
user selects a particular option these buttons are still in vision, this is
what I want however I don't want the roll-over effect if the user chooses to
rollover. Is there a way to disable the rollover of buttons?
... more >>
define the script
Posted by flaskvacuum at 4/25/2005 12:00:00 AM
what do you mean by this code:
if (getAns1 <> undefined) ???
this code is basically apply to a group of button and all button are initial
as false. So when the movie load, no button are selected. i dun understand what
is the meaning of <> ?
... more >>
XML Line Break
Posted by Alex Dion at 4/25/2005 12:00:00 AM
Hi all!
I'm loading an external XML document and i need to insert a line break into a
small text from the xml file. For some reason, if i put \n, it does not work.
Any suggestion?
here is my code:
IntroText = new XML();
IntroText.ignoreWhite = true;
IntroText.load("/Test/Texts... more >>
setInterval() question
Posted by theco at 4/25/2005 12:00:00 AM
Hi there is a way to update the set interval timming... example
_global.timeScreenChange = 25000
var intervalID:Number = setInterval(nextScreen, _global.timeScreenChange);
if what ever == 2
_global.timeScreenChange = 10000
I have a condition that change the value of
_global.timeScreenChan... more >>
Movie initial rotation
Posted by Nixy at 4/25/2005 12:00:00 AM
Hi all
I need to dinamicly set a direction (Rotation) to a MC. Then it move _x & _y
to this direction at a specific speed. Any idea. This is a Math function but I
can't figure out how.
Tanx in advanced
... more >>
I need help please.
Posted by Interactive Studios at 4/25/2005 12:00:00 AM
ok, I know my code is wrong here,
on (rollOver) {
gotoAndPlay(2);
}
on (releaseOutside, rollOut) {
gotoAndPlay(10);
}
gotoAndPlay("page1.swf", 11);
}
onClipEvent (enterFrame,(20)) {
unloadMovieNum(1);
loadMovieNum("page2.swf", 1);
}
I'm trying to figure out how to... more >>
DVD-style interface buttons
Posted by cbergeronlcc at 4/25/2005 12:00:00 AM
Need a little help creating a GUI similar to a DVD. No mouse pointer.
Pressing arrow keys should move a highlight from one button to the next, and
pressing Enter selects that option. I know about the Key object and
Enable/Disable, but it's not jelling. Should I not use Button behavior and ... more >>
Position of Window Component
Posted by david_bordeaux at 4/25/2005 12:00:00 AM
I am using Action Script to make a swf file appear in a popup Window, using the
PopUpManager.createPopUp technique. I can't figure out how to control the
position of the popup Window on the screen (I want it centred). Do I need to
use myWindow.move(x,y)?
... more >>
Need help using a Singleton Class
Posted by chrscote at 4/25/2005 12:00:00 AM
I have created a singleton class to make sure that only one object is created
from the class at one time. My code for creating the object is shown below.
The issue I'm trying to figure out is this: In my program, a user first
selects a module to perform a tutorial. When this happens the fi... more >>
Importing classes one level up
Posted by chrscote at 4/25/2005 12:00:00 AM
I have a project set up where the classes folder is in the same level as the
images folder. This images folder contains flash files that need to import a
class from the classes folder. I've set up my default classpath as
$(LocalData)/classes since this is the classpath for the main file. Ho... more >>
url encoding
Posted by howboy03 at 4/25/2005 12:00:00 AM
i have a text file loading into a dynamic txt box
the text needs special characters, but not all will render using unicode found
here:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14143
%26 - ampersand works
%7B - curly quote works
%e9 - e accent acute DOES NOT
... more >>
loading a PDF file when button is clicked
Posted by Roughouse Designs at 4/25/2005 12:00:00 AM
I have a button which i would like to link a PDF file to from my computer so
when the button is clicked, the PDF file can be downloaded and printed from the
net. Could someone tell me how this is done...I can only seem to find out how
to link to a URL, but i just have a file, not a URL.
Th... more >>
making a movieclip a button
Posted by mattmuller at 4/25/2005 12:00:00 AM
does anyone know if there is a method for this, I cant seem to find one?
MaTT... more >>
Play another MC
Posted by thejokerman05 at 4/25/2005 12:00:00 AM
I have a MC that works as a button. On the MC's 1st frame i have a RollOver and
RollOut action applied to it. I place this MC on my main timeline, duplicates
it and give them two diffrent instance names, "mc1" and "mc2". What I want is
that when I roll my mouse over "mc1" I want "mc2" to play ... more >>
Is there a way!
Posted by cristianregep at 4/25/2005 12:00:00 AM
I have created in flash a program in which you can draw you geometrical shapes
and you and can do all sort of things with them. But I havee one big
impedement. How do I save what a user has created on the stage to be reloaded
after a while!
... more >>
removing buttons
Posted by Techauth at 4/25/2005 12:00:00 AM
Hello,
I am getting really tired of the same old problem I have, so I am hoping
someone will be able to help me. Can you remove buttons using actionscript?
I have some buttons on the main timeline, and on my background layer I have a
mc. Once the user clicks the button the mc on the ... more >>
Help With Movie Clip Interaction
Posted by Shwaza at 4/25/2005 12:00:00 AM
Hi, I'm trying to make a simple game, and what i've got so far, is an action
clip of a hand throwing paper, when you click the hand. I've also got it
following the hand as the cursor, so when u click, it plays the clip, and the
paper is thrown. I'm wondering if there's some sort of action scr... more >>
Hard time with sound object.Can You help me?
Posted by Eduardo Tavares at 4/25/2005 12:00:00 AM
Hij!
I have a swf file that I use to create my sound object by using this code:
function mysound(){
mysoundobj=new Sound(this)
mysoundobj.attachSound("magic")
mysoundobj.start(0,999)
}
I have the wav file imported to my library.
In my main Movie I have a MC wh... more >>
|