all groups > flash actionscript > october 2007 > threads for wednesday october 17
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
Problem removing listener after reload
Posted by ian_c_c at 10/17/2007 11:58:35 PM
Note: Using AS2, Flash 8
Here's the setup:
I'm developing a small game based on Wheel of Fortune. The .swf for the game
is loaded into another flash application on another developer's end. Their
application is build like a slideshow. (switching from one .swf to the next,
one of which... more >>
Flash not anti-aliasing my font?
Posted by rsmolkin at 10/17/2007 11:23:51 PM
Hi,
Inside the Flash8 the fonts are nicely anti-aliased, but after I
export the movie and preview it in the browser, the fonts are not anti-
aliased. Does this have anything to do with render-html enabled?
Any other ideas?
Thanks,
-Roman
... more >>
Filtering Undefined variables from List component
Posted by MrKnives at 10/17/2007 10:56:35 PM
alright i have 2 questions and 1 problem...
when I split an array with a certain phrase/keyword the rest of the data that
isnt filtered gets listed as undefined... I'm wondering how do I filter
undefined strings/variables out of the list component... a flashkit.com dev
helped me with my prob... more >>
Using Cue Points with FLV and AS
Posted by Kickpedal99 at 10/17/2007 10:33:37 PM
I have an FLV and I want to have several cue points, each will "cue" different
text to appear.
I have a movie clip on my stage (instance name "hello") which is set to not be
visible until the 5 second mark of the video, where the cue point "sayHello"
tells the clip "hello" to become visibl... more >>
Detecting keystrokes from within a class
Posted by trigger2160 at 10/17/2007 10:21:22 PM
Hello again. I seem to be permently on here at the moment. Trying to do
advanced things thats the trouble. I have started to try and program
"properly" in flash which means using classes. i have a class file and this is
imported into an fla file. in the fla file i create some objects from... more >>
stageWidth after resize
Posted by KinseyFobes at 10/17/2007 10:06:32 PM
When I resize the stage during execution stage.stageWidth changes as expected,
but the 0,0 coorinate seems to ove. When I trace out the stage.mouseX or
mouseY coordinates after maximizing the stage I get negative numbers for the
upper left hand corner, and the lower right gives numbers that a... more >>
ActionScript 3 / Alert Box?
Posted by Rich Morey at 10/17/2007 10:06:31 PM
Hi --
I am trying to create a simple error message pop up for my user to see,
however, I can't figure out how to access the Alert class in ActionScript 3.
Has this been removed? Or placed into a new package?
Thanks
Rich
... more >>
Component Stage Icons
Posted by clbeech at 10/17/2007 8:55:06 PM
Alright guys, does anyone have any knowledge on building Components. I'm
almost done, packaged and complied SWC, but I can't seem to figure out how to
add a 'visual' icon to the stage that shows durring authoring. I'm not talking
about the menu icon png, I mean one that shows up on the Stage... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
action to control combo box
Posted by kebat at 10/17/2007 8:08:43 PM
Hello!
I have 3 combo boxes. The first one has 3 labels "1", "2" and "3". The second
combo box has 5 labels "a", "b", "c", "d" and "e". The third combo box has 3
labels "zz", "xx" and "ww".
I would like to know if it is possible to have a script that says: If i chose
"1", "c" and "xx" ... more >>
onBWDone
Posted by dzedward at 10/17/2007 7:35:34 PM
This seems to be the last thing that is holding up my video application. I got
the video to play (RTMP using NetConnection/NetStream), however, I keep getting
this error about "unable to invoke callback onBWDone" .. So after some
googling, I see it all pertains to Flex...?.. I'm at a total ... more >>
LoadMovie to a target in another document
Posted by kebat at 10/17/2007 7:32:41 PM
Hello!
First I would like you to forgive my poor English.
I have a document called "main" with a combo box with the following code:
cb.dataProvider = [
{label:"Seleccione a Marca", data:""},
{label:"Make1", data:"make1. swf"},
{label:"Make2", data:"make2.swf"},
{label:"Make3", data... more >>
delete this.onEnterFrame
Posted by hcciii at 10/17/2007 7:20:22 PM
I am trying to understand using onEnterFrame to position MovieClips:
Here is a simple, example:
1) I have a MC on the stage: "content_mc"
2) I position it on stage sucessfully but uncessfully delete onEnterFrame
Here is the sample code:
if (10 < content_mc._x) {
this.onEnterFrame = f... more >>
Array in call back function
Posted by YippySkippy-xx at 10/17/2007 6:21:07 PM
I define an array at the top of the file in FLASH
var questions:Array = new Array();
I read in a list of short XML files and push them onto the array in the
COMPLETE callback function of the loader event listener using inside a for each
loop
questions.push( new XML(evt.target.data))
Insi... more >>
Truncating last character in a string
Posted by schefz at 10/17/2007 5:31:45 PM
I am making a dialpad. It is just for display so I am using a string for the
numbers selected. I am trying to make a back button that would clear the last
number added. I tried mystring.length-1 but that doesn't seem to be doing the
trick. Is there a simple way to truncate the last character ... more >>
Add custom methods for built-in classes
Posted by e-zen at 10/17/2007 5:04:41 PM
Hi
I know that I can create a new class that extends MovieClip, but is it possible to add custom methods to regular, built-in Flash Classes, such as MovieClip or Sprite?... more >>
Symbol Instance Names
Posted by SpectacularStuff at 10/17/2007 4:52:58 PM
I can create a new instance by (please tell me if this is wrong)
var myVar:MovieClip = new MovieClip();
How do I give that movie clip an instance name using only AS3?
Thanks,
Wayne
... more >>
contact form send without all fields entered
Posted by dreyphoto at 10/17/2007 3:52:25 PM
I have a contact form set up with 5 fields and it can only be sent if all 5
fields are filled in. Not all my clients want to enter a phone number or
wedding date, so I need to know how to change the action script so that it will
still send if only 2 or 3 of the text fields have been entered. ... more >>
loading problem
Posted by crila at 10/17/2007 3:40:42 PM
I am using the attached code for my preloader. The code works fine in all of
the browsers I have used except Internet Explorer. When navigate to the page it
works fine the first time. Then if you refresh the page the loading bar just
sits at 100% and the movie never plays.
If you want to s... more >>
Trying to move up one level-AS3
Posted by dzedward at 10/17/2007 3:36:35 PM
For some reason, probably my lack of knowledge, I can't move up one level to
access a movie clip. I want to call upon a movie clip from inside that movie
clip. Visual:
Main Stage:Movie Clip (my_mc)
my_mc:Actions layer
I can't access my_mc from inside of it. I've tried using parent.my_... more >>
AS3: root to child SWF communication
Posted by george3380 at 10/17/2007 3:13:13 PM
I am making the transition to AS3 and have been finding it quite difficult. If
my root file loads in a child SWF, and I want to call a function inside that
child SWF, how would i do it? The code on my root file is like....
var loader:Loader = new Loader();
var path:String = "square.swf";... more >>
cue video for new url?
Posted by JuanL21 at 10/17/2007 2:39:00 PM
Hello,
I have a small problem. I have a video (flv) that i need to cue once it ends. I need to open a new URL once video finishes. Please help.
thanks in advance!
-J
... more >>
youtube videos.
Posted by Rodrigo Guerra at 10/17/2007 2:30:14 PM
hi all.
I´m trying to load some youtube videos in my flash app...I'm desperate.
a quick example passing this url
(http://www.alumni.org.br/tmp/rodrigo/v.html) works fine online you can see
it here:
and this is the code used:loadMovie ("http://www.youtube.com/v/qUNZO1Xti1E",
_root);
w... more >>
Getting the server Host name in Action Script?
Posted by Rich Morey at 10/17/2007 9:36:33 AM
Good Morning --
Is it possible in a flash movie (CS3/AS 3.0) to get the host name of the
server running the flash movie?
For example, if the URL is http://www.domain.com/movie.swf, I would like to
be able to read a variable / function and have the result be "domain.com"
Thanks
Rich
... more >>
Problem with LoadVars and stopping/playing
Posted by vandelik at 10/17/2007 4:43:29 AM
I've got a flash movie set up online that isn't working properly. The details
are this: the movie has two frames, the first being a blank loading frame meant
to keep anything from being displayed till the variables are delivered by my
PHP script, and the second being the frame with the actual ... more >>
problem with loading external png & gif image ?!
Posted by AlMostabed at 10/17/2007 3:44:02 AM
hello,
i used this action :
[code]
this.createEmptyMovieClip("mcHolder", this.getNextHighestDepth());
var mclLoader:MovieClipLoader = new MovieClipLoader();
mclLoader.loadClip("cloud.png", mcHolder);
/*var oListener:Object = new Object();
oListener.onLoadInit = function(mcConte... more >>
List of import classes and descriptions
Posted by DJ James at 10/17/2007 3:41:08 AM
OK, we just got CS3 installed at work, and we're starting to learn the new AS3.
So far we love it... but we want to know ALL the import classes and
descriptions of what they are. is there a list anywhere? I've searched the
help, searched the web, can't seem to find anything.
something li... more >>
Test Flash detection
Posted by purple_am at 10/17/2007 12:00:00 AM
Hello,
I got the flash detection kit and integrated it with a website i am
developing. Well a few people told me that they end up with a blank page. I
think that the flash detection did not work and i am unable to check this part
since all PCs at the office are installed with the latest ... more >>
Toggle Music on/off
Posted by Jack.Straw at 10/17/2007 12:00:00 AM
Hello. I'm trying add a music on/off button to my flash project. The music is
on it's own layer (called "sounds layer") and is an .mp3 set to repeat. What
script command could I use to stop the music? I've tried...
on (release)
{
stopAllSounds();
}
... but that just halts t... more >>
how to retreive the name of an initObject if you use AttachMovie?
Posted by Michealnl at 10/17/2007 12:00:00 AM
These are maybe some simple lines of codes, but i would like to find out what
bal name is
on my stage. As you can see, you can change all properties of the movieclip,
but i can't trace
the name of the bal?
Does anyone know how to do this?
var i:Number = 0;
var initmovebal:Ob... more >>
can any one Help me for Loading the xml file in As FIle
Posted by AScracker at 10/17/2007 12:00:00 AM
hi ,
i am As2.0 functionality it's working fine if i wriiten all the script inside
the suceess loop
but if i tried to pass the file then it's not working
public function getEmpDetailsFrmXML() {
var xmlFileName:String = "emp.xml";
var employee_xml:XML = new XML();
employ... more >>
loadMovie-Combining two files
Posted by pmkcreations at 10/17/2007 12:00:00 AM
I am working in MX 2004. I have two separate swf files that I need to merge
together and export as a projector file to burn to CD. I can get the first
movie in place or I can get the second movie in place over the first, but I'm
not sure how to script it so that the second swf file will play r... more >>
getURL and movieClip Problems
Posted by Boxing Boom at 10/17/2007 12:00:00 AM
Hi,
Is there something different going on when, using the getURL when working
within movieClips;
buttColor_mc.onRelease = function(){
mySound.start(0, 1);
trace('You've landed');
getURL("http://www.adobe.com", "_blank");
};
This works perfectly, while testing in Flash cs3,... more >>
BitmapData.loadBitmap problem
Posted by ++ Barry ++ at 10/17/2007 12:00:00 AM
Hi.
On my stage I have a MC with teh instance name 'cover' in the library I have
a .gif file with the linkage identifier of 'tile'. The problem that I am having
is that when the movie is run the bitmap(.gif) does not appear. Can anyone make
a suggestion as to what might be wrong. See atta... more >>
|