all groups > flash actionscript > november 2005 > threads for wednesday november 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
ARRAY SYNTAX
Posted by jonnybennett at 11/23/2005 11:49:54 PM
Basically I have data in 5 arrays called TTArray1 - TTArray5. I want to take
the first piece of data from each of these arrays and it into a new array. I
then want to take the second piece of data from each of these arrays and place
that into antoher new array and so on, untill I have extracte... more >>
mouse over text?
Posted by faithmusic at 11/23/2005 11:47:46 PM
Hi,
Please excuse my "technical terms",but I am trying to use the mouse over
effect for my text links and I am using symbols. I'm not sure if this is
correct? What is happening is on my stage, everything is working fine. The
mouse over effect is working. But when I go to test the movie, the ... more >>
four on/off sound buttons
Posted by birtan at 11/23/2005 11:47:32 PM
Hello all!
Does anyone know how to make four Sound on/off buttons (side by side, each
with its own sound) that can be played all at the same time, two together, one
by one, none etc. I have tried so many different versions of on/off sound
buttons and am about to give up. There must be a geni... more >>
Arrays of custom objects
Posted by whaleyboy at 11/23/2005 11:32:53 PM
Hello! I'm going out of my mind trying to solve this problem I'm having.
Basically I'm making a tile based game using a custom class to store info about
the tiles and a custom class to store info about the map. In the map class is a
2-dimentional array that stores all the tile objects. Each ti... more >>
Help with loading text files
Posted by chocolate999 at 11/23/2005 10:56:06 PM
When I type in
var hello_txt:LoadVars = new LoadVars();
hello_txt.onLoad = onText;
hello_txt.load("hellowho.txt");
function onText(success:Boolean) {
if (success) {
hello_txtbx = hello_txt.hellowho;
} else {
hello_txtbx = "unable to load text file.";
}... more >>
Created MCs X and Y
Posted by Spot3313 at 11/23/2005 10:19:01 PM
hey i created a blank MC and want to set its XY... i did this but no dice... any other suggestions
this.createEmptyMovieClip("blank", this.getNextHighestDepth(), {_x:300, _y:300});... more >>
Music CD data session CD Plus
Posted by SavageSaint at 11/23/2005 10:15:05 PM
On these two session CDs (play the audio in a car stereo and play the PC
application in a computer) . I have a button in my flash app that says "Play
CD". What scripting or method do I use to access the audio side of the CD and
play it?
... more >>
OT: How to write a 24 BMP
Posted by NSurveyor at 11/23/2005 9:42:20 PM
I was thinking about creating a program that can basically take a screen shot
of the swf. So far, I discovered I can use BitmapData to determine the colors
of any given pixel on the Stage. Now, I'm wondering if I wrote it correctly,
(as a 24 BMP) I could use something like JSave (from FlashJes... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ComboBox in action Script 2
Posted by Luka at 11/23/2005 9:36:50 PM
I'm trying to add a listener to my Combo Box component which is on stage and
has instance name "comboBox1". The listener should detect changes of
selected items in comboBox1 and trace its values. These actions are placed
in root's timeline in a frame in which is also placed comboBox1. But it
doe... more >>
custom buttons in moock's mvc
Posted by mo be at 11/23/2005 8:27:28 PM
This topic was covered once before but the final working solution wasn't
posted. I'm fairly new to AS 2.0 but pretty familiar with javascript so I may
need specific examples, with explanation, if you happen to anwer this. The
question is how does one add custom buttons/ movieclips, that are ... more >>
Create draggable objects, then save current view
Posted by SoapboxParade at 11/23/2005 7:42:21 PM
Hello!
I'm creating a stage plot creator for musicians to create and send to booking
professionals. The draggable objects part of it is easy and I have no problems
with any of that.
What I'm trying to find out is if there is a way to save the changes. In
other words, after the enduse... more >>
Loading mp3s
Posted by Yakyak at 11/23/2005 7:34:35 PM
I'm trying to load mp3's dynamically from a folder called Music;
Here's what I have.
on(load){
var Track1:Sound = new Sound();
var Track2:Sound = new Sound();
var Track3:Sound = new Sound();
var Track4:Sound = new Sound();
var Track5:Sound = new Sound();
var Track6:Sound = ne... more >>
inserting into text fields from php
Posted by amrik the mexican at 11/23/2005 7:22:17 PM
am pretty much an ameture at flash and php. based on the save movie position
tutorial that some of you have may have seen, i have created 2 php files that
gets data from the mysql files and inserts it into a flash file, well, trying
to anyway
its a very simple file
i am basically askin... more >>
UI ScrollBar Component
Posted by fguru at 11/23/2005 7:15:53 PM
I am getting problem to connect UI ScrollBar Component with a MOVIECLIP.
if anyone know, that would be great.
Thanks
... more >>
loading dynamic text in nested movie clips
Posted by leaguer44 at 11/23/2005 7:10:35 PM
there are 3 seperate movies mainMovie.swf, submovie1.sfw, submovie2.sfw...when
mainMovie.swf is launched the 2 submovies load, but only the static text, not
the dynamic text that was loaded. are my scripts wrong?...am i going about this
the wrong way?
mainMovie.sfw contains:
_root.crea... more >>
Please help. Can't make components work
Posted by keithb at 11/23/2005 2:21:08 PM
According to Flash8 Help, all of the following examples should create a
component; however, none of them work for me.
//The following code imports the assets of the Button component and then
makes a subobject of the Button component:
import mx.controls.Button;
createClassObject(Button,"bu... more >>
FLV cue points continue even if movie is paused!!
Posted by Maxwell Edison at 11/23/2005 1:20:26 PM
I've got a FLV file in this piece. There are 3 cue points. The second
one has code to pause the FLV file. However, even when the video is
paused, the third cue point happens anyway.
I don't want the third cue point to fire until the video actually GETS
to that cue point -- seems like tha... more >>
letterspacing not working..see attached file
Posted by kakas at 11/23/2005 12:16:17 PM
I am trying a crossword puzzle in flash 8. I want to change the letterspacing
to 15. But when i run swf the letterspacing in still 0. :Q
plz help me !!
UmeshK
this.createTextField("txtin", 99, -300, -300, 300, 20);
txtin.border = true;
txtin.type = "input";
txtin.maxChars = 5;
... more >>
FileReference and slow script warning
Posted by rmoutinho at 11/23/2005 12:15:43 PM
Hello!
I'm trying to download a large file (around 80MB) using FileReference. When
tested in the browser, I get the "script is causing flash to run slow" warning.
If I choose not to abort the script, the file is downloaded correctly, but the
warning is displayed 2 or 3 more times during th... more >>
Change to Flash 8 with flash remoting (CF) website
Posted by PaulAnka at 11/23/2005 12:11:34 PM
Hello,
My flash remoting (with Coldfusion) website doesn't work anymore when I read
it with Flash 8 and tested it there.
I get the following error.
**Error** Scene=Scene 1, layer=actions, frame=1:Line 2: Error opening include
file NetServices.as: File not found.
#include "NetSer... more >>
Save a text or xml file in Hdd.
Posted by kamsky at 11/23/2005 10:36:49 AM
I Want to Save text as .txt or .xml how to use script to do this.Plz Don't refer third party Components.... more >>
Scroll bar disappears....sometimes!
Posted by csa at 11/23/2005 9:28:22 AM
I haven't experienced this but apparently the component scroll bar on my site
disappears when other people view it? I have tried this on a number of machines
at different resolutions and have not managed to replicate the problem. Anyone
have any ideas?
... more >>
Problem with masking
Posted by rohai at 11/23/2005 9:08:54 AM
Hi,
you guys have helped me many times before, so here I ask you to help me again.
I've created a slider and I'm using mask to show just one part of the slider.
In a MC slider there are MC's with loadMovie function, buttons and text boxes
(dynamic text). I want this to happen. When the use... more >>
Mouseover entire stage
Posted by Lomacar at 11/23/2005 12:56:36 AM
How can you tell Flash to do something based on if the mouse is in the stage
bounds or not? I don't want to make a large button in the background that fills
the whole stage because then the cursor is a hand all the time. Thanks to
anyone who can help me out.
... more >>
loading and removing Dynamic Movie Clip
Posted by Amit05 at 11/23/2005 12:45:04 AM
What I want to do is as follows:
Create a menu clip that dynamically gets movie files from an array and
populate the menu. My approach was to create an empty movie clip, check the
array length, in the loop take a movie clip from array and load it to empty
movie clip.
Here is the code I ha... more >>
Problems with loadVariablesNum();
Posted by TonyJJ at 11/23/2005 12:21:39 AM
Hi there!
I'm trying to use this function without success:
loadVariablesNum("test.txt",0);
It was suppose to load the variables so I could use them right? But that's not
what's happening.
Should I write the variables in a special way in the txt file? What should I
do?
Waiting... more >>
Scale to proportion
Posted by kyugawa at 11/23/2005 12:09:58 AM
I was wondering if anyone has done a function to scale an object while constraining the proportions. I suck in math so this has got me stumped. thanks for your help.
... more >>
scrollable unlimited menu
Posted by purple_am at 11/23/2005 12:00:00 AM
Hi
Many of you must be familliar to ImageVue. http://imagevuex.com/
They have a nice gallery component. Check the demos. What am stuck with, is
they have this menu at the bottom of the gallery
which is like this < 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 > . Any ... more >>
Chat Room??
Posted by DJ Sick Nick at 11/23/2005 12:00:00 AM
I'm trying to make a chat section in this game that I'm making, and I just want
a simple chat section that people can chat with on that sertain web adress. Is
this possible? Please respond! Thanks in advance!
Nick D.:P
... more >>
Can someone check my code
Posted by scottba at 11/23/2005 12:00:00 AM
This is part of my overall code. I'm trying to load the .jpg, which is does,
but delay it starting for 10 second but it just pops on (no fade either. I"m
not sure what I'm missing here.
Thanks a lot,
-Scott
_root.createEmptyMovieClip("photo2_mc", 6);
photo2_mc._x = 70
photo2_mc.... more >>
Targeting layers
Posted by anonymusflasher at 11/23/2005 12:00:00 AM
How the Heck do you target layers in a flash movie with actionscript (The same way you target movieclips)? Can you make new ones (at runtime)?... more >>
sound trouble at internet explorer
Posted by leospit at 11/23/2005 12:00:00 AM
i just can?t figure out why tha hell it don?t work at the internet explorer
browser
i seems that the mp3 is loaded, but the sound doens plays.
im using external mp3 loop files
anyone know some other way to load external mp3 files? more efficient at least
*im also using flash8.
h... more >>
sendandload loadvars not doing a thing
Posted by sparklemotion at 11/23/2005 12:00:00 AM
I am trying to send variables to a PHP page. i can send them using LoadVars
using the send command, as long as I supply "_blank" or "_self" as the
method. SendAndLoad doesnt apper to do anything or even try to do anything no
error message when i send it to wrong pages, nothing at all. I e... more >>
stopDrag function intermitently working
Posted by wiredsc at 11/23/2005 12:00:00 AM
I have created an mp3 player with a volume slider, here is the script for the
volume slider:
mySong = new Sound(this);
mySong.start();
slider.control._y = -50;
slider.control.onEnterFrame = function() {
mySong.setVolume(0-this._y);
}
slider.control.onPress = function() {
startD... more >>
how to get user's ip address through a swf file
Posted by Mad Dogg at 11/23/2005 12:00:00 AM
HI,
I have a flash application that customers use to place ads online. Is there a way to get the user's computer's IP address through actionscript or any other way?
Thanks heaps,
Mad Dogg... more >>
Swfs loaded w/ loadMovie() issues
Posted by anonymusflasher at 11/23/2005 12:00:00 AM
I'm making a swf where i load swfs into a movieclip using the loadMovie()
action. After testing it out, though, the buttons in the loaded swf don't work!
In fact, some of the scripts don't work! I tested the swf separately and it
works perfectly. What's even weirder is that its almost-equivale... more >>
having trouble with flash "login" movie
Posted by meierk at 11/23/2005 12:00:00 AM
I'm having trouble with a login flash movie (I know it's insecure, but it
doesn't need to be). If you could take a look at my fla here and let me know
what's wrong, it would be very helpful. Thanks.
http://www.meierk.com/flashhelp.html
... more >>
refrencing each in an array
Posted by Vertine at 11/23/2005 12:00:00 AM
i understand how the attached code works (below, end of message). The idea in
this was to learn how to individually refrence each instance in the array,
without having to write m[0],m[1],m[2]...etc , 30 times for each action. I also
wanted to learn how to duplicate clips with a for loop..It ma... more >>
Loading XML
Posted by andrewbyles at 11/23/2005 12:00:00 AM
I have a .swf file that loads into my _root time line, which in turn loads
another .swf into itself. The attached code works if placed on the _root
timeline,(I have used it on another project) its basically what is in the Flash
help menu. However this code is on the timeline of the second .swf... more >>
I stink at Flash
Posted by u3dme at 11/23/2005 12:00:00 AM
I need to tell a movie on level1 to go to a certain scene from a button on
level0
Can someone help me?
I need the button to pass a var to the level1 movie and go to a specific scene
based on that var.
... more >>
make a button that assigns actions to a frame
Posted by Mechan V.01 at 11/23/2005 12:00:00 AM
what i want to do is use a button to assign an action to a frame
let's say my button is on keyframe 1 and when it's pressed i want it to assign
an action to keyframe 30 so that when movie reaches frame 30 the action will be
triggered
i came up with this but then realised tha tell target... more >>
Pause Action
Posted by indepth at 11/23/2005 12:00:00 AM
I have a large number of movie clips that need a pause action script for the
first frame of each movie. I would like the pause to occur for a few seconds
before playing the movie.
I was wondering what actionscript I should use?
Thanks
... more >>
UI ScrollBar Component scroll MC
Posted by fguru at 11/23/2005 12:00:00 AM
Please help me, Is it a way to scroll MC with UI ScrollBar Component.
Please let me know is it any code for that or know.
Thanks... more >>
swf not repeating not following on
Posted by wiredsc at 11/23/2005 12:00:00 AM
I have made a working mp3 player where each track is an .swf. It all works fine
and each track has script on the last frame that tells it to play the next
track:
_root.mySong.loadMovie("Music/Track2.swf");
This works fine, however I have turned it all into a movie clip so I can have
it... more >>
Sending var using loadVariablesNum
Posted by dbento at 11/23/2005 12:00:00 AM
I'm trying to send vars from flash to a server and i'm using this code:
this["00N20000000mXO0"] = "name";
if (this["00N20000000mXO0"] != null) {
loadVariablesNum
("http://www.webserv.com/serv/servlet.WebToLead?encoding=UTF-8", 0, "POST");
}
The vars names were given to me to send th... more >>
refrencing each in an array
Posted by Vertine at 11/23/2005 12:00:00 AM
i understand how the attached code works (below, end of message). The idea in
this was to learn how to individually refrence each instance in the array,
without having to write m[0],m[1],m[2]...etc , 30 times for each action. I also
wanted to learn how to duplicate clips with a for loop..It ma... more >>
Automation Problem, could this be done ?
Posted by nakedkafka at 11/23/2005 12:00:00 AM
Dear Developers,
I am currently thinking about creating a 2d engine using flash, i would like
to think it's the ultimate tool in web graphics creation.
For my project I have a movie clip which in it contains mini slices of a
larger image, I am using ActionScript exclusively to manipulate (m... more >>
Is Flash Pro 8 supposed to do this?
Posted by Jocke SWE at 11/23/2005 12:00:00 AM
I open a new flash document from within flash pro 8 in the first frame in the
root timeline I create a shape box. Then select it and make in to a MC call
this instants testHolder for i.e. Double click on testHolder and in frame 1 of
its timeline select the box once more and press F8 and turn i... more >>
Server name in the URL - pls help
Posted by RajasekharA at 11/23/2005 12:00:00 AM
Hi friends!!
I want to pickup the current server when i click on a button on the flash file.
for Example, my script :
on (release) {
getURL("http://FH5200-DEV.com/news/news.nsf/Region!OpenForm&area=SA");
}
In the above script "FH5200-DEV.com" is my server name.
I want to r... more >>
Preloader, i know guys ez, but they dont work.
Posted by Newbie Productions at 11/23/2005 12:00:00 AM
Hello there. Im devolopeing a website for a local band, and well the site has
just got huge. The site was origanly created in all html and javascript. Now
im redoing it for them and after the things i have go done, i need a preloader.
im not too much a fan of them unless there nessiary, yes ... more >>
|