all groups > flash actionscript > september 2004 > threads for wednesday september 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
Plobs loading external mp3 as event...
Posted by pinter75 at 9/15/2004 11:21:59 PM
Hi,
I am trying to load an external mp3 file as a sound event - works as a stream
tho'!
faFile = "http://myserver/mymp3.mp3";
//Load sound
faTrack = new Sound();
faTrack.loadSound(faFile, false);
faTrack.onload = start_the_sound();
function start_the_sound() {
faTrack.start(... more >>
Re: dynamix text manipulation
Posted by viperx116 at 9/15/2004 10:27:07 PM
Ok, everything works except for the new fonts, it only changes once. Can you
see what's wrong? My script is a bit different different from yours because I
don't think I'm suppose to write it like yours.
... more >>
remoting and datagrid - .NET
Posted by 909ignite at 9/15/2004 10:22:11 PM
I'm trying to get data into a datagrid from an aspx file. The return vale of
the aspx file is event=event1 event2 event3. I am getting the value and they
will display in a text box, but when I try to split them into an array for use
by the datagrid, I get undefined as the value (text box con... more >>
scrolling gallery
Posted by blood divine at 9/15/2004 10:04:37 PM
Hello again! more trouble...
I am using sction script to make a movie clip scroll up or down when the mouse
is in a certain area of the screen. i.e. over a button. It works except after
the gallery has scrolled about 2 times, it stops!? i am duplicating the movie
clip so that the scroll is... more >>
LoadMovie and createEmptyMovieClip()
Posted by thedanster at 9/15/2004 10:01:51 PM
I am doing a
createEmptyMovieClip("pic",100)
then loading a jpeg into the newly created movieclip
pic.LoadMovie("image.jpg");
The image loads ok, but then I want to add an onRelease event handler like
pic.onRelease = function() { trace("clicked");}
I never see the trace.
... more >>
createEmptyMovieClip action to dynamically load sw
Posted by rushpatel at 9/15/2004 8:45:59 PM
Here is the code which I am trying to debug. I am trying to capture click event
of dynamic buttons to load external swf files but it is not working. How do I
get this done? Thanks in advance.
for (count=1;count<=15;count++) {
this.createTextField('textArea'+count,count,0,count*20,50,20);
... more >>
make flash button hide html layer
Posted by d_arc9 at 9/15/2004 8:29:34 PM
Hi...
I have a Flash floating ad I have placed on a layer in my html. The flash ad
movie disappears after 10 seconds but the layers stays and although
transparent, it block links below the layer - I cannot access anything below it.
Is there a way to control layers from my flash movie? Make... more >>
Normal array acting static in sub-component
Posted by cteel at 9/15/2004 8:10:47 PM
This is a little weird. I have two components, one has an array of the other.
I step through the array of objects and call a setValue function which pushes a
value onto it's array of values. However, the value seems to be pushed onto
the array of every object. The sample attached should cl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Force Image load from web
Posted by chrism59 at 9/15/2004 7:30:56 PM
I have an application that changes an image on the server. When I retrun to the
place in the movie that displays the image, the display shows the original
image to loaded. Is the a way to make flash reload this image from the server
and ignor the image in momory?
... more >>
Please help: How To Forward Page if no Flash?
Posted by karltraum at 9/15/2004 7:00:00 PM
I set up a site where the first page contains a flash movie. I want the user
to be shunted to an alternate page if the appropriate flash player isn't
present. I don't want them to be offered the chance to download the player or
be taken to Macromedia. Someone told me that this is accomplish... more >>
Importing SWF Files to Stage
Posted by leslie herrera at 9/15/2004 6:20:49 PM
I tried to import a swf file to my stage in a new document and for some reason when I test the movie it does not play? I don't even see any frames imported. It does bring the symbols in. Help!... more >>
Multiple button
Posted by patriarck at 9/15/2004 6:01:29 PM
Hi Friends,
I am new in this exciting world of flash.
I was wondering how can I have multiple button action on one image.
Imagine I have a car remote control and there are two buttons ( open , close )
I want to run a movie clip on pressing open and second movie clip on pressing
close.
... more >>
Configure self build 'progress bar'
Posted by dl33 at 9/15/2004 5:59:06 PM
Hi anyone,
How do I tell flash to preload a scene, and then echo the percentage that has
already loaded into a dynamic text field. When the loading is finished, it
should go to that scene. (Oh, maybe it is helpful that in the beggining, only
the first scene with the progressbar is loaded)
... more >>
while mystery
Posted by Anth2003 at 9/15/2004 5:50:01 PM
I can't figure out what I'm doing wrong.
I have a button on the stage and a movie with the instance name "question"
when I click the button I want the question to fade away so I wrote:
on (release){
while(question._alpha>0){
question._alpha -=1;
trace(question._alpha);
trace("doin... more >>
Action Script for Buttons & Movie clips
Posted by lazypanda at 9/15/2004 5:48:03 PM
Hi,
I'm looking for script while rollovering the buttons and the main image will
fade in type of effect just like the elizabetharden site. Does anyone know the
action for this type of the effect?
sample site: http://www.elizabetharden.com/hub.html
Thanks a lot
... more >>
Object Identifiers
Posted by VisionaryStudios at 9/15/2004 5:31:05 PM
I know you can create objects in this fashion:
myObject = {colors:Array("red","blue","Green")}
output would be
myObject[colors][0] = "red"
myObject[colors][1] = "blue"
etc
But what I want to use in place of colors as the identifier is a variable.
But I can't get the variable to ... more >>
alpha fade with actionscript
Posted by Kashi* at 9/15/2004 5:13:31 PM
Hi.
I am new to actionscript and have built a VERY simple gallery for my portfolio.
I would like to have the images fade when a thumbnail is clicked, but have
no idea how to do this.
I've attached a copy of my fla file.
Any suggestions would be great!
Thanks in advance for your tim... more >>
Timeline controlling problems
Posted by Kletian at 9/15/2004 5:07:24 PM
Alright, I ran into a rather odd situation: my setup includes the main
timeline, which has a movie clip that acts as a menu, and buttons inside the
movie clip.
Orignally, I was using code in a action frame on the main timeline like this
and it had been working fine:
this.Eventmenu.Cancel... more >>
Converting 2 strings to a Variable
Posted by dan4 at 9/15/2004 5:07:22 PM
I know that this is possible to do, but can't remember how. How do you take 2
strings and convert it to a variable name?
example:
q1 = "what is 2 + 3?"
varNumber = 1
varQ = "q" + varNumber
trace(varQ)
Trace value I get is
// output = "q1"
Trace value I want:
//out... more >>
Intercommunicate between two separate SWF files
Posted by killthepainaway at 9/15/2004 5:03:28 PM
I need someone to help me out with this, what I am trying to do is when I roll
over a button in one swf I want that button to tell the other swf to display a
picture preview for the button. The reason I ask is cause I am doing this in
dreamweaver using frames, with an swf file in the upper fra... more >>
dateChooser Component, output error
Posted by marxseven at 9/15/2004 4:49:32 PM
I'm using the dateChooser Component (w/2004 Pro) and I get an output error:
**Warning** Symbol= Calendar, layer=Actions : Class, frame=1:Line 682: The
identifier 'object' will not resolve to built-in object 'Object' at runtime.
point = new object();
Total ActionScript Errors: 1 R... more >>
calendar problem
Posted by loudmouth72 at 9/15/2004 4:28:19 PM
I created a calendar and when i initiate it, it only displays the days up to
the current day. So today is the 15th, it only displays the first 15 days. I
can not figureout how to get all the days of the month to display my code is:
var tempDate = new Date(theDate.getTime());
while (theDa... more >>
Use Submitted Image
Posted by jvolvovski at 9/15/2004 4:18:50 PM
Hi,
I am creating a Flash website and here's what I'm hoping to do:
Before the user enters the site, they are prompted to create a drawing. The
drawing would be made in Flash and is a defined height and width. When the user
hits submit that drawing becomes part of a gallery displayed on the ... more >>
Moving a clip cross stage
Posted by danivi at 9/15/2004 4:18:17 PM
I'm trying to move a clip across the stage slowly with this script. And it's
working just fine
this.pelicula_mc.onEnterFrame = function() {
_x -= 5
};
I'm trying to stop the movement when _x = -360
this.pelicula_mc.onEnterFrame = function() {
_x -= 5
if (_x = -360) {
del... more >>
Streaming Sound event?
Posted by Rover at 9/15/2004 4:07:11 PM
I have to deliver some lengthy sounds in a project as streaming sounds, due
to issues of wait time if we try to preload them. I have other clips on the
stage which need to "act" when the sounds begin playing -- *not* before.
I'm unaware of any way to detect when streaming sounds start playback:... more >>
Gotoandplay random frame after 1minute 25 secs?
Posted by ....James Smith at 9/15/2004 3:59:48 PM
I have a movieclip which contains 3 animations now each animation start
point has a frame label eg Ani1 Ani2 Ani3.And the first frame of the movie
is blank withb a stop(); on it
Now what i want is for the movieclip to wait the amount of time (which in
this case is 1 min and 25 seconds) and then ... more >>
dynamic positioning
Posted by Slowik77 at 9/15/2004 2:52:16 PM
ok, basicily what im trying to do is convert some string to array, and populate
it to separate dynamic textfields, so I will be able to make every word
clickable. No problem with that. What im strugling with is positioning a
textfields like they are layout in a normal textBox. For some reason ... more >>
Action Scripter required, South Coast UK
Posted by Bloody Lance at 9/15/2004 2:51:19 PM
We need an experienced Action Script Flash developer to help with an XML driven
Flash Website. Required immediately, for 1 -2 weeks.
Applicants able to work on-site, South Coast UK only please.
contact: Richard Fawsitt, 01425 485005
apologies if this is on the wrong forum.
... more >>
Controlling an embedded movie within the swf
Posted by loka at 9/15/2004 2:50:17 PM
I have dropped an externally created (swish) file into another .swf file and I
want to create a play, stop, forward scene, previous scene buttons that control
this file. I was trying to use:
on (press) {
pause.gotoAndStop("about_alden.swf")};
}
where pause is the button instance, and ... more >>
reloading images?
Posted by chrism59 at 9/15/2004 2:27:41 PM
I have an application that allows a user to delete a photo. When the user
deletes the photo, I call a cfm page and delete the photo file on the server,
then I go to the last photo and rename it to fill the hole created by the
deleted photo. When I go back to the display section the deleted pho... more >>
Swf in an Framed HTML
Posted by hmsg at 9/15/2004 2:09:35 PM
Hello i'm making a web site and i have the index.html divided in two frames
(top, main). My swf ins in the top frame, in the swf I have a button that i
want it to open an html in the nain frame.
What instruction i use to do this, the geturl? what i put in the " window
" option?
... more >>
sliding background
Posted by bhouse02 at 9/15/2004 2:08:30 PM
Hello everyone,
I'm trying to do something that I've seen in about 100 places, but I can't
seem to find a movie or tutorial on it.
Basically, I have one really wide background that I want to animate moving
once a navigation item has been clicked. To see the interface that I'm using go
... more >>
Scene Linking buttons
Posted by The Spoot at 9/15/2004 2:05:24 PM
I am new to Flash and having done the tutorials i still do not understand the
errors that occur with the action script. So when i double click a function
from the menu i get a handeling error, could some one help me to fix this.
... more >>
help with cue points in video
Posted by leroyh at 9/15/2004 1:30:57 PM
hello,
I have set up a media display component that links to an flv, this works fine.
I am also setting up a script to listen for cue points which I have set up, I
am having prroblems reading the names of the cue points.
I have my code like so:
myObj=new Object();
myObj.cuePoint... more >>
can I pass on a RollOver to lower mc layers?
Posted by vintagetone at 9/15/2004 1:19:30 PM
I have one movieClip over another. The top one has a RollOver Script. The MC
under it must also recieve notification that the mouse is over it.
Right now the top MC is "eating" the mouseOver or RollOver event, and the
bottom MC is unaware of the event.
is there a way to allow the RollO... more >>
Show ASP variables values in SWF movie.
Posted by On Line at 9/15/2004 12:22:12 PM
Hi everybody:
I have a Site developed in ASP pages, some page have swf movies and I wish
show "ASP recordset values" into that SWF movies.
Can Anybody tell me how?
Thanks in advance.
GVH
... more >>
opening pdf file from mx 2004 projector
Posted by stv3000 at 9/15/2004 11:51:40 AM
i am having a nightmare getting a pdf file to open up from my flash mx 2004 projector file
can anyone help me asap?
thanks
steve... more >>
NEED HELP! desperate
Posted by Studio 23 at 9/15/2004 10:49:17 AM
Hello!
I don't know much about flash yet. Still learning.
Luckily there is a lot of information on how to solve
different kind of problems.
But there is one problem I can't find anything about
on the internet. Please help!
I'm building a website with a portfolio. I want to make
a... more >>
counter var not known in attached function
Posted by Benjamin Bittner at 9/15/2004 10:45:54 AM
Hallo NG,
this is my situation:
for (i=0; i<3; i++) {
mc_Load.onRelease = function() {
stopDrag();
if ((this._parent._x<(-305)) || (this._parent._x>(-65)) ||
(this._parent._y<20) || (this._parent._y>290)) {
setProperty(this._parent, _x, _root["holdx"+i]);
setProperty(t... more >>
Execute a pdf file from a button
Posted by sanjoleja at 9/15/2004 10:44:28 AM
Dear friends, I know it must be quite simple, but I need to execute a pdf file
by clicking a button. I tried with
on (release) {
fscommand("exec", "01.pdf");
}
but it does not work. What am I doing wrong? Must the file be into a folder?
Thank you very much for your help!!!
... more >>
What am I doing wrong??
Posted by Keffcop at 9/15/2004 10:33:08 AM
I have created a movie (attached in MX format) that has a main menu that
appears after pressing a green button. Then when you press the Portfolio
button, another menu appears in a different area after being "uncovered" by a
sliding mask. That works great. I'm happy with that. But when I try to... more >>
'LoadVars()' does it return any error code onLoad(
Posted by deepkt at 9/15/2004 10:21:11 AM
Hi,
Does onLoad() event for LoadVars() return any error code if it fails. Yes it
dows return whether the load is SUCCESS or FAIL. But if it fails does it return
any specific error codes. E.g Load might fail either due to connection or page
error..some thing like that.
... more >>
Restrict mouse movement
Posted by Leon Sooi at 9/15/2004 10:17:39 AM
I'm using flash 7.2. I'm creating a maze game where the user moves his mouse
pointer through the maze. I would like to know how do I restrict the mouse
movement to the space inside the maze, such that the user would not be able to
move the mouse pointer over the lines.
... more >>
get and set (I think)
Posted by morkisser at 9/15/2004 10:09:26 AM
Hi there...
I'm just a novice, when it comes to Flash - but that can't stop me from
trying...
Right now I'm having troubles with the actionscripts - this is a little
follow-up, on what it is I'm trying to do..
It's a gallery that I'm creating!
I have a movieclip, that has to act li... more >>
How 2 save .txt files from Flash win. projctr .ex
Posted by amitg02 at 9/15/2004 8:00:55 AM
It is a CD-ROM presentation.And the presentation in exe format.
We have students data in xml.
We populate the filtered students data into the datagrid using a
search option available for the user.
Now a user wants the have only the filtered data or the rows selected
by him in the datagri... more >>
Re: saving dats in .txt format from Flash .exe file
Posted by Ashish123 at 9/15/2004 7:06:53 AM
Hi
I am afraid but nots possible to write a .txt file from Flash itself. You have
to use a Middleware to get it done may be php or asp. But I dont whether ur
making an Off-line or On-line Application..
-------------
aShIsH
... more >>
Re: loadMovieNum
Posted by Kishore G P at 9/15/2004 6:52:19 AM
yes you can use,
be sure that you u r making changes only after it loads.. may be u can use
onLoad event or an Interval to execute, but make sure its executed only after
the movie is loaded in that levels
... more >>
Width and Height properties of a document
Posted by Mataos at 9/15/2004 6:51:58 AM
Hi there,
Is it possible to access the width and height properties of the swf file that
are in the the <embed> tag on the HTML page? I want to be able to set the width
and height of the stage within flash to same size as the swf dimensions so that
there is no scaling.
Thanks
Mat
... more >>
Launch a PDF from a Flash .exe/hqx
Posted by divyup at 9/15/2004 1:42:49 AM
The subject pretty much sums it up...
I have a flash executable (which launches full screen). Typically for online
presentation I use getURL to launch the pdf's, but all the pdf's will be local
(on the same cd as the .exe/hqx).
If you have any tutorials or suggestions on how to launch a ... more >>
XML woes aplenty
Posted by jblack at 9/15/2004 1:06:38 AM
Here's what I've done and what I'm trying to do and what's happening:
-I've imported an XML file
-Rather than creating a mess of arrays in the swf file, I'm trying to
dynamically create actions for buttons to parse information from data sets in
the XML file as needed.
-Tracing the variable... more >>
Navigate to frame withing loaded clip
Posted by irritated developer at 9/15/2004 12:52:47 AM
I am in bad shape here;
Movie has 2 scenes. Scene 1 has a button. Scene 2 has a script that loads a
movie with this syntax:
loadMovie("subclip.swf","_level10");
The button on Scene 1 need to navigate to a label on the time line of the
loaded clip. I am using this syntax:
on(relea... more >>
sub mouse menu
Posted by propatria at 9/15/2004 12:42:54 AM
I was wondering how to shorten the sub menu on a mouse. I saw a tutorial about
a long time ago, but at the time, I didnt need it. the tutorial even gave you
the option to customize the menu, its great! any ideas are welcome!
... more >>
TextInput.editable
Posted by ksharma at 9/15/2004 12:09:45 AM
Hi,
I have designed a form in flash that has an email field. The user types the
email and I validate the email field (i.e. check whether it has @ and a 'dot'
etc) using actionscripting and in case the field is NOT valid I display an
error next to the field. I have used TextInput field for... more >>
changing scene
Posted by Matsulainen at 9/15/2004 12:02:52 AM
I've done an animation and I found it most simple to work with by chop it up
into diffrent scenes. So what I want is an action that in the end of each
timeline make flash go to the next scene. I am not sure how to do this; when I
try the nextScene action, it seems to loop back to the scene whe... more >>
|