all groups > flash actionscript > march 2004 > threads for friday march 5
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
make a movie to three languages
Posted by Carlos Gonçalves at 3/5/2004 11:18:51 PM
I don't want to make three differents movies to each language. I only want
when a language is chosen, a loaded movie know this choice and load a movie
with the correct language text. But how can do the first loaded movie to
know the choice?
In this way, when I have to change a picture, I will... more >>
Newbie: Scripting a Flash button to email link?
Posted by waveturtle at 3/5/2004 11:05:26 PM
I have an email button and I want to link to opne the default email app when
clicked.
I've used :GetURL mailto:user@blah.com: but it seems to open a blank browser
window before opening the email app. Is there anyway to avoid this?
Thanks
... more >>
pausing a movie for a set interval
Posted by _Icarus_ at 3/5/2004 10:03:46 PM
I'm trying to create a function that allows me to pause a movie for whatever
amount of time I want on a particular frame using this code in Flash MX:
on the first frame:
function pause(){
play();
clearInterval(timer);
};
on the frame I want to pause the movie on:
stop();
ti... more >>
Menu button pop ups
Posted by mheddle at 3/5/2004 9:04:02 PM
This should be an easy one to fix.
I have a four button menu. Each time one is pressed, a text graphic appears
giving a description of what each button title area means. When pressed the
button "goes to and stops" at a frame instance where the graphic lies. The
problem is that it will o... more >>
Movie clip action problem.
Posted by scourtaud at 3/5/2004 8:57:54 PM
Hi,
I'm actually working on ? photo gallery and I am stuck with a problem.
Here it comes :
The gallery is dynamic. picture names are loaded from an external textfile
containing an array.
In a first movie, the array is loaded and a movieclip as many time as there
are picture names ... more >>
Using a global variable in on (rollOver)
Posted by Zillion1000 at 3/5/2004 8:35:45 PM
Hello
I want to use a variable in a button.
In Frame 1, I declare for example Zoomfactor=100 (I tried both
_global.zoomfactor=100; and zoomfactor=100;)
In Frame 2 is a button with which I want to zoom in on a object:
on (rollOver) {
zoomfactor=zoomfactor+5;
setProperty("_level0/... more >>
prototype onEnterFrame vs. setInterval
Posted by szd at 3/5/2004 8:28:47 PM
OK, when a certain event happens (button push), I want a particular MC to fade
in. I made a prototype method and called the method during the event. When I
use onEnterFrame, the fade-in works. When I use setInterval, it does not (the
setInterval code is bracketed by /* and */).
Thanks,... more >>
ComboBox: setting the selected item using AS2.0
Posted by dub_g at 3/5/2004 8:11:23 PM
Hi there,
I think the answer to my question is simple, but for some reason, I can't
figure it out.
I have a comboBox that is automatically populated. I would like to press a
button that will change the highlighted item in the comboBox to match a
variable.
For example,
[0] Searc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
slideshow looping issue
Posted by bartonfink at 3/5/2004 7:50:56 PM
I am trying to loop a slideshow presentation. I have gotoNextSlide working on
each slide so that is automatically advances however when I get to the last
slide I want it to go to the first slide and loop. I have tried adding Go To
First Slide and it does go to the beginning but it continues to... more >>
loading from same computer
Posted by ripetungi at 3/5/2004 7:49:22 PM
please help me. am trying to load a projector from a folder on my desktop,
using a button link. have followed what it says in the manual (actionscript
reference guide) however, i can't get it to work. want to link between
diffferent projectors within a folder instead of a big flash file. ple... more >>
Text field selection
Posted by Hof at 3/5/2004 7:11:54 PM
I am trying to capture the first and last character position of selected
(literally highlighted) within a text field upon a button click. This requires
the use of "Selection.setFocus(text);" which in turn highlights all of the
contents of the text field. Thus using Selection.getBeginIndex() ... more >>
finding a webpage URL
Posted by heathgr at 3/5/2004 6:08:03 PM
I know that _root._url will give me the url that the flash movie is playing
from. But, is there a way to find the URL of the webpage that has the movie
embeded in it? I don't know if this is even possible. If it is, it will sure
solve a lot of security issues I have with my current project.... more >>
path to timeline in movieclip
Posted by EdMX at 3/5/2004 5:29:42 PM
I have a very simple movie with two symbols, sym1(a MovieClip) which contains
sym2 (a graphic) [b](see attached file)[/b]
A mouseUp handler on sym2 is supposed to tell sym1 to gotoAndPlay another
frame, but it's not working. The mouseUp handler itself is running, but the
gotoAndPlay isn't.... more >>
Why can't I upload an fla
Posted by EdMX at 3/5/2004 5:01:59 PM
I'm trying to post a request for assistance on this forum. The most sensible
way to demo what's wrong is to upload the fla file for people to look at.
When I try to upload a my fla I get a message saying 'uploading this type of
file is not permitted' What's the point of offering an upload fa... more >>
long-standing questions
Posted by asiabackpacker at 3/5/2004 4:37:42 PM
OK, so the following are two long-standing questions I have had. I'm not really
dying for an answer since these things seem to work fine either way, but was
wondering what others think, or if there is a "correct" way to approach these
things.
#1. When you have a "goto", going to a keyframe... more >>
PopUp Window Function
Posted by brainiac_7 at 3/5/2004 4:31:04 PM
I've successfully used Macromedia's tip for calling javascript PopUp browser
windows from Flash, but I'm looking to add the technique to a Flash function to
avoid hard coding the URLs, etc.
To recap, the html page with the embedded .SWF should include the following js
script in the head:
... more >>
Sound Popping
Posted by sage_82 at 3/5/2004 4:22:50 PM
I am trying to figure out how to eliminate a popping noise that is not part of
my audio files during playback.
I currently have 5 separate SWF files which contain one .WAV file each. I
then load all 5 SWF files at the same time. I start all 5 movies. I then have a
button that when I press... more >>
assigning jpg's to global variables????
Posted by k-doggie at 3/5/2004 4:14:36 PM
Is it possible to assign an empty movie clip or any movie clip (which is
loading a jpg file), to a global variable for storage, and then...
1. pre-loads in _level0
2. but then opens up in _root.something.goes.in.this.layer (after i click on a
button)
How would this foobar look like?
... more >>
movieClip on different layer/level
Posted by tclyndell at 3/5/2004 4:00:08 PM
I need to place an embedded navigation movieclip on a layer above all external
SWFs. How is this done?
I have a main SWF that pulls in the other external(sub) SWFs. For simple
reasons, I placed the navigation on the main SWF. However, I have run into a
problem where I need the navigatio... more >>
help: loadMovie images and movieclip mods
Posted by TempoRaneo at 3/5/2004 3:52:31 PM
Hi,
I am new to Flash actionscript and I need help. Sorry in advance for my
question (and my english) and thank in advance to whom who solve my problem. I
really hope you will help me.
The problem is the following:
[1]. I have a directory - "imgfolder" - with 3 images in it, named "1.... more >>
right justify columns in datagrid
Posted by frankgrimes at 3/5/2004 3:05:14 PM
Does anyone know how to right justify column data in a datagrid?
Thanks!... more >>
Fading audio using actionscript
Posted by brandon_haslip at 3/5/2004 3:03:52 PM
i have a photo slideshow with a mp3 playing the background music but I can't
seem to get the audio to fade out with the slideshow. Is there some action i
can put in to have the audio fade out at a certain frame.
Any help would be greatly appreciated.
Thank you
... more >>
nextScene not working with target path
Posted by qwerty10001 at 3/5/2004 2:17:58 PM
hi there
Could someone explain why this works and the latter two don't please.
on (release) {
nextScene();
}
not working :
on (release) {
_root.nextScene();
}
and:
on (release) {
this.nextScene();
}
For simplicity and testing all the above codes are at main timeline... more >>
for( ).....complicated..
Posted by UsualSuspect at 3/5/2004 1:10:29 PM
ok, here's the deal...
I have 50 dynamic text on the stage. fds0, fds1, fds2, fds3, etc...
Each of them read a cookie previously written on the computer, and
they show a day of the week. Ex.: Thursday
So, if I write :
for (i=0; i<50; i++) {
trace(fds0)
}
it returns : ThursdayT... more >>
Any way to check if the file exists?
Posted by Horus M. BRUTALIS at 3/5/2004 12:47:14 PM
Greetings, folks
Is there any way in Flash to check whether file exists or not before
using mc.LoadVars() or mc.loadMovie()???
Using ONLY flash actionscript. No external programs.
Respect... more >>
Scrolling XML text
Posted by evilpixel at 3/5/2004 12:35:12 PM
I am trying to get some text which is loaded from XML to scroll in Flash Player
5 (I have it working in later versions). I got my method of scrolling text from
the tuturial at www.actionscript.org and it works with normail text, its just
that when I try to use it with XML loaded text the text ... more >>
Can a Movie's FPS be retrieved and used with AS?
Posted by Gerrard at 3/5/2004 12:23:40 PM
I've tried to make a timer in AS and to extent it's functionallity I need to
use my movie's FPS in a variable.
Like:
var thisFrame=this._currentFrame
Could be:
var FPS=_root.framePerSecond
or similar?!?
Thanks
... more >>
Radio Buttons with Flash and XML
Posted by Cyont at 3/5/2004 12:14:37 PM
Hi,
I need to create radio buttons using Flash and XML. Can you show me how to
do this?
Any reply will be really appreciated.
Cyont
... more >>
fscommand called by a quit button
Posted by ghert at 3/5/2004 11:52:27 AM
I'm having trouble exiting this Flash movie
'http://www.canonguy.net/portfolio.swf' with my quit logic.
The Quit action is:
on (release) {
fscommand("quit");
}
When I execute the .swf locally on my PC, quit exits the movie properly.
However, when I try using it on the web throu... more >>
how to detect loaded SWF width?
Posted by mike2020 at 3/5/2004 11:37:18 AM
Using MX 2004 I have loaded an external SWF like this:
_root.createEmptyMovieClip("screenSaver", _root.getNextHighestDepth() );
_root.screenSaver.loadMovie("screensaver.swf");
which works fine, but why does "_root.screenSaver._width;" return 0?
How can I detect the width of the loaded... more >>
How to insert a icon into textfield, just like msn messager? thanks
Posted by ::Digitalboy:: at 3/5/2004 11:15:19 AM
How to insert an icon into textfield, just like msn messager? thanks!
... more >>
problem loading text from external files as html.
Posted by malspach at 3/5/2004 10:41:50 AM
i have made a preloader, that then loads the interface, which loads the main
page where the preloader was and covers it up, the book i have been reading
"flash advanced" by Russell Chun instructs you to place a button and add the
action
on (release) {
displayMyPage = HTMLpage
}
bu... more >>
How can I save static data on custom component?
Posted by sharetop at 3/5/2004 8:43:57 AM
Hello.
Did Flash ActionScript support static variable?
At Frame1, I create a instance of S_List ( Me created custom component),
named "lstOne", user select the 2nd item, (saved at a variable "idxSelected")
, then gotoAndPlay(5), jump to Frame5, do something... then, jump back the
... more >>
countdown clock
Posted by jeeva at 3/5/2004 7:24:56 AM
Hello,
some one there please help me to create a countdown clock in flash.
what i actually want is,
the display should be like - 9 days, 7 hours, 55 : 21 minutes
irrespective of the year,this should countdown from 4th of July, .ie., even if
it is 2004 or 2005 or whatever year it ma... more >>
TextArea with <img> help...
Posted by jerreye04 at 3/5/2004 5:45:01 AM
Hi,
Has anyone else had any issues with loading a MoveiClip into a TextArea
component?
My TextArea is loaded from an XML Object...here is the tag in the XML doc
itself:
<img src='dotline'/> //'dotline' is the Linkage Identifier for the MC in Flash
The MC actually gets loaded int... more >>
HELP PLZ!!!
Posted by imaginethis at 3/5/2004 3:15:32 AM
I have an image on the side of the page that I want to move in action script.
When movie loads, I want it the image to be at points 199.1x and 142.9y. I
want to to be 500% it's normal size. Then I want it to move to points 3.1x and
2.9y and go back to its normal size. Does anyone know how ... more >>
button problem
Posted by Burak Delice at 3/5/2004 3:10:02 AM
hi,
please see that simple example :
http://www.delizade.com/files/sil.htm
I have lots of scene like that and I have a lot of buttons on my scene. I
attach mc over of all. and buttons is active always. How can I prevent
buttons when an mc cover it?
thanks.
... more >>
Controlling size of flash movie on print
Posted by anders NO[at]SPAM dreamteam.net at 3/5/2004 2:15:20 AM
Hi!
I have a Flash movie that I'm trying to print from a browser. I want
the page printed to be different from the one displayed in the
browser, so I've added
a #p frame to the movie and I use Javascript to call a print function
in my movie:
function doprint() {
print(_root, "bframe")... more >>
getURL window not working
Posted by bcmorgue at 3/5/2004 1:53:57 AM
Ok, I am still pretty new to Macromedia Flash MX. I have created a few flash
movies using an easier program, Coffee Cup Firestarter 6.5.
Anywho, I am writing a new website, and I use frames. I have the Macromedia
Flash on top, which is my menu bar, and the content on the bottom.
Here i... more >>
dynamic text w/scrollbars loading from txt files
Posted by malspach at 3/5/2004 1:44:43 AM
how do i go about setting up a text box, with a scrollbar that will resize
itself to the text feild and load the text from an outside text file? do i need
anything in the textfeilds variable box? im lost in this here :(
... more >>
problem with duplicateMovieClip
Posted by m.stenbaek at 3/5/2004 1:08:42 AM
I can't get to duplcateMovieClip(), createEmptyMovieClip(), or
createTextField(), when using vars like this :
//just some vars for example
var i = 0;
var startX = 5;
var startY = 5;
var depth = this.tekst.getDepth()++;
var txtName = "txt"+i;
_root.createTextField(txtName, depth, ... more >>
Controlling Bookmark Anchor using a Flash Button
Posted by MATTinAZ at 3/5/2004 12:52:12 AM
Hello,
This is what I'm trying to do. I have Flash movie of a map of the US, all of
the states are buttons. When I click on a state I want the Html Page to Scroll
down and Find the Bookmark somewhere down the HTML page.
For Instance I Click on Arizona and the HTML page Scrolls down ... more >>
Trying to make simple game
Posted by bunny5619 at 3/5/2004 12:48:35 AM
I'm trying to make a simple game, and i would like to make it so that when you press an arrow key (let's say the left) he goes left, but I don't know the code for it. Can anyone help me?... more >>
Whats wrong with this code?
Posted by Pea at 3/5/2004 12:31:39 AM
Hi all,
Whats wrong with this code? Am I able to create objects in a loop like this?
var obj : Object;
for (i=0; i<10; i++){
obj = new Object();
obj.x = Math.random(5);
obj.y = Math.random(5);
}
For some reason I have problems when I do multiple instances like that based ... more >>
|