all groups > flash actionscript > june 2004 > threads for wednesday june 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
Duplicate movieclip and array
Posted by pijus at 6/23/2004 10:38:43 PM
Will this generate as much movieclips as items are inside the array "titoli"?
I think it should but it doesn't work...
for(i=0; i<titoli.length; i++){
nombreboton = "duplicado"+i;
duplicateMovieClip(_root.cambiaencabeza, nombreboton, i+100);
_root[nombreboton].nombre = titoli;
posi... more >>
server side...load mpeg into swf on the fly??
Posted by v.motion at 6/23/2004 10:21:56 PM
hey guys, long time reader but this is my first post. also, i know this is
prolly in the wrong section, but i figured it would get the most 'views'
here...sorry =)
anyways, what i am trying to figure out is if it is possible (if so, then how)
to have a user upload an mpeg file to a server a... more >>
Save and Play Again
Posted by shocker at 6/23/2004 9:27:53 PM
Is there a script that would allow a user to play a game in Flash and be able to save it and play it again?... more >>
createClassObject Failing
Posted by bobpf at 6/23/2004 9:16:29 PM
Why would the following statement fail?
var myMovie:MovieClip;
myMovie =
someOtherMovieClip.createClassObject(com.my.custom.object.Thingy,"myMovie",someO
therMovieClip.getNextHighestDepth());
trace(myMovie)
THE ABOVE TRACE WILL OUTPUT: undefined
Where I have specified the nam... more >>
Getting variables from LoadVars in class attribute
Posted by TorinIA at 6/23/2004 9:15:38 PM
Hi all,
I'm trying to get variables from an external textfile and place them in class
attributes. However, this doesn't seem to work (not the way I'm trying anyway
;-) ). My class definition is shown at the bottom of my message.
I know that the onLoad method is asynchronous, and while lo... more >>
menuBar Component Breaks Button
Posted by dmccoy at 6/23/2004 8:56:30 PM
Version: FlashMX Professional 7.0.1
I am using the menuBar component and the "gel" buttons from the Flash Buttons
Library. When the movie first loads, the buttons work as expected. But after I
click on the menuBar, the buttons function erratically. Has anyone else seen
this? Any suggestion... more >>
There's got to be an easy solution to this one
Posted by DieFrohKartoffel at 6/23/2004 8:36:50 PM
Hey all -
My group and I are developing an app, and we've run into an error. Any help
would be greatly appreciated. Thanks in advance!
We have devices in a group. These devices are multiple instances of a movie
clip. These clips, based on a root array, are told whether they have an ... more >>
Effectively store and retrieve external JPEGs.
Posted by Teego at 6/23/2004 8:00:13 PM
Good afternoon all. After a few hours of running about, I figured I would come
to all of you with the following question.
Abstract:
I have a movie that loads XML data. While looping through this data, I
develop an array that includes a list of external JPEGs that I load into my
movie... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
links in dynamic html text
Posted by garroyo at 6/23/2004 7:49:41 PM
I am loading text from an external text file into either a TextField or a TextArea and I want some of the text in the file to be links. How do I code for this?... more >>
Including a "config" file with a flash projector
Posted by redivider at 6/23/2004 7:17:12 PM
I have stand alone application that I am planning on including a configuration
file with, so users can change certain aspects of the functionality.
The app is a video mixer kind of thing that will be delivered on a DVD.
Anyone who wants to add to the functionality will have to copy all the ... more >>
Where is the Asript 2.0 Dictionary ???
Posted by jerkoff_097 at 6/23/2004 7:11:19 PM
Can anyone point me to the actionscript 2.0 dictionary ? What a cheap way for
Macromedia to go...I buy Flash mx 2004 pro, using ascript 2.0, i should only
see the pro syntax for my version of flash. Why did they do this ??? Forcing me
to buy reference books will not help their sales in the ... more >>
Newbie question | Scale & Alpha in AS
Posted by neil_merton at 6/23/2004 6:25:32 PM
hi all,
i've been using Flash on and off for a couple of years now, but have never
really been able to figure out how to scale and fade / alpha blend using
actionscript. does anyone have any very basic guides on how to do this?
here's what i've done using conventional fade and scale in F... more >>
control of movie with myclip commands.
Posted by tommyt at 6/23/2004 6:25:20 PM
I am experinced in the control of movie clips remotely when the movie clip is
part of the program and in my library.
Is there anyway to control a flash movie when an swf file is brought in via
loadMovieNum(movie1.swf",2);
Is there anyway to tell it to stop when I want it to, or start or ... more >>
Is it possible to map a movieclip to a sphere?
Posted by redivider at 6/23/2004 6:18:22 PM
Is there a way to create a 3D engine in actionscript that will allow me to map
a flat "texture" (movieclip) onto a sphere shape?
Basically, I want to map an empty movie clip onto a sphere shape and allow
people to draw in that movieclip. In essence allowing them to paint onto a
round 3d s... more >>
Accent in XML
Posted by pacomer at 6/23/2004 5:58:35 PM
when i export a xml file to flash, it appear a weird symbol insted of the accent.
how do i fix this?.... more >>
silly question
Posted by kattie:) at 6/23/2004 5:11:21 PM
can you pass a number to a function. like
myfuction(1);
it would be useful for what i am doing as the number is generated on the fly
by a parser so the code would really look like
myfuction(<getnumber:get()>);
thanks :)
... more >>
createEmptyMovieClip + duplicateMovieClip
Posted by Eric Adriaans at 6/23/2004 4:57:13 PM
Hi,
Is it possible to duplicate a movieclip, which has been created with
createEmptyMovieClip?
In my case I do the following:
In frame 1:
this.createEmptyMovieClip("test",10);
this.test.loadMovie("something.swf");
in frame 2 I wait until this.test is loaded...
Then, in some frame... more >>
:RANDOM FUNCTION
Posted by ASDFASDFD at 6/23/2004 4:54:13 PM
I have 7 RadioButtons(components) .......I would like to have the different
label that i have below in the script to come up randomly but NOT repeat. Any
Ideas
FYI.....
Everything is taking place on the first frame of _root.
//Create Array
myRandCho = new Array();
myRandCho[0] = "... more >>
F1 to get Help from anywhere in app
Posted by Christian Pelzer at 6/23/2004 4:14:06 PM
Hi there,
im new to flash.
While reading, the following question came over me:
What can I do, if i want to listen to a 'F1' key pressed anywhere
in the application (perhaps consisting of thousands of components)
- thus opening a help-component (perhaps even context-sensitive??)
Problem: ... more >>
Locking Down A Flash Movie For A Kiosk
Posted by Millbot2000 at 6/23/2004 3:54:07 PM
I have been tasked with locking down a flash movie for a Kiosk so that the user
can not right click on the movie to get the Windows menu (play, loop rewind,
etc.). Does anyone know what the script might be for something like this?
Thanks!
... more >>
Load Picture Thumbnails
Posted by Mack879w at 6/23/2004 3:47:46 PM
I have a set of pictures in a folder. WHen a user clicks a button, I want to
load thumbnails of those pictures onto the stage. And when the user clicks on
the thumbnail, I want to display the full size picture. I am relatively new to
ActionScript, so I was wondering how difficult it would b... more >>
3d
Posted by JF213 at 6/23/2004 3:38:46 PM
I am wondering if anyone has brought a 3d max character into flash. I am
trying to set up my character in flash so that some will be able to zoom in and
out and also be able to revolve around it. I am stuck on the best way of
accomplishing this and I was wondering if this would be possible.
... more >>
linkage and class
Posted by Todd Coulson at 6/23/2004 3:35:29 PM
I know in the new as 2.0 structure, you can place the class inside the
linkage in the box that is marked "A.S. 2.0 Class".
But how do you assign a class to a movie clip that was created using
this.createEmptyMovieClip?
--
Todd R. Coulson
multimedia developer - Haley Productions
todd@hale... more >>
Button Component in nested components/movie clips
Posted by adancau at 6/23/2004 3:12:12 PM
Got this problem. Apparently is completely random. I do the following:
1. make a movie clip, and put one or more button components inside
(toggle=true)
2. create a scrollpane
3. inside the scrollpane.spContentHolder I create instances of the movie clip
containing the button
Now here's ... more >>
Just wanna call a function
Posted by Spiff12421 at 6/23/2004 2:55:44 PM
I'm sorry this is such a newb question, but I've read and reread the
documentation and other posts but still can't simply call a function that is in
a movie clip from the root. Basically what in the root time line in the first
frame I write (tried with and without the root):
_root.test.hit... more >>
Attached sound makes first frame huge - preloader
Posted by markdugas at 6/23/2004 2:53:55 PM
I'm creating a preloader for a project.
The project includes a music track and the volume changes at one point in the
program (there's another sound clip that plays, and the music track drops so
that you can hear the sound clip). The music track works wonderfully - I've
used the attach sou... more >>
Linkage
Posted by paquituz at 6/23/2004 2:14:17 PM
Hi,
is it possible on the library to use the LINKAGE option for multiple items rather then having to do it one by one?
thanks
www.paquito.it... more >>
is this possible? (text)
Posted by Branching at 6/23/2004 1:42:18 PM
I have a dynamic text field, with no embedded fonts, I need if the user doesn't
have this font on his machine, to use another font instead, and if possible
also change the formatting settings (left/right marging, etc...).
Thanks.
... more >>
Movieclip depths
Posted by Some Random Name at 6/23/2004 1:41:58 PM
ive used actionscript to duplicate a movieclip a few times, however they always
appear above the buttons in the scene. I thought it may have had something to
do with the depth variable in duplicatemovieclip() but Ive tried a range of
numbers and it made no difference, any suggestions?
... more >>
Dynamic content not loading when in HTML document
Posted by trackfive at 6/23/2004 12:56:14 PM
I've got a flash file that is using an xml file to load some text and jpeg
files dynamically. It is working perfectly when I view the published swf file
in the Flash Player or dragging it into a browser window. My problem is
happening when I place the swf file into an html document and view it... more >>
Buttons dynamically
Posted by vasuk at 6/23/2004 11:56:02 AM
Hi,
How do i create Button/Radio Button/CheckBox dynamically?
I tried:
_root.attachMovie("FPushButton","myBut",200); - Not working.
Thanks in advance
-kv
... more >>
fonts
Posted by tatjana at 6/23/2004 11:37:43 AM
hy can can someone tell me how can i set font for flash... I am working
with specific font wich is not common so when i upload it only i can see
that font, noone els, so how can i link the font(tff file) to be red by
flash?
... more >>
Flash does not create class instance (sometimes)
Posted by __yx__ at 6/23/2004 11:30:52 AM
Sometimes when I'm trying to create new instance of a class Flash neither
creates the instance nor reports any error message.
When I'm debugging the script instead of the "step in" option debugger
executes "step over".
Does anybody encountered the problem? May somebody can understand wh... more >>
linkage id's
Posted by Todd Coulson at 6/23/2004 11:16:53 AM
Another quick question today.
Is there a way to return all the linkage id's in a particular movie? Like
can you get an array of all the linkage ID's in an fla, then cycle through
them and if your string doesnt match any of them make a text field to
contain the string? I am looking to make a ... more >>
Clear/Kill varibles
Posted by Coogie84 at 6/23/2004 11:16:12 AM
Can anyone help me with this...
Is there a Function where I can set ALL the variables in Flash to Undefined/Blank/Empty... etc
Thanks in advance!!
Adam... more >>
getURL opens under projector, not as a pop-up
Posted by dabac at 6/23/2004 11:01:04 AM
Hello!
I have a Flash application executing as a stand-alone player in a fullscreen
mode which calls getURL method.
But, the new window opens as a pop-under (it is not visible until you quit the
main application which is in full screen), and I want it to open as a pop-up
window.
What sho... more >>
neater for loop
Posted by smrdo at 6/23/2004 9:24:57 AM
Hi,
i have the following 'For' loop which is disabling a dynamically created list
of buttons, this is the only way i could think of to get this to work (had to
do it quite quickly as i have a tight dealing on this)
does anyone know of a tidier way of achieving the same thing..
for (i=1;... more >>
neater for loop
Posted by smrdo at 6/23/2004 9:24:51 AM
Hi,
i have the following 'For' loop which is disabling a dynamically created list
of buttons, this is the only way i could think of to get this to work (had to
do it quite quickly as i have a tight dealing on this)
does anyone know of a tidier way of achieving the same thing..
for (i=1;... more >>
Related Tables in XML with Flash
Posted by georgeatef at 6/23/2004 8:49:07 AM
Hi,
i'm doing a CD presentation project using FlashMX and there must be a database
to hold number of companies, so that a user can get the CD make search for
companies by sector, products, .... etc.
i decided to use XML as an offline database not need any setups or
installations for s... more >>
Acitonscript funtion for name of current frame?
Posted by keith brickey at 6/23/2004 8:43:21 AM
Is there an actionscript function that returns the name of the current
frame?
Thanks,
Keith
... more >>
Number() do not convert combo.getSelectedItem.dat
Posted by georgeatef at 6/23/2004 8:40:48 AM
Hi there, here is my problem
Number () function is not working with combo.getSelectedItem.data !!??
[CODE]
for(i=0;i<maxContentItems;i++){
DataRow = level1Child.childNodes.childNodes[0].firstChild;
Name = level1Child.childNodes.childNodes[1].firstChild;
comboo.ad... more >>
help me with this...please..!!!
Posted by tan_sh at 6/23/2004 8:39:38 AM
hi all,
i am a newbee to actionscript...
so please help me out with this problem...
just understand this...
i have a movie which has 3 buttons which on clicking plays a 3 respective
movieclips.
1). how do i link a button to a movieclip..???...what actionscript do i
implement...??... more >>
Animated Preloader
Posted by 1219 at 6/23/2004 7:21:31 AM
Hi
Would anyone know how to make a bar similar to this animated one on
http://www.emifilmtv.com/emifilmtv.aspx
I want to make a bar similar and also preload it simlar to where it grows as
it loads...
A.C. Spanier
... more >>
Mouse move on flash
Posted by Belal_BD at 6/23/2004 4:33:56 AM
Hi, i am having a problem, i need to solutions, can you help me please....
my problem is : i want to stop flash movie when mouse will move on this movie
and when mouse will be stop 10second then movie will be start again.
Thanks
Belal
... more >>
Actionscript 2.0 : Why is this ?
Posted by dillontdaniel at 6/23/2004 4:05:29 AM
Actionscript 2.0 : Why is this ?
I?ve been very happy with Flash MX, and decided to tryout Flash MX
Professional 2004, after learning about the wonderful host of features in MX
Pro 2004. Much to my dismay, I found out
that I?m UNABLE to script in Normal Mode anymore!
Could anyone reas... more >>
Disable right click menu
Posted by Pagy at 6/23/2004 2:58:40 AM
Hi All,
I am using Flash 5 / MX. How do I disable the menu which pops up on right
click. The fscommand leaves a little scrap of "About Macomedia Flash player
x.0....'. I would like to eliminate even that. How do I do that?
With warm regards,
Parag Shah
... more >>
Pan Movie Clip
Posted by 1219 at 6/23/2004 2:42:20 AM
Hi,
I want to learn how to pan/scroll through a clip like this site (
http://www.punisherthemovie.com/ )
I want to be able to create an environment bigger than the screen and have
visitors pan through to access other content.
If anyone knows where I can find a tutorial on this or h... more >>
Dynamically importing .mov files into Flash
Posted by joeprce NO[at]SPAM hotmail.com at 6/23/2004 2:30:03 AM
Hi all
I want to dynamically load in .mov files into my flash movie.
Does anyone know if this is possible? and if so, how?
Using loadMovie it looks like you can only load in .swf or .jpg files
any ideas?
If this is impossible, can anyone suggest any alternatives? - I
definitely want... more >>
A compiler bug for static array !
Posted by wiyiflash at 6/23/2004 1:11:02 AM
excuse me ,my english is so poor ,so ,read my code first.
---[TestClass.as] begin---
class TestClass {
static var text_array = ["a", "b", "c"];
static function getRandomText():String{
var r = Math.floor(Math.random()*3);
//trace("r="+r);
var text_r = TestClass.text_array[r];//this co... more >>
|