all groups > flash actionscript > october 2005 > threads for thursday october 27
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
laoding and unloading MC from in another MC
Posted by Binxster at 10/27/2005 10:49:51 PM
I am using Flash MX.
The set up...
I have a main swf file that I am loading and unloading other external swf
files into a blank MC for the placement. What I am having trouble with is
loading and unloading a swf to the blanc MC on the main stage from inside a MC
that has buttons. It i... more >>
Problem with clearinterval
Posted by elmu at 10/27/2005 10:08:42 PM
Hello,
I have a main timeline with 2 symbols as movie clips. The first movie
clip can switch to the second movie clip and vice versa.
In the first clip I made a fadeing with the following code:
mcMenuOptions._alpha = 0;
var nAlpha:Number = 0;
function fadeInAlpha():Void {
mcMenuOp... more >>
desperate to get this textField to work
Posted by odahjay at 10/27/2005 9:55:28 PM
var calendar:mx.controls.TextArea
Selection.setFocus(calendar);
listenerObject = new Object();
listenerObject.focusOut = function(eventObject){
eventObject.target.text.setSelection(null);
}
calendar.addEventListener("focusOut", listenerObject)
Why will this not work. I need a... more >>
Preloader Issues
Posted by Zach W at 10/27/2005 9:34:50 PM
Not sure if I'm posting in the right area but here goes nothing. I'm finishing
this site and I have found that the preloader I used doesn't show up when
opened in Internet Explorer. Site:: http://www.desertacoustics.com/
It works great in Firefox and Netscape. I'm just trying to figure out if... more >>
passing a variable value to director
Posted by visan at 10/27/2005 9:10:41 PM
hello,
i have generated an array on click of a button. i want to pass this array to
director. how do i do this.
i have tried ( getURL("Lingo: myArray=[value1,value2...]. but in director it
is not receiving the array.
help me out.
thanx
... more >>
making alpha change progressive
Posted by stillwaiting at 10/27/2005 8:36:13 PM
I have the following code attached to a mc
on(rollOver){
this._alpha = 100;
}
on(rollOut) {
this._alpha = 35;
}
How would I make the alpha transition smooth, taking about 1/2 to 1 second to go from 35% to 100% and back?
stillwaiting... more >>
flash 8 debugger
Posted by R_E_Singer at 10/27/2005 8:25:20 PM
hi -
another newbie question:
i publish a movie with "debugging permitted."
per instructions, i open the published html file in a web browser and
right-click on the flash movie. in the menu that appears, there is no
"debugger" selection.
thanks for your help.
bob
... more >>
loading functions sequence
Posted by TruthSeeker at 10/27/2005 7:34:40 PM
ok, in my root i have something like this
linker.loadSWF('layout/background.swf', _root.motor.bg, 'background');
linker.loadSWF('layout/topper.swf', _root.motor.topper, 'header');
linker.loadSWF('layout/menu.swf', _root.motor.lmenu, 'main menu');
stop();
the problem is i only want ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Why do I have to move the mouse when over a button to have it run the script again?
Posted by QuantumDynamix at 10/27/2005 7:13:26 PM
Here is a weird question. I have a button that has a ton of script on it
checking and verifying a form. I noticed that if I sit and click it over and
over again, it won't rerun the script. Then for no reason, it will just work.
After some troubleshooting, I figured out that it was when I m... more >>
open pdfs in a exe file
Posted by bso_71 at 10/27/2005 7:07:29 PM
I'm using flash 7 and I created a program that I'm going to run on a cd-rom. I
want to open a pdf file when you click a button and the script that I have is:
getURL("pdfs/myFile.pdf")
but nothing happends. How can I make flash open acrobat reader and open the
file.
Thanks!
Brend... more >>
TextArea remove focus conspiracy
Posted by odahjay at 10/27/2005 6:40:54 PM
It is amazing, but nowhere can I find a way to actually remove focs from a
textArea component. You can setFocus, you can tell when focus has been set,
and you can tell when the focus has been killed, alas there is no way to
manually kill the focus. I cant find it in any documentation on the ... more >>
ExternalInterface vs FSCommand
Posted by phil ashby at 10/27/2005 1:01:07 PM
Hi all, I've been on thsi for hours and If I had any hair I'd have pulled it
out by now. Can anyone help...
Situation is this...I've got some spellcheck software that runs in the web
page and I want to access it via Flash. OK, no prob - got that working,using
fscommand -
However, f... more >>
"Hyperspeed picture" like in StarWars
Posted by highlander_1 at 10/27/2005 12:53:42 PM
I wonder if there is actionscript solution for doing a similar picture like in
StarWars. :-D
You know when captain "Han Solo" going into "Hyperspeed" with his ship Falcon
and the space ans stars surround
the ship turns into lines wth blur. :-)
A appreciate every idea of doing this.
:)
... more >>
Clear interval after 1 time
Posted by moglidroop at 10/27/2005 12:42:27 PM
Hi,
I am trying to call a function once after 1 second.
I have been trying this script, but it doesn't work. The interval keeps on
calling the function Controle().
And after a while my whole movieclip disappears.
Can anyone help me?
function CheckMatch(){
intervalID = setInter... more >>
Intervals - remove all in one function
Posted by SteveStall at 10/27/2005 12:31:21 PM
Hi there.
=20
In this game I'm doing I've created many intervals. There is this =
one moment when the game ends that I need to remove all intervals =
created.
I know that in a trace any kind of name given to an interval will be =
returned a number.
=20
I've created ... more >>
Dynamically Load background on button click
Posted by Robert C at 10/27/2005 12:13:10 PM
I have a movie where I want to change the background depending on the button
pressed. The image for the background will load into a mc, "background". The
image files are located in folders with the path "images/NAME OF THE
BUTTON/background.jpg." I would like to set up one place of actionSc... more >>
Navigating a FORMS application
Posted by DonH at 10/27/2005 11:56:20 AM
I have a very basic structure
MAIN is the base screen
Screen1 and Screen2 are child screens
Under Screen1 I have Screen11.
So the normal flow is to go into Screen1 down to Screen11. Then make a
selection and that takes you to Screen2 where info is displayed.
Here comes the problem.... more >>
Launching powerpoint from flash
Posted by Cliff Boobyer at 10/27/2005 11:23:01 AM
Hi,
I dug out a tutorial and followed it for launching a pps file and I'm having
trouble...
This does not seem to work, mostly because I can't do step 4 in windows
XP...
Any ideas?
Thanks, clifff
Tutorial below:
http://www.tutorialized.com/tutorial/Launch-a-PowerPoint-Slide-Show-from... more >>
Coltrolling layers
Posted by Avaloon at 10/27/2005 9:56:36 AM
Hi!
Can I control layers in a htmldocument from flash?
I want to control visibilty and layerorder etc, any good resources or possibilities on that?
cheers!... more >>
Problem with eval()
Posted by MiamiNL at 10/27/2005 9:50:31 AM
I'm using duplicateMovieClip() to copy a movieclip and after that I use eval()
to get a reference to the new movieclip. This works fine, but when I want to
copy a movieclip inside another one I can't get to it with eval().
works fine:
duplicateMovieClip(baseMovie, newMovie, depthCount);
... more >>
setInterval to move an object
Posted by Timothy Robertson at 10/27/2005 9:49:53 AM
I was directed by someone yesterday to use setInterval instead of an
onEnterFrame. But I am having some problems, below is my code. Basically it
works in that when the button is pressed my mc "mov_city" waits until the -x
value is = to 2280 then jumps there. But it doesn't move over in incremen... more >>
How can I loop a scene in Flash 5?
Posted by SteveTV at 10/27/2005 9:49:24 AM
Pretty new to this.......how can I loop a scene in Flash 5???
Thanx... more >>
Urgent FSCommand Question!
Posted by phil ashby at 10/27/2005 8:54:24 AM
Yep...think the summary text sums up the question...
I want to call a javascript function in the web page using fscommand, but want
to pass 2 variables...can I and if so how?
I want to pass the content of my text box and the Instance name. I tried
comma seperating, but it is taken in ja... more >>
Please! I need help with this drag & drop script
Posted by johntroll at 10/27/2005 8:41:53 AM
Hello again.
I've been using this script for a while to make interactive tasks for my
students:
On the stage I have a stack with seven card and two bulletin boards. The idea
is to drag each of the cards to the right board and get a "congratulations"
message when the task is s... more >>
i not sure animation can export from flash .exe.... anybody can tell me?
Posted by ccmail at 10/27/2005 8:26:02 AM
:D:rose; i'm green user, pls let ,me know. Thx.... more >>
Preload while another item plays?
Posted by forums.macromedia.com at 10/27/2005 8:03:01 AM
If I load a video and am playing it, can I have another video loading in the
background? Any suggestions or recommended reading?
Thanks,
Jason
... more >>
Toggle
Posted by ssmrk at 10/27/2005 6:33:31 AM
hi there...
i want one solution for toggling between 2 voiceover in same movie...
For Example: I will place a audio clip "sound01" in Frame1 and "sound02" in
Frame2, in same movie, and i will create a toggling button "VOChange[name of
button]".. where i can control the sound01 and sound02... more >>
How to do it?
Posted by AshDesign at 10/27/2005 6:20:22 AM
Hi!
Have a problem =(. I would like to create movie clip dynamically with AS to load there streem of photos.
Automatic find How many photos we have 1,2,3...n.
... more >>
double slash in URL seen as comment?
Posted by mballom3 at 10/27/2005 5:59:11 AM
When i try this code: getURL(http://www.mysite.com), it appears that anything after the // are taken as comment. How to fix that?... more >>
What's wrong with this code
Posted by mballom3 at 10/27/2005 5:57:10 AM
inv_btn.onRelease = function {
getURL(www.worldtel.ca/fr);
}
Flash says "function name expected"!... more >>
How do make clip change color randomly
Posted by mballom3 at 10/27/2005 5:35:14 AM
Hi,
I can i make it that my clip changes color randomly by itself.
Thanks... more >>
this[to].loadMovie(url) - is it possible??
Posted by TruthSeeker at 10/27/2005 2:04:05 AM
to='_root.movie.var';
and this works:
this[to]=value;
is there anyway to do this:
to='_root.movie';
this[to].loadMovie(url);
the problem is im doing a loader, for a a flash based site and i want to be
able to load anything to anywhere according to values i collect from my... more >>
Mask Eval loadMovie
Posted by l810c at 10/27/2005 2:03:55 AM
I'm using eval to dynamically fill a movie with a bitmap and then apply a mask.
This code works in the Movie3.
When I start at Movie2 and load Movie3 the BitmapFill works, but the mask does
not get applied.
When I click the button in Movie3 I get this trace:
_level0.section2_mc
_... more >>
Placing a random image
Posted by JFrancisco at 10/27/2005 12:57:43 AM
Does anyone know if I can have Flash load a random image from a folder? I'm
using Flash MX and am a relatively new user. I know this can be done in html
but I'm looking for a way to do it within a Flash file. Any help is greatly
appreciated. Thanks!
... more >>
Exporting image to file from flash movie
Posted by Will Danger at 10/27/2005 12:53:49 AM
Hello everyone.
For quite some time now I have been messing around with the idea of
programically exporting an image to the clients file system from the flash
movie. Ideally this image would be a snapshot of a movieclip on the stage at
the time.
I wasn't able to find an easy solution t... more >>
MovieClipLoader and unsucessfull load
Posted by dr.Evol at 10/27/2005 12:00:46 AM
Hello,
I have an interesting problem to solve. Lets assume the followinng scenario:
1. I load an external swf or jpg to a movieclip using movieClipLoader class.
2. After some time, I want to reload the same file in the same Mc, but the
load is unsuccessfull due to network problem, server ... more >>
Loading Pictures from folder
Posted by nomis_take at 10/27/2005 12:00:00 AM
Hello everyone,
The thing is,
Is it possible to create some actionscript that gets the content of a folder
en puts it by name inside an swf...
For example, if there is a folder called 'images'. The swf should look inside
this folder, get al the names of the files inside an make a menu ou... more >>
Flash video: wait until the end of the video then do something
Posted by Russ at 10/27/2005 12:00:00 AM
Basicaly I want to load up a streaming video which I can do with the
mediacomponent but I want Flash to check when the video is finished then
play another or load another video or go to another frame.
Is it posible I think it might have something to do with NetStream.btesTotal
not sute don't k... more >>
type and multiline
Posted by ldebono at 10/27/2005 12:00:00 AM
I am trying to create a text box dynamically using createTextField () in Flash
8 and I want make the line type input. In MX 2004 I did type ="input" but type
isn't being recognized.
Same thing for multiline = true;
Anybody know how do to do it in Flash 8?
... more >>
external swf dont load into levels once main movie is embedded into an html page
Posted by BrittDyann at 10/27/2005 12:00:00 AM
I have multiple external swfs that preload into a main movie. I loading them
into levels and then are made to begin playing one at a time in sequence, once
the previous clip finshes playing. All external movies are loaded by using the
tellTarget (_root), loadmovie num and then played with _l... more >>
Need Help Making Newsreel with Dynamically Loaded Text
Posted by karltraum at 10/27/2005 12:00:00 AM
Hi --
I'm getting despearate with this problem. I can't do the job and can't get
paid unless I figure this out, and I am not rich so the money is needed. I
would really appreciate any guidance! Thanks. You can email me at info AT
jumpingmandesign.com.
I have a client with an scrol... more >>
Who has flash knowledge???
Posted by C-Rock at 10/27/2005 12:00:00 AM
I can't be the only one who uses this or has tried to solve this problem.
Please help.
I'm just trying to add to this code, a standard jpg if the item.id one is not
available.
You help is appreciated! Thanks!!!
class ImageRenderer extends MovieClip {
private var imageID:Number;
... more >>
working with FLV file
Posted by Mic at 10/27/2005 12:00:00 AM
Hi,
I created a SWF file that runs a FLV movie file by using the "Media
Playback" component.
The FLV movie wont run from a HTTP address. I tried understanding the
help file but got confused.
does anyone have an experience with running an external FLV movie, or a
sample scripted I can ... more >>
how do you refererence a movieclip instance class
Posted by Hardrocksr at 10/27/2005 12:00:00 AM
if i have a class that extends the movieclip class
theTable = attachMovie("table","theTable",nDepth);
when i create the movieclip how do i reference the new movieclip's class?
i know you can reference whats in the class just like "theTable.whatever", but
i want to get the pointer to ... more >>
Bring highlighted MC to top layer (BRING TO FRONT?)
Posted by guido626 at 10/27/2005 12:00:00 AM
I have several (9) MC's on layer 1. (although I'd like to have them on separate
layers, if I can get a script that'll work) Think of like 9 photos set up like
a brady bunch grid. I have a "hit test" type script on each one that enlarges
whichever MC (photo) the user is on. (Portfolio type se... more >>
|