all groups > flash actionscript > september 2004
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
Load and position image
Posted by imsammyd at 9/30/2004 11:54:14 PM
I am trying to dynamically load some images into a flash movie at runtime using
mc.loadclip(). I won?t know the size of the image because the images will be
chosen by the user. It doesn?t seem like I can position or scale the image to
fit?? If I do a mc._width or mc._height after the image... more >>
Ecommerce with Flash (Macromedia Store)
Posted by complexity at 9/30/2004 11:49:45 PM
Hi all,
I don't know much about Ecommerce but want to get involved. Do Macromedia
provide any online tutorials or examples on how to build a proper/secure
ecommerce application like there online store? (Flash version)
As the amount of 3rd party carts ecommerce and ecommerce hosting solut... more >>
Textfield
Posted by alejandrolaplata at 9/30/2004 11:46:30 PM
Here's the problem:
I have a dynamic text field with a text format that's not uniform. How can I
add new text without loosing its previous format? I can't work it out without
using html. I need some help.
... more >>
Hide password type
Posted by dmcdonald at 9/30/2004 9:12:11 PM
I know there's a way to make sure type that is used in a password field shows up as asterisks but I can't remember how, help?... more >>
Combo Pause and Play Button Actionscripting?
Posted by kevin_tx at 9/30/2004 7:13:00 PM
Hey all...
I'm using flash mx pro 2004 and exporting for Flash 7 player and am wondering
how to create actionscript whereby an individual button first appears as a
"pause" button when audio is playing and then when user presses the pause
button, it reverts to a "play" button and audio is ... more >>
sharing font symbols
Posted by _jrh_ at 9/30/2004 7:00:33 PM
I have tried two different methods, both without success. The first was just to
use loadMovieNum and access them via their linkage identification. Didn't work.
The second option was to use a Shared Library. I can't get that to work either
(can't access the symbols), let alone even update after... more >>
a couple of loadmovie questions
Posted by dresden phoenix at 9/30/2004 6:21:49 PM
I may have just painted myself into a corner here, but before I spend hours
experimenting to see how I can get around this I thought I would tap the wisdom
of the Flash experts at this forum.
I have a flash presentation I created a few years ago. I am in the process of
updating and optimiz... more >>
Parallel Port
Posted by sesion23 at 9/30/2004 6:05:04 PM
Is there a way to control Parallel Port with ActionScript ??? I mean, I want to control some leds with parallel port in Flash.
Thanks.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Preloader doesn't recognize runtime loaded images
Posted by Epic Union at 9/30/2004 5:33:54 PM
How do you get Flash to recognize externally loaded images on start-up with a
preloader? Here the deal:
1. I have two scenes in my movie: scene 1 is my preloader code (below) and
scene 2 is my movie content
2. If in scene 2 I have 20 images being loaded externally (loop), this
preloader ... more >>
Experts: I DO need your help (Flash bug?)
Posted by Manare at 9/30/2004 4:32:07 PM
This matter is something I haven't been able to solve for long and now I'm
really desperate to find out an answer.
Here's a http://www.estudiespai.com/Non_Working Forms.zip to a very simple zip
file (as example) containing the conflictive fla and other files, for those of
you who may want to... more >>
ActionScripting
Posted by pecka85 at 9/30/2004 4:17:02 PM
I got an assignment where I am supposed to make a figure go to the right in the
movie, and de-accelerate. Only using ActionScript.. What do I need to write in
the ActionScript?..
Hoping on an answer! :D
... more >>
Media component
Posted by domconlon at 9/30/2004 4:16:57 PM
Hi,
I'm having trouble with the media component. I'm trying to stream a video file
but it stops dead after about 2 minutes. Are there limitations on the amount of
data you can stream? the FLV file is 10meg and all the data is still intact.
I've tried setting the time in the component inspe... more >>
Help with sound please
Posted by joedisney at 9/30/2004 3:59:04 PM
I am using Flash MX2004 Professional and I would like to have a .wav file play
in a frame automatically then when the .wav file is done playing to
automatically advance to the next frame. Can someone help me on this one?
Thanks.
... more >>
creating an ActionScript file
Posted by ruth_hartsook at 9/30/2004 3:28:28 PM
I am trying to create a new ActionScript stand aline .as file for the first
time. Under File, New the only option I have is to create a new Flash file.
There is no option to create an ActionScript file. Can any one help? I am using
Flash MX 2004 in Windows XP.
... more >>
getting a frame's label dynamically
Posted by ssavage02 at 9/30/2004 3:16:20 PM
I have a dynamic text box and i want its value to be that of which frame the
movie is on.
My code looks as follows so far
dynamicVariable = _root._currentframe
and that gives me the current frame number, but i would like to display the
frame label, any ideas.
thanks.
... more >>
Goto and play with multiple scenes
Posted by Panhandle at 9/30/2004 3:11:46 PM
Hi there
I am trying to create a simple website using flash, I've made silly movies but
that's about the limit of my knowledge so I'm kinda learning as I go.
The problem I am having is that I have 5 scenes in total and all the button
links are on the first scene (or homepage) I can link to ... more >>
SwapDepths in loaded swf problem
Posted by bdwilliamsdotcom at 9/30/2004 3:06:02 PM
I created a swf that uses swapDepths() to keep the dragging piece on top.
Everything works fine when the swf plays on its own. When I load the swf into
another swf, the swapDepths no longer works. Is there any way to keep this code
in the child clip, or will it need to be moved to the parent t... more >>
detecting the current URL
Posted by ulrichkm at 9/30/2004 2:59:26 PM
Okay, let's see if I can explain my question well.
Is there an easy bit of actionscript that detects what the current URL is?
Example...
I have an if statement that does the following:
If URL is default.html then
highlight the home button
Elseif URL is about.html then
highlig... more >>
draw api issue
Posted by Pluda at 9/30/2004 2:59:15 PM
Hello there,
I'm trying to use the Draw Api functions to design 10 rectangules dynamicaly.
For that, I'm trying to use one for in loop to make this happe, but I only get
one rectangule...
e = this;
function desenhar_rect() {
for (i=0; i<10; i++) {
e.createEmptyMovieClip("rect"... more >>
Headache with for(var obj) - please help me!!!
Posted by loop360 at 9/30/2004 2:53:22 PM
I am using 'for (var obj in) ' to determine whether the objects contained
within the parent mc are movieClips and if they are, add them to an array. The
problem occurs when I add each object into an array as it adds them in reverse
order and I can't sort the array as it gets confused when its ... more >>
VB and external swf
Posted by whrage at 9/30/2004 2:43:39 PM
Hey all,
If this is a repeat post I apologize in advance...
I am running a series of flash files from within a SCORM based html
presentation. I need to call a vb function "getlocalpath" (which does just what
it says), it finds the user's local path on their CPU. I am using this
functi... more >>
Preloader only works once !!! HELP !!!
Posted by hmsg at 9/30/2004 2:41:33 PM
Hello!
www.hmsg.net
I have a webpage (www.hmsg.net) where i have a index.swf and a portfolio.swf,
in the index i have a button that on click load the portfolio.swf and start
playing it.
In the portfolio.swf the Scene2, first frame is empty and is where i have the
actionscrip... more >>
Passing values to GotoAndPlay
Posted by Arshish at 9/30/2004 2:38:54 PM
I am trying to pass a value located in a variable to the gotoAndPlay, but no
matter what I do I cant seem to get it to work.
Is there a way of doing it? I cant seem to find anything in the Flash help
language reference
_root.hslider.onRelease = function()
{
_root.hslider.sto... more >>
loader feedback on sub clip?
Posted by vintagetone at 9/30/2004 2:35:14 PM
Hi,
I have a root movie that is loading sub movie clips. My quesiton is, do those
sub clips get an "on load" event?
I have been trying to get a load bar for the sub clips. You can see it at
www.kerrmedia.com.
I guess the load bar, using the getBytesLoaded and getTotalBytes, has to be in ... more >>
Advance to next frame when sound is done?
Posted by joedisney at 9/30/2004 2:34:40 PM
I am using Flash MX2004 Professional and I would like to have a .wav file play
in a frame automatically then when the .wav file is done playing to
automatically advance to the next frame. Can someone help me on this one?
Thanks.
... more >>
Dynamic link
Posted by svogla at 9/30/2004 2:19:31 PM
Guys,
I have designed a flash banner, it loads the text and link from an external
..txt file which is to be updated frequently, I just noticed that it works fine
with simple url's (www.macromedia.com) however if the link contains any other
parametre (generated by dynamic jsps) like for exa... more >>
preloader problems
Posted by Flash nooby at 9/30/2004 2:13:37 PM
I have built a preloader for a movie which has sounds in it. However in order
to get the preloader to start at 0% I had to uncheck "export in first frame"
for my sounds. I read in a tutorial that I should include my sounds in an
external swf and load this in. So I've been trying but it's not w... more >>
Two Questions: www.melaniedunea.com
Posted by JLazanowski at 9/30/2004 1:55:06 PM
Q1) How is this flash movie http://www.melaniedunea.com set up to expand to
fill 100% of the screen and remain in the center of the screen no matter how
the window is expanded or contracted?
Q2): If you click on "photographs" on the navigation bar and click through a
few photos, you will n... more >>
Disabling maximize button
Posted by AnuSatish at 9/30/2004 1:52:57 PM
Hi,
Could anyone pls. tell me how to disable the maximize button so that the user
will not be able to maximize the swf / exe file.I have tried using fscommand
("allowscale",false). It doesn't work. Is there any other way to disable it ?
Appreciate your time & support
Thanks & Regards
... more >>
Stop Email Bombing
Posted by K_2_J at 9/30/2004 1:50:54 PM
I have an email submit form, which allows the user to keep clicking the submit
button whilst the PC is still trying to send the 1st message, resulting in me
receiving a lot of duplicate emails.
To view an example of this http://kjohnston.homeip.net/test
I've attached the Flash file and i... more >>
Actionscript Book
Posted by moresure at 9/30/2004 1:37:32 PM
What do you recommend for a new media person on an Actionscript book? Someone learning the ropes, and then could be used as a good reference later on??
Thanks in advance.... more >>
help launching applications please.
Posted by dannyboy66 at 9/30/2004 1:36:07 PM
I am faily new to flash but understand the fundimentals of programming.
What I am trying to do is open a word document from a button in flash. Have
seen all kinds of conflicting information and was told to get swf studio, which
I did but can't find any help on. Was told to get jstart pluggin... more >>
checking two statements at once in an 'if'
Posted by 15266 at 9/30/2004 1:35:00 PM
I am trying to check the _x and the _y positions of a movie clip in a single if
statment.
I thought it was something like:
on (release){
if (mymc._x == 50 ++ mymc._y == 50){
do this;
}
}
But Flash does not seem to be checking both of the statements. What is wrong
with my synt... more >>
Selection does not select:)
Posted by asilter at 9/30/2004 1:34:02 PM
childNodes[0] of xml is "serdar".
instance inpText.text="serdar" and variable of it inputText="serdar". i can
see the result in textfield.
but after selection commands only the cursor ( | ) stays like s|erdar
no selection is seen.
why not?
//XML Loading.............................. more >>
Component question
Posted by Dave Mennenoh at 9/30/2004 1:03:18 PM
In a project I am finishing up my customer is experiencing some odd
behavior. Sometimes when they modify a value in a field they say it modifies
the selection in a combo box component. I cannot replicate this behavior and
neither could they while I was on the phone with them. It seems as though
... more >>
Changing axis of rotation - simple bowling ball
Posted by cbird at 9/30/2004 12:44:49 PM
I understand how to make a ball roll CW/CCW in a simple motion tween - rotating
on the Z axis but how do I make it roll along the Y axis without doing frame by
frame animation. I.E. I don't want the ball appear to rotate while it's
traveling left to right on the stage; I want the ball to roll... more >>
Panning a movieclip and stopping it.
Posted by flamin_mongrel at 9/30/2004 11:19:40 AM
Hi, I am working on a project where I have a large map of a city that is too
big to fit on screen so I need to be able to pan it north south east and west
using buttons placed at the different compass points. I will use a mask to only
show the relevant portion of the map on screen. How can I g... more >>
How can we search for text in swf?
Posted by Abhiuday at 9/30/2004 11:16:02 AM
Hi,
I need to make an application where I could search text (words, phrases) in flash files (swf).
Anybody have any idea how to do it?
Abhiuday... more >>
Need Help - Preloader
Posted by RED-DWARF at 9/30/2004 6:53:55 AM
ok im new to flash mx and i have made a website but i would like a preloader
but i have absolutely no idea of how to make one. I need it to load up to
specific frames, can anyone help me as to where i can find information on how
to make one or samples? cheers.
... more >>
controlling .flv video
Posted by olally at 9/30/2004 5:39:33 AM
hi does anybody hassample code for controlling video by moving the cue handler
which is like the video in the url
http://www.macromedia.com/devnet/mx/flash/video.html?promoid=home_dev_flash_vide
o_021104
please forword me the the files if any...
thanks
... more >>
Caaling ftn from inside a mc
Posted by Manoj vn at 9/30/2004 4:49:16 AM
Can i call a function in the main time line from inside a mc, with out using _parent or _root.
new Object() can have any role regarding this?
Thanking you
MVN... more >>
Stop movie/Play sound/Play movie
Posted by mum4 at 9/30/2004 4:37:10 AM
I need to stop the movie by clicking a word which then plays a sound file (e.g.
I click on the word "apple" and hear the word "apple" said aloud) then start
the movie playing again.
I used the mouse listener code to Stop/Play but don't knw how to include the
sound files (there are 25 words w... more >>
startdrag() using several mc...
Posted by bso_71 at 9/30/2004 1:24:36 AM
Hi,
I want to be able to drag several movieClips at one single click but when I use the startDrag() function I only can drag one movieClip. How can I do this?
Thanks!
brenda sanchez...... more >>
Editing TextArea Background
Posted by Tim Robertson at 9/30/2004 12:35:44 AM
Hi,
I am trying to change the look of a TextArea component I have added to my
flash file. I have been able to create a new theme (by copying, editing and
importing a new version of Halo), but I cannot figure out how to change the
background of the TextArea.
Currently I have a series of bac... more >>
ADVANCED - Class references are still there after
Posted by d2kagw at 9/30/2004 12:30:32 AM
Hi There,
Im having some really weird issues with loading external SWF's and its class
files hanging around after the movie is unloaded....
Its kind of tricky to explain, but you can see it very clearly in this file...
http://69.0.250.15/What_the.zip
Just run the main_stage.fla within ... more >>
XML import in Flash
Posted by freez at 9/30/2004 12:16:20 AM
HI,
I have to import a xml File. I wrote
obj = new XML("<h1>test</h1>");
obj.load("test.xml");
I checked it if the load was successfull with obj.loaded and it said true.
After this I print it out with trace(obj.toString)
And it tells me "<h1>test</h1>", but i tought that obj.load(... more >>
remove Movie
Posted by dech at 9/30/2004 12:04:16 AM
I placed this in Flash Handhelds, but I guess no one wanted to hold my hand:
Why can't I remove a movie clip as easily as I attached it? Thanks.
on (rollOver) {
empty_mc2.attachMovie("htprofile", "htprofile_mc", 0);
}
on (rollOut) {
empty_mc2.removeMovie("htprofile", "htprofile_mc... more >>
multiple XML files
Posted by mmcd at 9/29/2004 11:56:06 PM
Howdy -
Can I use a wildcard (*.xml) to have Flash take all of the XML files in a
specified folder and combine them to create dynamic menus? At the moment, I'm
loading 1 XML file and using that to create dynamic menus/submenus, etc. But I
need to load multiple XML files, all with the same ... more >>
setInterval alternative
Posted by ONE_MASTERT at 9/29/2004 11:39:51 PM
i am working on a movie that moves a MC one way then when the end of the MC is
shown it waits 3 seconds and moves the other way right now im trying to use
test = setInterval(moveRight, 3000);
but i am having some problems like the clearInterval won't work and the ifs
are getting screwed too... more >>
Is this possible? - move a clip to another level?
Posted by Broabus at 9/29/2004 11:05:38 PM
I have a movie which loads into level 10 that is made up of two clips:
1. The menu, which sits on top.
2. the background image.
I want to preload the whole movie, then once its done loading, send the
background image clip down to level 2 so that I can bring new movies into the
levels b... more >>
|