all groups > flash actionscript > may 2006
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
Line w/ gravity physics using drawing API
Posted by burritobot at 5/31/2006 11:21:06 PM
I have two dynamically-generated points, and would like to draw a bezier-type
line between the points, simulating a "patch cable", with some gravity using
the drawing API.
If any of you are familiar with the Propellerheads music software, Reason, you
know what I'm talking about.
<b><... more >>
I need a help
Posted by Dave at 5/31/2006 9:58:48 PM
Hello
I would like to do that but with little line
I know it's not possible to do that
this.["c"+i+j].onPress =
function() {
do you have a good solution please
this.c11.onPress = function() {
++lig;
if (lig>5) lig=1;
var c:Color = ... more >>
What types of objects can be included in a Textarea object?
Posted by woodtah at 5/31/2006 9:47:37 PM
Can an image and/or a button be included in a textarea? I am trying to create
something that acts like a popup window but using a textarea, and I want to be
able to give the users a visual way of closing/hiding the window by providing
an "X" at the top right of the textarea. Can this be done... more >>
OT: delivering the file sources to the client
Posted by John Doe at 5/31/2006 8:59:34 PM
hi:
anybody used to deliver the file sources to the client?
the question arises because i developed an app some time ago for a
client. for some reasons they won't continue supplying maintenaince to
the final client who is asking for the files sources to get support from
another company
... more >>
Class File Not Updating!
Posted by fluffhead92 at 5/31/2006 8:54:26 PM
I have a couple flash movies that import a custom class that I created. I've
been trying to fix a bug that required altering the class file. However, one
of the flash movies still imports an unaltered version of the class. I've
removed all the trace statments from the class and I continue t... more >>
How to get external parameters
Posted by daniel_baylon at 5/31/2006 8:46:05 PM
I'm newbie in Flash, I'm trying to develop an aplication using Flash 8
Professional. I need to send some data to a flash document from a Web page.
I have noticed that Flash uses an object tag in HTML code.
I don't know if is possible to specify additional parameters in object HTML
tag an... more >>
OT: delivering file sources to the client
Posted by John Doe at 5/31/2006 7:43:36 PM
hi:
just curious, are you used to deliver the file sources to the client? i
develop an app... more >>
A .swf viewing area
Posted by dante013 at 5/31/2006 6:47:17 PM
I have a 748 x 240 swf movie that I am loading into a 1012 x 570 main movie.
The animation for the 748 x 240 swf movie has movie clips leaving said area, as
intended.
The problem is, when I load the 748 x 240 swf movie into the larger main
movie, I can see the movie clips that go beyond th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Click Event For MovieClip??
Posted by Mad Rhino at 5/31/2006 6:45:16 PM
Hi there, i was wondering, it is possible to 'Listen' for a checkbox compnent
'click' event by using code like this ( example code from livedocs):
<b>
listenerObject = new Object();
listenerObject.click = function(eventObject){
...
}
checkBoxInstance.addEventListener("click", listen... more >>
getBytesLoaded from loadMovie()
Posted by LSNsaltlamp at 5/31/2006 6:39:27 PM
I am attempting to use the following code:
holder.loadMovie("3.swf");
loaded.text = holder.getBytesLoaded;
Does the loadMovie function not support getBytesLoaded?... more >>
dynamic text not available in loaded .swf
Posted by teemflmngo at 5/31/2006 6:16:04 PM
I am using the LoadVars object to replace the text of a dynamic text box with
the click of a button. The AS below works fine when tested as an swf.
one_btn.onRelease = function() {
var LoadVarsText = new LoadVars ();
LoadVarsText.load("one.txt");
LoadVarsText.onload = func... more >>
If() syntax
Posted by LSNsaltlamp at 5/31/2006 6:04:48 PM
What is the order of operation for the if() command? Example: If the code reads:
If(variableA == 1 || variableB == 2 && variableC == 3) {
Action
}
will the action be executed only when variables A or B are defined correctly
AND variable C is defined correctly? Or do I need to set it up lik... more >>
Movie clip instance using the _name
Posted by spinz2112 at 5/31/2006 3:46:42 PM
I have a an array of 3 objects. a movie clip name, an x coordinate and a y
coordinate. these elements contain the mc instance name and the x and y coords
which i would like to move the mc. i am wondering how i could create a generic
function that would pickup the mc name from the first array o... more >>
text arching like nike uniform builder
Posted by mastmela at 5/31/2006 3:36:09 PM
I saw nike's unifrm builder, <a target=_blank class=ftalternatingbarlinklarge
href="http://www.niketeam.com/v2/new/Sport.asp?SPT=BBM&CAT=UNI">Nike Uniform
Builder</a>, they built uniform generator using Flash,
the only thing wondering me is, how did they manage to arch the text, if
anybo... more >>
Help with load and unload
Posted by SnokeyPower at 5/31/2006 3:25:41 PM
So...........................
I am creating a portfolio with flash. Now i am not very proficient in flash
but i know enough to get around.
this is my first time making an enitre site in flash.
this is how i have been doing it.
i have 3 MC buttons. Each button loads a different external s... more >>
DestroyObject and windows gives me trouble
Posted by Niumtep at 5/31/2006 3:20:23 PM
Hello. Now i hope you can help me with my problem. Iam currently trying to
build a window based interface for something, which is supposed to work through
several platforms, but this is not really the point.
The point is, i generate windows with a function, were i give the window the
funct... more >>
creating a timer
Posted by richmal at 5/31/2006 3:18:20 PM
Hello all - my actionscripting is rubbish, therefore can anybody help me please?
Basically I need a flash movie to hold a keyframe for 30 seconds before
continuning.
How would I do this? Can anybody point me to a tutorial and/or just post the
required script to this forum?
Thanks guy... more >>
Using RemoveMovie CLip within an embedded swf
Posted by Mordred58 at 5/31/2006 3:14:54 PM
I'm building an e-learning module, and I'm in the process of making a glossary
file -- one that will change depending on what lesson is being accessed at that
time. In order to do this, I have an external swf that is embedded into
another swf file. In the external swf, I have a button that I... more >>
External vs. Internal Preloader
Posted by ski_geek at 5/31/2006 3:14:09 PM
I am wondering what is better to do. I am working on developing some Flash
web-based tutorials that are basically all self contained except for loading
variables from a text file. Is it better to do an internal preloader or
external preloader?
Any thoughts on when to use an extrenal prelo... more >>
post variables in flash 6
Posted by CastTen at 5/31/2006 3:11:58 PM
Hi,
I have to pass a string with a length more than 2040 characters. I tried
to use the loadVariables command and give it the parameter "POST" but it
doesn't seem to help.
My code looks like this
loadVariables(urlstr, this,"POST");
any ideas?
Thanks for any help!... more >>
array.join
Posted by frashjiveturkey at 5/31/2006 3:00:34 PM
How can you use array.join in actionscript 1?
the syntax used in the actionscript dictionary only works in AS2 -
temparray.join(" - ");
The rest of the project I need this for has been previously done with AS1, so
AS2 is not an option.
No syntax errors are thrown up using this, it just d... more >>
Setting text to a text field at runtime
Posted by SmallzTallz at 5/31/2006 2:38:55 PM
We need help setting text to a test field at runtime. We have looked over the tutorial and have not been able to find anything out to help us. Please post and help US...
SMALLZTALLZ!... more >>
actionscript and emc and xml
Posted by the_bishop at 5/31/2006 2:25:07 PM
:confused;
Hello all. Im a bit of a newbie to forums so bear with me.
The problem I am facing is quite a complicated one so I will start from the
top.
First I am running a button to a movie (this works fine)
on (release) {
_root.root.shutters.gotoAndPlay('playshut')
}
which ... more >>
intermittent "undefined"
Posted by aniebel at 5/31/2006 2:13:22 PM
how does one ensure that the XML is actually loaded and if it isn't, can you
set it up to retry?
I have a site that loads XML into dynamic text fields but sometimes it comes
up "undefined". If I refresh the page, it will then load fine. How do I go
about making sure the undefined error nev... more >>
Colour detection
Posted by Tolk at 5/31/2006 1:57:25 PM
Is it possible to detect the colour of an object the mouse is over using AS?... more >>
Dynamic variables
Posted by mrmille at 5/31/2006 1:53:44 PM
Hi, im trying to create something dynamic here...
do {
this.createEmptyMovieClip("rectangle_mc"+eval(i), 10);
rectangle_mc+eval(i)._x = 100+(i*15);
rectangle_mc+eval(i)._y = 280;
drawRectangle(rectangle_mc+eval(i), 10, -vArray<i>, 0x99FF00, 100);
i++;
}
Its the rectangle_... more >>
Programming Symbols VS Instances
Posted by techDevXAG at 5/31/2006 1:01:11 PM
I am new to this forum and ActionScript, but am an experienced OO programmer.
Is there a simple way to program all instances of a symbol on a stage to behave
in the same way. For example I have a symbol called CARROT in my library.
Whenever a carrot is dragged on the stage I simply want the sc... more >>
pb with printing of ansi caracter
Posted by pedromp7 at 5/31/2006 12:56:59 PM
hello,
i have a problem to print the special caracter like ????.. I get this
information from a php script and send to flash.
The data sending are correct. But i can't print it correctly .. I 've used
also the method : htmlentities in php and unescape for flash... but it didn't
work ... ... more >>
Problems with flash email form
Posted by BykerGrove at 5/31/2006 12:54:21 PM
hi there
im fairly new to php and flash integration and wondering why php and flash
doesnt seem to be working toghther.
i have a email form in my swf file that calls on a php page. (form.php) When i
hit send i get my 'thanks' message come up in my flash movie but the email
doesnt appea... more >>
If statement not recognising variable
Posted by Tolk at 5/31/2006 12:10:35 PM
I have a dynamically created input text box with a variable defined. When i try
and use this if statement:
if(eval("value"+String(i)+String(j))=void(0)) {
bllaaaa....
}
I get the error whilst trying to compile:
**Error** Symbol=mcInput, layer=Layer 1, frame=1:Line 180: Left side of
ass... more >>
fifth 'frame' in button
Posted by Marc Lee at 5/31/2006 11:31:38 AM
All,
I've got a button to which I've added a frame 5 (after the 'hit' frame). I
want a specific graphic for the disabled state of the button which I've put
in that fifth frame. How do I get that frame to be displayed. You can't use
this.gotoAndPlay(5) because that's a mc method.
All help ap... more >>
How can i made the MC playing 3 times!
Posted by fanglinyong at 5/31/2006 4:51:47 AM
hello
in a scene, i want to making a MC playing 3 times,then jump other frames,who can tell me ?
thanks very much!... more >>
Blurry pixel fonts in Flash 8
Posted by complexity at 5/31/2006 4:19:38 AM
Hey all
Could someone please show me how to create unblurry pixel fonts in Flash 8.
For whatever reason my Arial size 11 always comes out blurred, I have ensured
that Bitmap Text (no anti-alias) is selected.
Files here:
users.ncable.net.au/~timfrancis/blurryfonts.fla
users.ncable.n... more >>
Player V6 .AS to PLYR 8 .AS
Posted by juanbbdo at 5/31/2006 3:42:43 AM
From an
onEnterFrame = function() {
this.t++;
puntosquietos = true;
this.x = (this.x + this.xcaos) / 2;
this.y = (this.y + this.ycaos) / 2;
this.z = (this.z + this.zcaos) / 2;
reubica = radioobras / Math.sqrt(this.x * this.x + this.y * this.y + this.z
* this.z);
this... more >>
looping loadvars
Posted by BronwynL at 5/31/2006 3:29:51 AM
Hi
I'm writing a site in Flash where I want some of the copy to be dynamic, ie
client can replace copy in text files that are loaded into the swf at runtime.
I've been able to do it using the first bit of code below but since there are
15 external files I would like to do it in a loop. I ... more >>
Need flash made
Posted by NeedANickname at 5/31/2006 3:18:11 AM
G'day,
What i'm looking at getting done is having a blank website, with a Body of
text, if the user clicks letters in the correct sequence, it displays an image.
So, for example, if the keyword is "hello" and the user enters H E Z, it beeps
for every correct letter, then buzzes for incor... more >>
Really Stupid Question
Posted by bob3546 at 5/31/2006 2:11:01 AM
I have a symbol named contentMain and inside it is a dynamic textbox with an
instance name of mp3text. I need to change the text in the textbox with
actionscript. How would I call it in the script? contentMain.mp3text ?
... more >>
sound class
Posted by codescodescodes at 5/31/2006 2:02:20 AM
Hi everyone. I'm creating an audio player which will receive xml information
from a server and play the requested sone. I have all that set up. The only
problem I'm having with is creating the progress bar while the sound is
streaming. What happens is when the audio player is opened, the s... more >>
_root.movieclip.movieclip.gotoAndPlay("framename") ; Why syntax error!?
Posted by complexity at 5/31/2006 2:00:36 AM
Hey all I get a syntax error everytime I add the second movieclip name ("1sml")
to this line of code. If I take it out its fine, why is this?
_root.sml_photos.1sml.gotoAndPlay("selecteda");
I am running this as a single line of code in 1 frame in my timeline (meant to
be like a trigger)
... more >>
E Learning Material
Posted by Omezarn at 5/31/2006 1:55:16 AM
Hello,
I am really stucked so i need ur help. I am new to flash so bear
with me please. I am creating an e-learning content for my project, I am doing
something similar to a tictactoe game. So for example what do i do to make the
empty boxes turn into "X" or "O" when clicked? i tho... more >>
Unlock Key Flash app
Posted by doinka at 5/31/2006 12:00:00 AM
I created a small program in Flash.
Is there a way to add an unlock key or serial number for distributing?... more >>
draggable object with feedback
Posted by me at 5/31/2006 12:00:00 AM
hi all,
how can i make 2 objects to be draggable and dropped to their own (2) =
hotspots which then will allow us to go to the next frame/label, if the =
object not being dragged and dropped to the correct location then ignore =
the statement/do nothing. It has to be 2 objects, if only 1 objec... more >>
Inserting values from text file
Posted by g_como at 5/31/2006 12:00:00 AM
I was wondering if it is possible for Flash to read a text file and input vaues into fields at runtime. Thanks for the help.... more >>
Problem: drag and drop new MC from Datagrid cellPress
Posted by dave_damedia at 5/31/2006 12:00:00 AM
I am creating a flash app where I need to create a new MovieClip and drag it to
a ScrollPane with one click on a DataGrid cell. The DataGrid is nested inside
an Accordion panel which itself is inside a scroll pane, upon pressing the
mouse inside a DataGrid cell (by adding a 'cellPress' listene... more >>
Still need help about a preloader..
Posted by Stan Sainte-Rose at 5/31/2006 12:00:00 AM
Hi guys..
I need some help to understand the preloader concept.
Any code will be appreciated..
Here's my needs.
I have a page where I set a thumbnailer and a Zoom section.
With this page, the user can navigate between different items
and each item can have multiple pictures (loaded from an... more >>
when using onclipevent via on(rollover), how do I still paused a movie?
Posted by complexity at 5/31/2006 12:00:00 AM
Hey all,
I have a movie that is running free on the timeline and when I rollover it I
am attaching a movie to the cursor.
My problem is that when I do this, I then cant seem to pause the running time
line.
eg:
on (rollOver){
framevar = _currentframe;
gotoAndStop(framevar); ... more >>
go to last frame and stop
Posted by Carlos Gonçalves at 5/30/2006 11:04:15 PM
How can I make Flash detect which is the last frame and go and stop there?
Thanks a lot,
Carlos
... more >>
swf in browser cache - problem
Posted by makijaveli NO[at]SPAM gmail.com at 5/30/2006 10:22:04 PM
hay,
I don=B4t knoe how to solve problem in browser not to cache flash (.swf)
files.
I am loading external.swf file to main.swf via button in main.swf. But
if I
change something in external.swf and upload this file on ftp, my
browser (FF,
IE) still uses "original" external.swf that was loaded... more >>
dynamic text performance
Posted by cadflash2 at 5/30/2006 10:16:54 PM
Hi,
I have a movie clip which is having a dynamic text. I need to create around
3000 instance of this movieclip while running the script. The perfromance is
slow if I have this dynamic text on the movie clip while loading the page and
closing the page. If I remove this dynamictext, then perf... more >>
Movie Clip Button to open PDF
Posted by danny biy at 5/30/2006 9:57:11 PM
Does anyone know how to open a PDF file separate from the browser. I need the
file to open in adobe, brand new window, not in the browser. I have this code
which opens it in the browser, I just need it to open separate from the browser.
_root.resume2_mc.onPress = function(){
get... more >>
|