all groups > flash actionscript > april 2004 > threads for thursday april 15
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
totalframes of an external swf
Posted by PeterB NO[at]SPAM WebEx at 4/15/2004 11:20:48 PM
Can I find out what the totalframes are of an external swf that I have loaded
into my "parent" movie?
I'm trying to create a progress indicator that plays the length of each new
external swf I load into my "parent" movie.
Can anyone help me out here?
Thanks!
... more >>
rotating 3d jpeg
Posted by propatria at 4/15/2004 11:14:59 PM
like the title says "rotating 3d jpeg" is there anyway to make a jpeg look 3d,
and rotate?
___________________________________________________________________
thanks, Cody... more >>
Constructor of class the inherit MovieClip
Posted by ArieKo at 4/15/2004 10:56:09 PM
I am linking a movie clip with a class the extends it.
The constructor of this class should get parameters.
How can I pass the parameters to the constructor?... more >>
USB Controller Support
Posted by pharaohman98 at 4/15/2004 9:46:46 PM
Okay. Here's the big one. Of all the questions I unleash to the forum this is
the most crucial for my project (even though it might not sound important).
I'm also afraid that it might be too advanced a topic for me to get involved,
but in any case here it goes.
For my 2D Flash fighting ga... more >>
Tell me it isn't true!!
Posted by targetplanet at 4/15/2004 9:45:55 PM
Is it true that when duplicating a movieclip that has a dynamicly loaded image,
the image will not duplicate?
This is what is happening to me, and from what I have read, it is a lost cause.
Please tell me it isn't so, and how to fix it...
... more >>
creating masks with actionscript
Posted by Dave_090 at 4/15/2004 9:29:02 PM
Hello.
I am trying to get a mask to load with actionscript when I press a button.
I can get the movieclip to load, and I can mask the _root movieclip, but when
I try to use it to mask the movieclip that i want all I get is black fill where
the mask is supposed to be!!
can anyone help?
... more >>
Live video feed from DVD
Posted by shirazmexico at 4/15/2004 9:05:43 PM
Hi,
i am able to display a live feed from DVD but the display is a zoomed centre
view of the clip using the following code:
_root.LiveVideo.attachVideo(Camera.get(0));
Can somebody please help on how to display the full clip.
Thanks
... more >>
Flash MX Professional
Posted by aleesa at 4/15/2004 9:01:55 PM
Let's say you have a graphic (arrow) on a slide in your presentation that you
want to get rid of/hide/delete when you press one of the buttons (that have
been set up already) to navigate around, zoom in, zoom out, move the graphic to
the left, right, top and/or bottom. Right now the arrow is ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
help with a function
Posted by zsol at 4/15/2004 8:59:48 PM
hi all...
looking for advise on converting a nav scheme to function based code...
exisitng code reads like this:
//evals location and sets a nav page via variable
if (location eq "Home") {
pagina = "index.asp";
} else if (location eq "Choose Us") {
pagina = "choose_us.cfm.asp";
... more >>
stop loading that image, now load this one
Posted by wierdoman at 4/15/2004 8:56:38 PM
Can anyone help me?
I am creating a website with many images of items for sale. I load the images
using loadMovie.
I want to be able to immediately stop an image from loading (if it's not all
the way loaded yet) when someone clicks a button to load a different image. I
attempted to d... more >>
Button States - How to stay down?
Posted by PB Dev at 4/15/2004 8:34:21 PM
This is a very basic question, but I just can't figure it out right now.
I have a set of four buttons (defined as buttons). What I would like to
happen is once one of these buttons to click for it to stay in the down
position.
I would also like it so that when I push a second button the... more >>
Flash Question
Posted by aleesa at 4/15/2004 8:32:35 PM
How do I scale (zoom in, zoom out) an image from it's original location (center
of the screen)?When zooming out it scales towards the lower righthand corner of
the presentation window. When I zoom in it scales towards the upper lefthanded
part of the presentation window.
... more >>
weird behavior
Posted by loudmouth72 at 4/15/2004 8:26:51 PM
Has anyone come across this---
this is my code to create an emptyMovieClip:
on(change){
_root.HoldImage.createEmptyMovieClip("mc_Holder",123);
loadMovie(this.getValue(),"_root.HoldImage.mc_Holder");
}
I get the jpg to load into the emptyMovieClip from the combo box but here is
the pr... more >>
Arranging dynamic buttons on stage
Posted by skaiwayne2 at 4/15/2004 7:40:30 PM
I'm creating buttons dynamically depending on the number I get from a file. So
far I can align the buttons either straight up and down having 1 per row or all
across. I want to be able to add as many as I want per row. Like this:
B1 B2 B3
B4 B5 B6 and so on. How do set the number of rows an... more >>
Why does this not working?
Posted by Pluda at 4/15/2004 7:28:31 PM
Hello,
I have a php file that echoes this var "categoria=1"
I need flash to if categoria ==1 goto frame 1
I'm using this:
if (categoria == 1){
gotoAndStop(5);
//categoria = 1;
} else if (categoria == 2){
gotoAndStop(6);
//categoria = 2;
} else if (categoria == ... more >>
need help with volume on/off controls ASAP!
Posted by eliseh81 at 4/15/2004 7:15:35 PM
Flash gurus out there - please help!!!
I have created a flash animation that contains an audio track. This swf. file
is embedded in an html file to be put on the web. I do not want to change the
design of my animation to contain an audio on/off button. I would like to make
a separate flas... more >>
ComboBox & Loading external SWF
Posted by Benz862 at 4/15/2004 6:33:29 PM
I have an SWF file which loads and external SWF file which contains a comboBox
that loads data into a placeHolder. When I run the external SWF by itself,
everything works out fine. Once I load the external SWF into the main SWF
file, the comboBox no longer loads data into it's placeHolder.
... more >>
what is a color offset?
Posted by sneakyimp at 4/15/2004 6:12:46 PM
i'm reading the flash docs on the Color object....it refers to a color
percentage and a color offset. first, i've never seen negative values for RGB
color...second, what the heck is color OFFSET?
ra is the percentage for the red component (-100 to 100).
rb is the offset for the red comp... more >>
Comparing text field with droptarget
Posted by GrassRootsDesign at 4/15/2004 5:07:42 PM
I am trying to compare a range of text fields with their counter parts. I
have both fields defined with simular names from which I am extracting a
common number. I am able to get a match between the text field text and the
droptaget text but can't figure out how to then compare the range to see i... more >>
what a drag! Dragging multiple MC instances
Posted by dconner67 at 4/15/2004 4:49:29 PM
OK, here's the problem: I need to create a simple interface where the user can
drag several objects, one at a time, from one place to another. So far, I'm
using nested movie clips. The inner clip has a button script which turns the
drag on/off:
on(press){
_parent.dragging = true;
}
... more >>
Quiz with multiple correct answers?
Posted by FritoLays at 4/15/2004 4:48:36 PM
I'm developing a quiz, and I need to have a question with four answers (A, B,
C, & D).
Choice D (all of the above) is the correct answer; However, I'd like to set
this up so that the user can also check A, B, and C and still be counted as
giving the right answer.
Note that they can't j... more >>
Delete a Scene with Actioncript?
Posted by drbirkett at 4/15/2004 4:31:03 PM
Anyone know if you can delete a scene with Actionscript?
delete (thisscene);... more >>
how to create a dynamic menu with submenu
Posted by Doctor Web at 4/15/2004 4:18:03 PM
Do you know any good tutorial and/or script about creating a menu with multiple submenus? i think is better if it works with an externa xml file.... more >>
gotoAndPlay("prevScene"); IS NOT WORKING
Posted by timbo313 at 4/15/2004 4:14:34 PM
I have never been able to get this script work in any my documents.
on (release) {
gotoAndPlay("prevScene");
}
I have always resorted to programing the button on each scene to specifically
go to the scene before it by using the scene name. Now that I've found this
online forum... more >>
Trimming a string
Posted by Chris at 4/15/2004 4:01:30 PM
Is there a easy method from trimming the spaces off the beginning and end of a
string? I want to test to see if a dynamic text box is empty, which includes
being just a space or spaces. In PHP I can just do trim(variableName) but there
doesn't appear to be a direct equivalent in ActionScript (... more >>
Reference an object in another scene?
Posted by Clacker at 4/15/2004 3:30:45 PM
Is it possible to reference and change an object (button etc) in another scene to change its attributes?... more >>
need help with variables
Posted by eniGMa-TheBiG-Man at 4/15/2004 3:14:00 PM
hi,
i am trying to setup a tree of buttons (*.swf) that are linked to a separate
*.swf file which shows the corresponding server position.
i could load the separate *.swf file, but not from the specified frame (it
always starts on the 1st frame)
i tried it with the "goto" function fi... more >>
Calender
Posted by fatnslow at 4/15/2004 3:10:17 PM
Hi, is it possible to make a calender, showing my next football match and the date and such? place, time etc...
Thanks... more >>
Cash meny
Posted by almliden at 4/15/2004 2:36:01 PM
I have a meny with 30 buttons that is loading in 30 different swf movies. You
can klick were ever you want and i need some sort of cash that remembers where
I?ve bin. I am suppose to go back and fourth whith 2 buttons. The name of the
swf:s are 1.swf, 2.swf, 3.swf to 30.swf. If you have a scr... more >>
Intellisense, Code Hint, on Flash MX 2004 Pro
Posted by Maglez at 4/15/2004 1:30:19 PM
Hello.
As code hint is very limited I've been searching for ActionScript tools, I
only found SciTEFlash from http://www.bomberstudios.com/sciteflash/.
Could anyone else recommend an ActionScript editor?.
Thanks.
... more >>
can a user of my application save any data in file
Posted by adelezz at 4/15/2004 1:07:59 PM
i want to make a garphics program and give the user the chance to save his work .
can i make it without using server-side application?... more >>
Difference Between Flash / Flash Plugin
Posted by DanRD at 4/15/2004 12:56:49 PM
What is the difference between Flash Stand alone Player and the Web Browser
Plugin?
How come some things will work on my desktop and not in a browser. Are there
different function abilities or is this a security limitiation.
... more >>
Writing a File from Flash
Posted by Good4Sule at 4/15/2004 12:35:48 PM
Sorry if this is a stupid question, but my experience in advanced Flash
development and action script is minimal...
Is it possible to write an external file from Flash? I know that Flash can
read other files such as .xml, however I?m not sure if you can actually do
something using action s... more >>
need help with variables...
Posted by eniGMa-TheBiG-Man at 4/15/2004 12:29:05 PM
hi ppl,
how can i assign a variable in one flash movie, then load that variable from another flash movie sithat
i can use that variable to calculate.
plz help!... more >>
Flash and MYSQL DB!
Posted by iltecsam at 4/15/2004 11:58:59 AM
We are working on something new.
Please have a look at this
http://209.235.245.240/flash/
When a user creates his/her T-shirt it needs to be saved in a MYSQL DB when
they click on Save Entry. How do we save this? Action Script? I really need
some help with this.
should also be... more >>
Display Current Year in Movie
Posted by Dr. DOT at 4/15/2004 11:21:09 AM
Is there a way to dynamically capture the current year from the server and have it displayed in my movie?... more >>
Is there any way to use asto outline text ?
Posted by ebam2004 at 4/15/2004 9:21:15 AM
I need to create an outline round some text. I know this can be done in the
authoring environment by breaking the letters apart and adding an outline to
them as shapes (with the ink bottle), but is there any way to do this at
runtime on dynamically entered text, or does anyone have good tip fo... more >>
Problems with combobox component in MX2004 Pro
Posted by coolcure34 at 4/15/2004 9:20:14 AM
I've created a form in a swf that is loaded in another swf file. This form
contain various combobox.
When I run the swf file directly, everything runs well. But when I load the
swf in the other swf file the comboboxes don't open. They are focused but don't
show the list.
Can sombody help... more >>
PrintJOb
Posted by edwinmerced at 4/15/2004 8:28:03 AM
Anyone can pint me to good references on PrintJob action
Thanks... more >>
gotoandStop is driving me batty!
Posted by herod2221 at 4/15/2004 7:21:17 AM
hi.
i have a scene that contains 2 movieclips. one movieclip contains a bunch of
buttons. the other movieclip contains a bunch of frames. i would like to push
a button in the first clip that will send the timeline in the second clip to a
specific frame. i've been using:
on (press) {
... more >>
Can FlashMx2004 open .pps or .pdf files?
Posted by hiswords at 4/15/2004 6:24:05 AM
Hi guys,
Im in the midst of this project which requires me to open .pps and .pdf files.
Im aware that flash is able to open .exe with the fscommand. But i have tried
opening .pps and .pdf, doesnt work.
Can any help me with any suggestions of how i am able to go about opening this
files wit... more >>
Attach Shared Library Resource
Posted by andros at 4/15/2004 4:48:13 AM
Is there a way to attach a movieclip which is imported as a shared Library
resource?
I do not want to loadMovie as the MC has commands in it that accesses a higher
level...whcih does not seem to work.
ie:
If i tell MC1 to loadMovie("mc2.swf") the commands in mc2 cannot reach up
... more >>
Attaching movie to an external .as file
Posted by wee_roger21 at 4/15/2004 4:33:58 AM
Hi Guys,
I have a .as file Target1.as which looks like this.
class Target1 extends MovieClip{
var n:String;
function Target1(){
this._x = random(400);
this._y = random(400);
trace("testin");
}
function getX():Number{
return this._x;
}
functi... more >>
Looping through all of the text objects in a movie
Posted by umop at 4/15/2004 4:26:56 AM
Hi folks,
Is there any notion of a list of objects or text fields that I can cycle
through and inspect on a per-item basis -- similar to the way one can use
elements in Javascript? If this is not possible, is it possible to at least
see which text field the user has clicked on and get a r... more >>
Does anybody know how to use MMExecute?
Posted by umop at 4/15/2004 3:42:29 AM
MMExecute -- It doesn't work in a playing SWF file -- what ever can I do?
Example:
var libe:Array = MMExecute("fl.getDocumentDOM().library.items;");
trace(libe.length + " items in library");
Result:
"0 items in library"
... always
... every time
... no matter how many library ite... more >>
Issues with Preloader script
Posted by 3DFiery at 4/15/2004 3:00:14 AM
Hey,
Im fairly new to Flash MX 2004, I'm tryng to create a preloader that plays a
movieclip thats on frame 1 until the movie on scene 2 is loaded, then Stops the
the animation on frame 1, goes to frame 2, displays a Loaded message and an
Enter Button and then once the enter button is click... more >>
can you setTextFormat on a portion of a textfield?
Posted by sneakyimp at 4/15/2004 2:29:52 AM
hi:
i have a nifty selectable, draggable, editable textfield on my movie
(type=input). I'd like the user to be able to change the text format of the
text in said textfield...a single character at a time. I've been checking out
the selection object but can't seem to figure out how to chan... more >>
buttons and _roots
Posted by ascensiongrafxx at 4/15/2004 1:22:08 AM
I have a button inside a movie clip and want to use the "if" statement like so:
on (release) {
link = "music";
_root.gotoAndPlay("nextFrame");
}
but for some reason if i use "link="music";" I can not get to the root of the
movie... any thoughts? doesnt seem like i can keep the "link"... more >>
Flash Scroll Bar (PLEASE HELP!!!)
Posted by propatria at 4/15/2004 12:59:29 AM
some one help me! How do I change the color of my scroll bar in flash? is there someway to use html? help, please!... more >>
Please someone help mee!!!!!!!
Posted by moneharder at 4/15/2004 12:38:42 AM
Ok i have a problem.....is in this macromedia home bage or in net where i can find anything about training an actionscrips tutorials or lessons anb better is it have video clip.....ok please help me... more >>
Formating numbers inside of a datagrid
Posted by Paul Whitham at 4/15/2004 12:05:28 AM
Does anyone know how to format a number inside of a datagrid, specifically
how to specify a number to 2 decimal places.
--
regards
Paul Whitham
Valleybiz Internet Design
www.valleybiz.net
Team Macromedia Volunteer for Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia/
Ce... more >>
|