all groups > flash actionscript > october 2005 > threads for tuesday october 18
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
Pattern Matching
Posted by AwesomeDigital2 at 10/18/2005 11:55:06 PM
I have been asked to build something where a customer could start typing in
their policy number, and when a match is found, the proper customer service
contact information would show.
For example -
You start typing 000A, I know that is a term policy, so I can show who you
should call o... more >>
Sound Actionscript
Posted by OniLink at 10/18/2005 11:43:20 PM
I'm stuck,
Is it possible to control the volume of indivicual sounds, as well as having a master volume? If so, how would I go about doing it.
Please help,
~Oni... more >>
why missing background color in loaded movie?
Posted by sst at 10/18/2005 9:34:00 PM
When I load a inner movie to a top movie, the background color of the
inner movie does not show in the top movie. How to avoid this?... more >>
Known issues with img tag in textField?
Posted by lundyt at 10/18/2005 9:30:58 PM
Hello to all,
I have been noticing that there seem to be some problems with the use of the
html im tag in a textfield, even in simple applications.
To be specific, I am loading a variable from a remote text file into a .swf to
serve as the htmlText in a dynamic text field, popup_txt, usi... more >>
how to call function in the loaded movie?
Posted by sst at 10/18/2005 9:29:54 PM
In my top.swf, I have a Loader named "loader" to load another movie
called inner.swf. In inner.swf, there is a function called setValue(). I
want to call this function in top movie, but
_root.loader.setValue("myValue") does not seem to work. What's wrong?... more >>
Setting Mediaplayback content from JavaScript
Posted by TheDub at 10/18/2005 9:08:03 PM
I have what seems to be a very basic problem but I cannot find a solution. I
have an HTML page that contains a flash movie which contains a MediaPlayback
control. I want to simply be able to click on a link in the HTML page which
uses JavaScript to set the content for the MediaPlayback control... more >>
variable name token grom another variable?
Posted by bernizt at 10/18/2005 8:57:12 PM
What I want to do is the following:
vname = "vari"
then vname = "hi" but I want flash to read the content of vname like that
vari = "hi"
This is a pointless example, I know, but you get what I want to do. Is there
any way to do it??
Thanks!!
... more >>
Dynamic named objetcs/listeners
Posted by odahjay at 10/18/2005 7:38:08 PM
if the best practice is to type an object such as:
var myObject:Object;
or
var myObject:Object = new Object();
what is the best way to create dynamic names for those object? I have a bunch
of Loader components that I want to make a bunch of listeners for to handle
the "complet... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to raise an event in a Flash movie using javascript?
Posted by keithb at 10/18/2005 4:28:02 PM
Is there way to raise an even in a Flash movie that is triggered by an
external javaScript?
Thanks,
Keith
... more >>
Can flash movies communicate with each other?
Posted by keithb at 10/18/2005 3:34:57 PM
I have two Flash movies running on the same web page and I need to have one
create an event in the other. Is that possible, and if so, please let me
know where I can get more information.
Thanks,
Keith
... more >>
Change Button Color via Actionscript
Posted by Matthew Morvant at 10/18/2005 2:55:41 PM
Hello,
I have a movie that shows a map of the US (just 48 contig) that is
controlled by an XML file (thanks to one of the regulars here). I have now
decided to try and extend my map a little further by programatically
assigning button color. All of my buttons are simple flat shapes.
Us... more >>
Jump in the timeline depending on the day
Posted by danieldmm at 10/18/2005 1:05:24 PM
What I'm trying to do is jumping in the timeline of an MC depending on what day
of the month it is, eg like today is 18 my MC will jump to frame 18 of my
timeline:::
I'm trying with this:
var today_date:Date = new Date();
var date_str:String = today_date.getDate()
I'm doing this ... more >>
OT (somewhat) ... is Flashcoders down?
Posted by David Stiller at 10/18/2005 1:00:39 PM
Has anyone else's Flashcoders subscription seemed eerily quiet lately?
I can't even say when my mailings stopped, but it suddenly occurs to me I
haven't seen any Flashcoders activity in a while. I'm hankering to post
questions on the Flex Builder 2 alpha available at labs.macromedia.com.
... more >>
slider to control timeline
Posted by age6racer at 10/18/2005 11:22:05 AM
Hello,
I'm trying to make a sliding bar that controls the timeline of a movieclip.
The page I'm working on is https://www.bi03.co.uk/couture
I have written the following code, I doubt it'll work as it is ( I just wrote
it roughly to get the idea across) I need to create a loop so that ... more >>
Combo Box Component and keyboard focus
Posted by PJ Hodges at 10/18/2005 9:57:14 AM
Hi
On a website I have several combo box components used in a search tool which
is always present on the website. There are also other areas of the site that
have input boxes used for registration forms etc.
The problem I have is an intermitant bug that despite the input box appearing
... more >>
Error populating list
Posted by bulletta at 10/18/2005 9:52:41 AM
Hi!
I have a document with two listboxes, one called "lista_firenze" and the other
called "lista_toscana". The "lista_toscana" has no problem, the other remain
empty, and everytime I try to populate it with an additemat I receive the
following error: "Cannot add an item past the end of the D... more >>
Need help!!! complicated counter from a TXT file!
Posted by jorre1506 at 10/18/2005 9:05:27 AM
Thank you for reading this post.
This is my problem, I need to create a financial counter. For example, those
financial aid-shows on TV, you see those big numbers. If someone donates, the
number counts to a new number. I need to create a similair module. Big deal is,
if the number counts f... more >>
Dynamic assignment of function names
Posted by Kevin Stocks at 10/18/2005 8:19:42 AM
I have been using this code to assign mouse events to movieclips to act as
buttons (Thanks for the previous post kglad!!!):
//Button onRollOut
for (var ivar:Number =0; ivar<16; ivar++) {
this["b"+ivar+"_btn"].onRollOut = function() {
this.gotoAndStop("off");
buttonUp();
};
}
my q... more >>
Zoom and drag large vector clip results in big memory leak
Posted by Gary Hoyer at 10/18/2005 7:58:02 AM
My suspicion is that it has something to do with the new garbage collection
mechanism and/or some kind of behind the scenes attempt at automatic bitmap
caching but whatever the cause, the result is a memory leak that does not go
away until flash 8 crashes (standalone or plugin). It is easy to... more >>
Subclassing a MovieClip for Player 5.0
Posted by Fruber Malcome at 10/18/2005 7:15:07 AM
I assume that I'll need to replace any/all register objects and #initclips with
some functionality in order to properly port from AS2 to AS1 (and support
player 5).
I assume that I can get around the register object by doing something like:
_root.CustomInstance.__proto__ = MyMovieClipClas... more >>
clearing scroll pane content
Posted by maddymadhan at 10/18/2005 7:13:56 AM
hi
i am clearing the scroll pane using the following code..
for(i in _root.scrl_pane_mc.content){
var movieArray:Array = String(_root.scrl_pane_mc.content).split(".");
if(typeof(_root.scrl_pane_mc.content)=="movieclip" and
(movieArray[movieArray.length-1]!= "st... more >>
Timecontrolled Slideshow
Posted by VictorFreriks at 10/18/2005 7:10:58 AM
I'm updating the flash-presentations at work. We use a system that has one
'shell' executable that controls the slides (different swf-files) and reads the
sequence out of an xml file. You can use the treemenu or you can just 'scroll'
trough the presentation.
I trying to activate the forw... more >>
addEventListener not working on component in AS2-classed MovieClip
Posted by Andrew Thelwell at 10/18/2005 3:34:21 AM
Hi,
I have an AS2-class based (extended) MovieClip which has a checkbox
inside it. However, when I try to use addEventListener to detect a
click event on the checkbox it simply WILL NOT work...
Here is my code...
//-----------------------------------------------------------
import com.ti... more >>
Dinamic Text Clock
Posted by DJ Sick Nick at 10/18/2005 12:28:04 AM
I need a simple dinamic text field clock can anyone help? All I need is the simplest clock you can make with flash.:confused;... more >>
Portfolio
Posted by guedado at 10/18/2005 12:14:39 AM
I have an example file with an effect i'm trying to figure out. Basically when
a button is clicked on, it loads an image. I know this could be done numerous
ways but for my layout I need to follow with this way.
There's one bit that i'm stuck on though in the example file. On the button
th... more >>
Making scrollbar dynamic
Posted by biiin at 10/18/2005 12:00:00 AM
Have a dynamic text field, in wich i load a text file ( senaste.txt, swedish
for latest.txt). I use loadVariables("senaste.txt", "");
load the text.
The problem is :
The scrollbar component wont adapt to the correct height. Wich means i still
have to make a new swf every time i update t... more >>
Not sure how to troubleshoot
Posted by amyinbrooklyn at 10/18/2005 12:00:00 AM
First of all, let me apologize if I am an idiot. I am trying hard to learn
Actionscripting but I am also trying to get a site up and running at the same
time. The site is image heavy. I tried following a preloader tutorial (as I am
a beginner ASer) to create a preloader for a section of the si... more >>
Preloader only goes to 4%
Posted by AudreyWalker1 at 10/18/2005 12:00:00 AM
Having a problem with a preloader. What's weird is i use this preloader for a
lot of projects, and just modified the file names. When testing the loader, it
only goes til 4%, then disapears, and the rest of the movie doesn't load until
100% is loaded. The preloader has one frame on the first l... more >>
30 seconds with action script!
Posted by citygamer at 10/18/2005 12:00:00 AM
hia everyone. this is simple! is there a action script to make it w8 a ceratin
amount of time, say 30 seconds, then it does whatever the action script says!
like
on(Release)(
wait 30 seconds then
gotoAndPlay(3)
}
or
On(release){
if it has been 30 seconds since you enetered this... more >>
DestroyObject Problem
Posted by ezd_macromedia at 10/18/2005 12:00:00 AM
I'm creating objects like this:
-----------------------------------------------
if (user_label == null) {
createObject("Label", "user_label", getNextHighestDepth());
user_label.text = "User:";
}
if (user == null) {
createObject("TextInput", "user", getNextHighestDepth());
user.se... more >>
removing the longer array with a short one
Posted by Vertine at 10/18/2005 12:00:00 AM
Hey all...i am trying to learn more about looping with arrays. In my movie, i
would like to dynamically add buttons from the library based on the number of
items in my arrays. I am about getting that part down, but the issue is this.
One array is longer than the other....so as you can guess, i... more >>
to go to a frame in other swf movie
Posted by Alma at 10/18/2005 12:00:00 AM
Hello:
I need to go to a marker "basic" in a second movie:
I have write this and only go to the first frame
loadmovie("second.swf","basic");
what do I have to write?
Thank you
... more >>
Functions within Loaded movies
Posted by kalikilum at 10/18/2005 12:00:00 AM
I have a Movie with a function named setSelected(x). I load that movie into my main movie. There I have an
onClipEvent(mouseUp){
setSelected(1);... more >>
Detect if user has zoomed in?
Posted by Mick20 at 10/18/2005 12:00:00 AM
I'm trying to find out if it is possible using Actionscript to determine if a user has right mouse clicked and selected "zoom-in"?
Thanks... more >>
Audio recording and playback application
Posted by Sharnika at 10/18/2005 12:00:00 AM
Hi,
I am looking into the possibility of creating an application for school
students studying languages, that could play pre-recorded pronunciation clips,
as well as record & playback a student's attempt at pronunciation.
It may ideally be a browser-based tool (or, if not, then at least ... more >>
another "dynamic function" question
Posted by kathryn m at 10/18/2005 12:00:00 AM
i read through a bit of the previous post about functions incorporating dynamic
functionality, but i don't think my inquiry is exactly the same. so here's the
setup:
i have a set of named functions that have been named and sorted in numeric
order [ie... function loads1(), function loads2 ... more >>
Closing Flash File with ActionScript
Posted by rmiman at 10/18/2005 12:00:00 AM
Is there a way I can have a file close itself with actionscript whether it be with a button or you tell the file to close if it gets to a certain frame?... more >>
Functions within Loaded movies
Posted by kalikilum at 10/18/2005 12:00:00 AM
I have a Movie with a function named setSelected(x). I load that movie into my main movie. There I have an
onClipEvent(mouseUp){
setSelected(1);... more >>
hit any key
Posted by nicklause at 10/18/2005 12:00:00 AM
I am new to flash and having trouble with actionscript. I am working in flash5
and need to stop the movie at a key frame, then the user needs to hit any key
on the keyboard to move on to the next frame and continue with the movie. I can
'stop' at the key frame using the basic action, and when ... more >>
Re: load movie
Posted by AudreyWalker1 at 10/18/2005 12:00:00 AM
Try using load movie with a preloader, In your swf that your are loading, make
a first frame that is blank and has a stop(); script. then the rest of the
movie you want to play will be past that. when your preloader reaches 100%,
gotoAndPlay the second frame in the swf you are loading. someth... more >>
Dynamic Tweening
Posted by Draven77 at 10/18/2005 12:00:00 AM
Hey all, I know this is a total newbie question,
and I HAVE looked for hours on the forums for an answer..
I have an actionscript I'm trying to write that will basically grown an image
up to a certain point, then shrink it back down.
I pretty much have it working except, when it starts t... more >>
Importing flash movie w/sound into another movie
Posted by elencherry at 10/18/2005 12:00:00 AM
I'm just learning Flash and AS. I've created some flash movies that have music
and I'm interested in running one of the movies in flash website. I've
imported the flash movie into the library, and when I've dragged it onto the
stage it runs fine visually, but no music plays.
Also, sho... more >>
We made a Windows !!!!
Posted by Flamant-Bleu at 10/18/2005 12:00:00 AM
We made that :
http://www.flamant-bleu.com
It's a graphic OS (probably the most evolued never made in Flash).
Sorry, for the moment, it's in french only.
You can even make links on desktop by drag an drop from start menu, delete
them (with trashbin), resizing windows, open folders, etc..... more >>
hit test help
Posted by Gump88 at 10/18/2005 12:00:00 AM
I was wondering if you guys could help?
I've got a car that hits a tyre, the code on the tyre is like this:
onClipEvent (enterFrame) {
move = this._x;
if (number == 1) {
this._x = move-3;
}
if (this, hitTest(_root.car)) {
number = 1;
}
}
Now I need... more >>
input text field problem in flash MX 2004.
Posted by Creative Ravi at 10/18/2005 12:00:00 AM
hi frnds,
Here i am facing a problem with input text field in flash Mx
2004. I have an input text field on a particular frame, i want to focus on that
text field but its not happening. have anybody any idea?
thanks and regards,
Ravi
... more >>
Dynamically Changing Tween Speeds
Posted by chrispe at 10/18/2005 12:00:00 AM
How do you change the speed of a tween in Actionscript without creating a new
tween.
I have an existing tween animation and I'd like to have control over how fast
that movieclip play within the movie.
Hope someone can help, thanks.
... more >>
|