all groups > flash actionscript > november 2007 > threads for november 1 - 7, 2007
Filter by week: 1 2 3 4 5
inserting an attached MC into another MC
Posted by Hellyhansenv at 11/3/2007 4:31:28 AM
got a little problem - maybe one of you guys can help...
This is a bit of code from Lee brimelow Carousel turtorial. What I'm looking
to do is put this carousel inside another movieclip so I may then tween it upon
a release function. Anyone have any suggestful tips that will lead me in t... more >>
Fade sound using AS3
Posted by damonlee at 11/3/2007 2:17:15 AM
I'm trying to write a function that will Fade In a given mp3 called via the
following method:
var sAmbience:Sound = new Sound();
sAmbience.load(new URLRequest("ambience.mp3"));
var sAmbienceVol:SoundTransform = new SoundTransform(0.7, 0);
I also want a function that will Fade Out the s... more >>
how to call a referenced object.method
Posted by dsdsdsdsd at 11/3/2007 12:16:38 AM
hello;
I am trying to call a class.method using a reference to the class:
my_class = function()
{ this.listener_method = function( args )
{ trace( args ) ;
}
my_object.register_something ( this , "listener_method" ) ;
}
my_object = new Object();
my_ob... more >>
switching frames in side by side movieclips
Posted by Jakewho at 11/3/2007 12:07:42 AM
I have a single scene, which contains side by side movieclips. The movieclip on
the left contains a series of buttons. I would like to have these buttons
control which frame of the movieclip on the right side of the screne is
displayed. Please help.
Thanks,
Michael
... more >>
Drop Down Menu Glitch
Posted by spireality at 11/3/2007 12:04:35 AM
I'm making a drop down menu from scratch and everything seems to be great
except that my sub menu item won't animate. Everything seems properly placed
to me, but I may need to change something in the action script.
It's best to see it in action here.http://www.jp-graphics.net/viewer4.html
... more >>
scrollbar to control timeline movie clip
Posted by turboarrow at 11/3/2007 12:00:00 AM
Hi All,
Was curious if there is code that when you have a move clip and inside the
movie clip you have a scroll bar that controls the movie clips timeline so you
can scroll forward or backwards similar to the scroll bar in quicktime...also
with the buttons..stop..pause ..play etc...
An... more >>
Load .swf from separate server
Posted by victor.corey at 11/2/2007 9:17:14 PM
I have a shell type Flash file that loads an external .swf from a variable
passed in through the FlashVars param. If all the files are in the same
directory it works fine. But if I move the .swf files to another server and try
to call them nothing shows.
Here is the code to load the .swf (... more >>
AS3 best method
Posted by dzedward at 11/2/2007 8:42:35 PM
As of now, im using URLLoader to send a variable to a php file and use that to
connect to mySQL, the php file then echos back an XML with the results. Once
that is back in flash I parse it out and use the data. Once I receive the data
my application begins to run [u]extremely[/u] slow. I've... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Combo Box Component
Posted by fermp at 11/2/2007 7:59:30 PM
Hi all,
I am trying to figure out how to put a comboBox in my Flash form and normally
I just use something like:
countryList.dataProvider = ["Country1", "Country2", "Country3", "Country4"];
var listenerObject:Object = new Object();
listenerObject.change = function(evtObj:Object) {
... more >>
exernalInterface (argh!)
Posted by jmoggio at 11/2/2007 7:50:47 PM
I managed to get my flash to call an external js function successfully, but
can't get a js function to call back in. Hoping I'm just missing some dumb
little thing. I've looked at a bunch of samples and can't figure it out...
Flash movie name, id in the HTML is listenInLibraryPlayer
In the... more >>
fade MovieCip with ActionScript
Posted by Boxing Boom at 11/2/2007 7:13:06 PM
Hi,
I need a little help of my friends, with some ActionScript 2.0;
function hideBespokeText():Void
{
mainShow_mc.textOne_mc._alpha = 0;
}
hideBespokeText();
mainShow_mc.onRollOver = function():Void{
showBespokeText();{
delete this.onEnterFrame;
}
}
... more >>
confused about syntax
Posted by dsdsdsdsd at 11/2/2007 7:08:11 PM
hello;
I am looking at Robert Penner Easing Equations;
he includes this equation: c*(t/=d)*t + b
what does the =d mean, specifically the '=' ?
thanks
dsdsdsdsd... more >>
buttons ontop of flash animation
Posted by undertow462 at 11/2/2007 6:57:42 PM
I have a flash movie(generalPlayer) that in turn loads another flash
movie(converted from powerpoint) and plays it. I have this generalPlayer
loading in a java JDIC browser window. Since i cant make flash automatically
grab keyboard focus after the movie is loaded into the browser(one has to... more >>
dynamically put variables inside a movie clip
Posted by DJ James at 11/2/2007 6:48:17 PM
In the past, I could dynamically add variables to a movie clip to assign values
to them so that I was able to read them later per movie clip.
It doesn't seem like I can do this now. Is there anyway to do it?
Also, this is in a class, and when the student has answerd the quesiton, I
need... more >>
Actionscript button problems
Posted by Dimcloud at 11/2/2007 4:13:23 PM
I'm doing a flash based web site for school and need help with buttons i am
making. They are "piano" keys in which i need them to play a sound when i press
the button down, but the sound should stop when i release the button. Please I
really need the help!!
... more >>
Basic onRelease/Frame Name
Posted by schnerlz at 11/2/2007 7:28:36 AM
I'm fairly new to CS3 and haven't messed with any of it's settings. I've had to
relearn a bit so bear with me. I'm building an fla using onRelease and frame
names to navigate. The concept is simple, yet my code doesn't work. I'm clearly
doing something wrong and a kind kick in the right direct... more >>
Please help for Registration point to a movieclip/sprite
Posted by IamRaj at 11/2/2007 6:05:30 AM
I am new to AS3 and have a doubt on Registration point for Movie clip / Sprite.
Please help me the sample code for this
I simply draw a line using AS3 in flash environment. but i used
graphics.moveTo for center. but if i run this it is simply taking x,y axis 0,0
and move around the stage.... more >>
Dynamic onPress
Posted by capitalino at 11/2/2007 4:00:29 AM
I am trying to create a MovieClip at the root level, inside that MovieClip I am
creating several dynamic MovieClips. To each one of those MovieClips I am
trying to add an onPress event so I can do something as the MovieClips are
pressed. This is the code I have:
var vPos = 12;
var hPos =... more >>
Convert number to letter
Posted by The bloke from stoke at 11/2/2007 12:00:00 AM
Hi there
I am trying to find a way to convert a number to a character for a game I am
working on. Currently the users score can be sent to a friend via a query
string e.g. www.mygame.com/game?usersscore=111.11
This is not ideal as all the user needs to do is alter the query string to
... more >>
get array out of a function
Posted by schlafendes_faultier at 11/2/2007 12:00:00 AM
hello.
i've an array and in a function and i don't know how to get it out of the
funktion because i want to use it in a dynamic way. ?return? does not work. i
try it last night for 3 hours and i find no way.
please help me an sorry for my teribble english, i'm a german one.
bernhard
... more >>
Checking for existence of object
Posted by RGracia at 11/2/2007 12:00:00 AM
I need to write a function to check if a NetStream object with the name
"stream" has been created yet and then act accordingly based on if yes or no.
Is it possible to check for that in ActionScript 3.0?
... more >>
Flash application using POST
Posted by fermp at 11/2/2007 12:00:00 AM
Hi guys. I'm currently using Flash's export as .exe feature and it seems that
no matter what with the .exe Flash uses GET instead of POST even if I use POST
in the actionscript. Now I know I've seen this in the documentation and
floating around the forums but does anybody know if it is possibl... more >>
Selection.setFocus(null)
Posted by Pop Clingwrap at 11/2/2007 12:00:00 AM
I have a movie clip that holds a text field that can be changed either by
typing in to it or clicking buttons (also contained in the movieclip). Once the
text field has focus there seems to be no way of getting rid of it other than
clicking in another field. I have tried using Selection.setFoc... more >>
Help in Swicth Case
Posted by AScracker at 11/2/2007 12:00:00 AM
Hi
In that code if the user Type the value " assdfa" it need to display
not available...
if they typed the name kelly or bill then it display the correct
value....it's working fine
How should i do for un avilable values...
~~Sk
var my_array:Array = ["bill_... more >>
SetFocus on TextInput
Posted by AScracker at 11/2/2007 12:00:00 AM
Hi
I need to make the cursor blinking on thet textinput component when i run the flash file... at first
~~
Sk... more >>
removeMovieClip and the clip's content
Posted by Globe-Technologies at 11/1/2007 10:24:53 PM
Hi,
I'm currently doing an interactive flash for a company and for many obvious
reasons I'm programming it as object oriented. I do at some point attach an
empty movie clip which I fill with many texteFields, movieClips and I also load
an external image using the loadMovie function. I decid... more >>
array for catagorical menu
Posted by yogi bear at 11/1/2007 9:21:59 PM
Where can I get a tutorial on how to create a catagorial menu with a built in
array?
I want to create the structure below using actionscript without XML. A nested
loop thing?
Books
red books
blue books
Cars
red cars
blue cars
thanks,
yogi
... more >>
recording document.location.href
Posted by AlienDev211 at 11/1/2007 8:56:35 PM
Setup: I am using Flash MX, we have created a flash based survey that is
passing information to a pearl script. The form is working but more information
is needed. i need information about the url that they used our survey. we have
a very large website and we need to know where they were and ... more >>
Loading Array
Posted by mike93 at 11/1/2007 8:07:04 PM
Hi everyone,
I'm having a problem with loading an array from a text file to play flvs in
sucession. I 'm using LoadVars to load the array from the text file. I can
trace the array and trace elements of the array. But the problem I'm having is
that the videos are not playing. This even ... more >>
What's best way to load mutilple swfs to the stage?
Posted by madhooper at 11/1/2007 7:23:35 PM
:confused;
I'm trying to load 4 swfs to the stage. Think of an mp3/fm tuner/video player.
I'd like to have the playlist, status bard and menu stay seperate swf files.
Thanks in advance for your help
... more >>
Confused over the "WHY"
Posted by itgranny at 11/1/2007 6:31:56 PM
I know this is going to sound like I'm a smart aleck but I'm just trying to
figure it all out and so far things have not been answered in a way that I can
understand. I must be missing something because I can't seem to figure out the
reason for actionscript (.as) files. I don't come from a pro... more >>
Printing content of embedded swf from main environment swf
Posted by TerryCQ4 at 11/1/2007 5:21:42 PM
I am using Flash Professional 8 to develop, and player 8 to view published swf
files in an html window. I have looked through the posts, but nothing seems to
apply.
[b]OVERVIEW:[/b]
I have a main environment which contains a graphical banner, back and next
arrows, and a 'Print' popup con... more >>
Flash CS3 with AS3 Button Sound Bug
Posted by cabtw at 11/1/2007 4:21:54 PM
Using Flash CS3 with AS3. The sound added to the over state of a button plays
both on the over state and the down state.
Try this simple trial.
1. Draw a rectangle
2. Convert to button
3. Double click on button and add key frames for over/down/hit states
4. Select the over state
5.... more >>
How to keep one button in Active State
Posted by madhooper at 11/1/2007 4:01:52 PM
I'm working on a Flash touch screen app. I'd like to create buttons that maintain an active state while the user is on a certain screen.
How can I accomplish this quickly.... more >>
TextInput inside MovieClip
Posted by imjustabeginner at 11/1/2007 3:50:59 PM
Hello,
I am creating a game pretty much like jeopardy. What is happening is that you
click on the number value you want, like 100 for example. When it gets clicked
on, there is a tween that occurs and then the question appears on the screen
along with all of the contestant names.
If o... more >>
Button Component in AS 2.0 class
Posted by Arran at 11/1/2007 9:32:16 AM
Hi
I have a MovieClip called _mcButton. This MovieClip contains a Button
Component called _myButton.
The linkage id for the _mcButton MovieClip is called _mcButton and the
AS 2.0 class = compButton (export for ActionScript selected, etc)
I have an external class called compButton.as (See... more >>
evaluate variable name in a loop in cs3
Posted by mousumi_78 at 11/1/2007 6:04:38 AM
I want to generate variable names in a loop and assign a object refe. to it.
ex. public var missing1_mc:MissingGameObjects;
public var missing2_mc:MissingGameObjects;
public var missing3_mc:MissingGameObjects;
public var missing4_mc:MissingGameObjects;
Now in a loop i want to do the fo... more >>
Looping question?
Posted by sixofeight at 11/1/2007 4:03:10 AM
Hello!
Okay, I have been noodling around with a pretty simple exercise in order to
learn some Flash basics.
I have a rectangular frame, upon which four separate graphical objects "parade
by". These objects can be clicked and dragged around the frame, and the entire
thing loops.
In... more >>
string truncation
Posted by DelinquentMe at 11/1/2007 1:48:31 AM
is there an easy way to remove x ammount of characters from a string value??
IE:
var greeting = "hello";
(truncate 3 char from the end);
trace(greeting) // "he"... more >>
actionscript debugging HELP!
Posted by preciouspurple11 at 11/1/2007 12:45:44 AM
function preloadProgress( event:ProgressEvent ):void {
var loadedPercent:int = event.getBytesLoaded( ) / event.getBytesTotal( ) * 100;
loaderText.text = loadedPercent + "% loaded";
twirlsMask.scaleY = loadedPercent / 100;
}
Anyone knows the problem? It keeps saying:
**Error** Scene... more >>
loading txt into multiple TextArea's
Posted by sirtcarlos at 11/1/2007 12:41:23 AM
I am trying to keep all text in one text file, but have three TextArea boxes
that are created with AS into which the external text file loads the text. Can
I set variables in the text file and then pull them into the TextArea's instead
of making separate text files for each TA?
Any help wou... more >>
New to Actionscript: need SharedObject help
Posted by klikmaker2004 at 11/1/2007 12:00:00 AM
Hi, I'm new to Actionscript.
I am using a program called Page-Flip (http://page-flip.com) to make an online
catalog. Everything is working fine, but I am trying to modify it a little
using Actionscript. I'm trying to use SharedObject to have the document
remember what page of the catalog ... more >>
need some help to get started on making some astroids move around a planet
Posted by Michealnl at 11/1/2007 12:00:00 AM
Hello,
My next challange is to make an astoid belt that moves in an eclipse around a
planet.
I can do this without actionscript but i does not look very nice because you
have to swap the depths
of the planet if the astroid is in front or behind it.
I would like to know if this is pos... more >>
linkage identifier versus instance name
Posted by flashcrazy at 11/1/2007 12:00:00 AM
What are the differences between linkage identifier and instance name of any
object(mc,symbol etc)
Some commands in flash require linkage identifiers to me provided.What if
the movieclip is being created dynamucally.How would then the link Id be
given.
On the other hand if movieclip is s... more >>
Help with code...emergency
Posted by solstickan at 11/1/2007 12:00:00 AM
Hi!
We are making a game in school, it's a boat crossing the ocean.
We have a problem that the boat doesn't stop when it gets to the end of the
screen, it just continues moving away.
So, If anyone can help us with the code that makes the boat stop inside the
border... PLEASE
This... more >>
Need a clue
Posted by mballom3 at 11/1/2007 12:00:00 AM
Hi,
As of this writing, if you ever visit the french canadian version of msn
(http://sympatico.msn.ca/defaultf.aspx) you would notice what iam trying to
achieve: the TD bank banner sometimes expands out of the html table where it is
loaded/embeded and some portion of it gets bigger to cove... more >>
AS 3.0
Posted by mballom3 at 11/1/2007 12:00:00 AM
Hi,
Can anyone direct me to a ressource where i can know the main differences AS
3.0 as brought as compared to the 2.0?
For instance, does it know include all the libraries to communicate to a mYSQL
database without the hassle to pass thru php?
... more >>
PHP still not working
Posted by Mary Alice at 11/1/2007 12:00:00 AM
The form information does not come to email, even with the revisions. Also, I
need the form, after clicking on SUBMIT button, to go to a Thank You page
(which I created in Flash 8).
See the scripting with the revisions but still that does not help. Form goes
no where.
ACTIONSCRIPT the F... more >>
fullscreen flash presentation
Posted by R.A.F. at 11/1/2007 12:00:00 AM
Hi,
How can i tell to my flash presentation to use the full screen mode in
order to not show the projector menu bar ?
thx.
RAF... more >>
|