all groups > flash actionscript > july 2006 > threads for monday july 10
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
modify layer order with action script
Posted by lucky at 7/10/2006 11:53:25 PM
Hi,
I'm trying to find out how to bring to front a layer using action
script.
I have several buttons and want I roll over one of them I want it to
come on the foreground.
I'm actually not sure if this is possible.
Anyone know a way?
Thx
Lucky
... more >>
Generating random numbers that don't repeat
Posted by sampurtill at 7/10/2006 11:45:48 PM
Hey there,
Not sure if this has already been answered, because I think I saw it a really
long time ago.
I'll make it very simple. I have an array and I want to, based on the arrays
length, make a new array and randomize the order that all the numbers in the
new array will be in.
So... more >>
Countdown date
Posted by Mastercafe - Juan at 7/10/2006 11:21:03 PM
Hi group, i'm trying to make a simple FLA with put the difference between
actual date() and other future date (like 31/12/2006)
How to put time difference with action script??
Thanks in advance
--
Saludos desde Oviedo (Asturias)
Juan Menéndez
Mastercafe S.L.
www.mastercafe.com
juan@... more >>
Using Date Object to Display 2 Days Ago
Posted by BillG-Chicago at 7/10/2006 10:57:22 PM
There's probably an elegant solution to this, but... can anyone provide
pointers on the best way to display a date that's for example, 2 days ago...or
exactly one month from today's date? It seems like this should be relatively
straightforward, but I'm concerned with when new months/years inte... more >>
losing mouse events for dynamically created movie clips
Posted by SPGAnne at 7/10/2006 10:55:35 PM
HELP! I must be doing something really dumb.
I have a single frame .fla with a movie clip on it called circle_mc, and the
following code on frame 1:
var boxmaker:BoxMaker=new BoxMaker(this,circle_mc);
I've attached the code for the 2 classes BoxMaker and Box. All works fine
until I ... more >>
How do I use a button to export a file
Posted by ShaneFred at 7/10/2006 10:29:17 PM
How do I put an action on a button so that when I click it, it will export a
file? It can be any type of file, preferably a very small, blank .txt file.
This file will then make our software bypass the flash intro if it is seen by
the software. Please help. I can't find anything in the fla... more >>
dynamic text tranformation
Posted by FlashAmit at 7/10/2006 9:13:46 PM
can tranformation be applied to dynamica and input text. i have seen a
tranformed input text field. I am sure this can be done.
When I tranform the dynamic text then its text disappears. Scaling does not
disappears the text but does not show any effects too.
Please help.
... more >>
dynamic text tranformation
Posted by FlashAmit at 7/10/2006 9:13:12 PM
can tranformation be applied to dynamica nd input text. i have seen a
tranformed input text field. I am sure this can be done.
When I tranform the dynamic text then its text disappears. Scaling does not
disappears the text but does not show any effects too.
Please help.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
trace() not working in component
Posted by David Douglas at 7/10/2006 8:57:29 PM
How do you get trace() to work from within a component script?
... more >>
Progress bar or Buffering bar
Posted by Fli-tox at 7/10/2006 7:54:49 PM
I used the flash article to make an FLV player with play list from the bellow:
http://www.adobe.com/devnet/flash/articles/prog_download.html
Actually everything is working fine but I still need to add a Progress bar or
Buffering bar when it loads each movie.
Any help will be really appre... more >>
Why not working?
Posted by thejokerman05 at 7/10/2006 7:21:58 PM
Should load an extrenal swf at this path; "sub1/sub1.swf", where the swf counts
up to 13. Why not?
function hitButton(nbrID) {
btn = _root["subMeny_mc"]["btn"+nbrID];
btn.nbrID = nbrID;
btn.onRelease = function() {
_level0.mcl.loadClip("sub1/"["sub"+nbrID]+".swf", 50);
}
... more >>
Flash timing issues with loadvars
Posted by corrodedlotus at 7/10/2006 6:53:24 PM
the output is:
OMG
in init
question is..why can't i call methods in the loadVar's onLoad function? i
understand saying:
dictioLoader.load("words.php");
trace(fourLetters);
will return undefined since fourLetters won't get filled up that fast...but
why can't i call it after ev... more >>
LoadVars text drops
Posted by hushhurt at 7/10/2006 6:51:45 PM
Hello,
I am having issue with my html file dropping. I have a master swf, and inside
that master swf with a mp3 player the progressively downlaods external mp3.
From that master swf other external swfs load into the master (when click on
buttons) I have completely different loadVar names for... more >>
How to make this Flash-XML
Posted by James Cherry at 7/10/2006 6:39:02 PM
I want to make a flash file like this...
check this...
http://h1.ripway.com/jamescherry/ask_xml.swf ... more >>
My sendForm function keeps opening a blank page
Posted by Pop Zeus at 7/10/2006 6:29:26 PM
My sendForm function works properly, but whenever a webuser presses the submit
button, the browser opens a new blank window, even though the tutorial from
which I learned the actionscripting doesn't seem to be afflicted in the same
way at all.
function sendForm() {
gatherForm.email_to ... more >>
video
Posted by jonnybennett at 7/10/2006 6:05:28 PM
Sites like youtube that let you know the embed tags, is it possible to use
these to play the video from that location into my site...
eg..
myVideo.play('http://www.youtube.com/v/4aQSpV5cERY.flv');
However this does not work,
According to youtube the embed...
<object width="425" h... more >>
weird bug in static methods
Posted by corrodedlotus at 7/10/2006 6:04:23 PM
i keep getting this error when testing for syntax errors:
The name of this class, 'Word', conflicts with the name of another class that
was loaded, 'Word'.
i already searched about this error in livedocs and most of them said that
it's a time based error. So i checked and adjusted my tim... more >>
changing animation at midnight
Posted by Catboris123 at 7/10/2006 5:48:53 PM
Is it possible to move to a new scene/marker/frame etc at midnight everynight (GMT)? A simple animation needs to change colour everyday, without having to do it manually.... more >>
Waiting for a movie clip to finish
Posted by CogDev at 7/10/2006 5:18:27 PM
I'm writing code for a simple game, and I want my code to be contained within
..as files, and have as little code as possible on the timeline or inside movie
clips.
My main actionscript file controls when and where to play appropriate movie
clips, but I've run into a bit of a problem. I ha... more >>
GetURL Target Frame Problem
Posted by bigtequila at 7/10/2006 5:16:39 PM
I'm building a website with a simple frameset - a top banner, a navigation menu
frame on the left and a large, central main frame for displaying content. I am
able to ActionScript assigning the GetURL function to buttons in the Flash
movie that functions as my nav menu. However, I can not se... more >>
Seekbar Woes
Posted by Kyle Type-S at 7/10/2006 5:15:47 PM
I am working on a SWF (flash 8 pro, export 8) that dynamically loads
progressive FLV's from a list component to a FLVPlayback component. I have
encoded all of the videos with the Flash 8 default converter. Most of the time,
all goes like it should, however occasionally on testing the playhead ... more >>
FileReferenceList or FileReference Class?
Posted by mightyj at 7/10/2006 3:56:05 PM
Will the FileReferenceList class or FileReference Class work for this issue:?
I am working on a kiosk project that will be updated dynamically. Is there a
way to have flash detect what is in a folder before I have the shell play
through the sub files. I know you can set it up through xml and... more >>
Genius Nedded
Posted by mr.nazarko at 7/10/2006 3:43:36 PM
hey....
ive been wrestling w/ this problem for a few days,
and havent been able to come up with a solution....
any direction would help !
here is the dilemma,
im working with a parallax scroller ive found on flashkit.
http://www.popmontreal.com/TEST/TEST2/
im trying to limit t... more >>
buttons again
Posted by Chicca81 at 7/10/2006 3:38:02 PM
I neded pages' numbers buttons. I wrote the no. 1 then I turned it into a
symbol- button and whent to edit it. on the 4th frame ther should be the chance
to set something called active area (don't know if correct I got the Italian
version) after having set it I went back to the scene and check... more >>
onrelease...What
Posted by Chicca81 at 7/10/2006 3:25:35 PM
why links to scenes don't work. The action script is correct but when I go
checking the project with an export (.swf) and I click to that button the scene
linked to it is not the sameone that appears on the action script. WHY? It's
driving me mad
... more >>
myMovieClip.duplicateMovieClip(name, depth, initObject)
Posted by OmniFlash at 7/10/2006 2:50:41 PM
Here's a summary of my code:
--------------------------------------
_parent._parent.MyMovie.duplicateMovieClip( HA, 0, _parent._parent.MyMovie)
_parent._parent.HA._x = 100
_parent._parent.HA._y = 100
trace(_parent._parent.HA._y)
----------------------------------------
And this wil... more >>
cache and dynamic runtime detection
Posted by flasheister at 7/10/2006 2:50:17 PM
i'm using this trick to load my XML file so i can be sure i'm not using a
cached version.
xml.load(fileName+"?killCache="+getTimer());
prob is when I publish when I'm editing in Flash it doesnt like that path with
the extra goodies thrown in on the end.
what var can I check for to te... more >>
slow text animation
Posted by electricmeat at 7/10/2006 2:44:51 PM
I am trying to animate a word flying across the screen at a nice uniform rate.
Sounds simple I know.But it seems to start grinding to a painfully slow pace
once I start moving it across my stage.
I have an array of names thatI pull the text from. For each name there is a
movie clip with... more >>
Loading an Array of filenames from a text file
Posted by Thatnickname at 7/10/2006 2:06:47 PM
Hello all
I have a random picture flash animation that works with one frame only. The
principle is that it loads files from an Array of filenames that is staticly
filled out into an empty Clip object on the timeline. Works out great!
But the problem I have is that I have to make it dyn... more >>
Mute button
Posted by deltaek at 7/10/2006 12:44:46 PM
Using a button to mute sound, I have inserted this code:
--------------------------------------------------------------------------------
--------------------------------------
on (release) {
tellTarget ("mymusic") {
volume (0);
}
}
------------------------------------------... more >>
swf is not working properly when upload to server
Posted by justbipin at 7/10/2006 3:51:18 AM
I develop 1.swf which is having 3 buttons each one having
anather .swf to call 2.swf, 3.swf respectively.
This application is running perfectly on my PC, but
While uploading the swf to server the 2.swf and 3.swf is
not running. Can any one tell how to recover from this kind of problem.
... more >>
Change the color of internal component elements.
Posted by fishtank22 at 7/10/2006 3:41:49 AM
Hey everyone.
I have several fields on a form using input field and combobox components.
I have a validation check happening to ensure that all fields are filled in
and if they are not, I change the background color of the text fields to
yellow.
But I want to also change the color of... more >>
backlash problems ("\\")
Posted by golem2 at 7/10/2006 3:32:26 AM
Hi, I am having problems with string manipulation when the string is Windows
path, such as:
"\\Users\Me\Desktop\photos\photo4.jpg"
What I want to do is to replace all the "\" with ":" (I am writing to file
using 3ed party - Zinc and need to convert Windows path to mac and back)
I need ... more >>
Controlling external flv with ActionScript
Posted by skauty at 7/10/2006 1:58:57 AM
I'm using the NetStream Class to control the playback of an external flv. I've
got a Pause/Play button using .pause, and Fast Forward and Rewind buttons using
..seek. What I want to do is once the video is done playing to automatically
reset back to the beginning of the video, allowing the use... more >>
stretch loaded jpeg
Posted by jonnybennett at 7/10/2006 1:50:09 AM
Is it possible to set the dimensions of an externally loaded jpeg, so that if the image is too small it will be stretched to a set dimention of in my case 850X600.????... more >>
MovieClipLoader and transparency
Posted by fred_sl at 7/10/2006 1:31:14 AM
I created an empty movie clip and I'm loading an image into it and that works
fine, however when I load a GIF with a transparent background the image fails
to display. I switched it to PNG, same thing. Then I changed it to JPG with a
black background and it works (of course without the transpa... more >>
How to detect anonymous startDrag actions?
Posted by CJ Dennis at 7/10/2006 1:28:22 AM
Hi!
I am loading .swf files into my movie, some of which have startDrag in them. I
need to be able to turn off dragging and then resume it sometimes but I don't
know how to find the object in the embedded movie that's being dragged. Is
there a way to find the currently dragged object?
I th... more >>
problems with html formatting
Posted by stephan.k at 7/10/2006 12:00:00 AM
Dear Forum
I'm still having problems with my text field. I'm slowly getting a grasp of
things. I realized earlier that one main problem I oversaw was to embed the
puncutations in order to be able to see the < > tags in my html field.
My front end application however still doesn't pro... more >>
Slideshow with dynamic images and external links
Posted by darren.newbie at 7/10/2006 12:00:00 AM
Hi all
I would like to put together a simple slideshow that shows a series of
images I pass in (parameters/xml?) and they will fade from one to the next.
If the user clicks on the image, I want it to take you though to a page
about that image.
I.E. A picture of a Ford, Chrysler and BMW.... more >>
Button click count
Posted by prachis at 7/10/2006 12:00:00 AM
I have one button in my application. I want to check how many time the buttion
is clicked in a day / in total and print the count somewhere. Or create the log
file for that.
Can anyone help me for this?
... more >>
Preloader (from as2 to as3)
Posted by EvilDog2000 at 7/10/2006 12:00:00 AM
Hey ladies and gentlemen
I'm currently converting one of my project to as3 and I hit a wall with this
preloader problem.
Before, with as2, I was using getBytesLoaded() and getBytesTotal() in a frame
loop to display a progress bar and know when the loading was finished. I can't
seem to f... more >>
Array
Posted by angusyyl at 7/10/2006 12:00:00 AM
My Flash Actionscript
[b]
var myText:String = "hello";
var letterNum:Number = myText.length;
var startX:Number = 0;
var startY:Number = 0;
for (i=0; i<myText.length; ++i) {
var flyingLetterArray:Array = new Array();
flyingLetterArray.push("flyingLetter"+i+"_mc");
flyingLetter_mc... more >>
|