all groups > flash actionscript > september 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
Moving between Scenes
Posted by briencrean at 9/30/2006 11:48:57 PM
:confused;
Hi all,
Im relatively new to Flash. Im having a bit of trouble at the minute creating
a simple flash game. Its a very basic space shooter. When the user dies two
buttons appear alowing the user either to restart the level or return to the
main menu.
Here is the script fo... more >>
Cannot enter text in TextInput
Posted by zvl at 9/30/2006 8:30:20 PM
I create a TextInput dynamically (with createClassObject). It works fine.
I delete it and create a CheckBox at the same level.
I delete it. I create the TextInput again at that level. It works fine.
I delete it. I create a RadionButton at the same level.
I delete it and create the TextInput ... more >>
how to reference the class that instantiated you
Posted by SPGAnne at 9/30/2006 7:21:11 PM
I have a feeling this is a circular problem and maybe can't be done.
I have a class (myOwnerClass) that instantiates a whole pile of other objects,
one of those objects (myManagerClass) needs to reference many of the objects
that are instantiated by the myOwnerClass. So right now I insta... more >>
Targeting items in for loop
Posted by lunchBoxCoder at 9/30/2006 6:43:59 PM
I have this simple for loop which does everything it suppose to do..
load movies onto the Stage
for(var i=0;i<Items;i++)
{
var t = this.attachMovie("holder","holder"+i,i+1);
t.onRollOver = over;
}
My question is I'm tring to target each movie seperately
on a... more >>
loading xml data and showing 5 xml nodes per page
Posted by icarusdown at 9/30/2006 2:50:57 PM
I am loading data from xml file.
There is 12 XML nodes (in this case)
I don't want to show all xml data in Flash by default.
I am attaching one button on the stage for every 5 xml nodes (depends how much
data I want to show per one page, let's say 5)
So every time user clicks on one of thi... more >>
Can not correctly Load data from external asp file?
Posted by ricky1980 at 9/30/2006 1:57:40 PM
i have following actionscript in a frame:
myVars = new LoadVars();
myVars.onLoad = function(success){
if(success){
trace(this.peter);
trace(this.lastSiteVisited);
} else {
trace("false");
}
}
myVars.load("myData.asp");
and myData.asp
<% Response.Wri... more >>
Newbie question
Posted by Mr Brainz at 9/30/2006 1:00:28 PM
Hi there,
My flash knowledge is little/non-exsistant and I would like your help.
I am updating a website for someone that primarily uses flash. They have a
movie that links to an external XML file. I am trying to locate the
ActionScript to edit in the file but I can't seem to find it.
... more >>
functions
Posted by rebarr at 9/30/2006 3:13:26 AM
I am trying to figure out what is missing from my function.
Here is the code I am using.
function keyplayed(keynumber:Number){
var thekey = "sound" + keynumber;
_global.Sound.mysound = new Sound(this._parent.thekey)
_global.Sound.attachSound(thekey);
_global.Sound.start(0,1);
}
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Loading Html within a Dynamic Text Box
Posted by Blades89c at 9/30/2006 2:31:31 AM
Hi, I'm relatively new to flash, and I am attempting my very first flash
website. I've hit a wall though.
I would like to ask the experts in here how to load an external HTML file
within a dynamic text box?
More specifically, I would like the following to happen:
1) User clicks on a ... more >>
Fullscreen Flash Movie with No Scaling or Stretching
Posted by supportinfo at 9/30/2006 1:15:01 AM
I am running into a problem. I want to have a flash movie with a background
that scales to the browser window but I want to have information to stay the
same on the screen without scaling. There is a tutorial I went to that didn't
work the way I wanted it to.
"www.tutorialized.com/tutorial/... more >>
Without 'www' database isnt working
Posted by The 350Z at 9/30/2006 12:00:00 AM
I have a quick question.. how come if I didnt include www, the database
wouldn't work?
thanks
note: I also want to say thank you who have previously helped me with
scripting problem as I have passed my final review.
http://www.ivankandi.com/jive
... more >>
Hittest and overlapping
Posted by _eidolon at 9/29/2006 9:33:50 PM
Hi
Im making a lemmings type game for flash
Sometimes there are 2 or more MC's that are over lapping at a certain point,
all of which are in a hitTest array example code attached. When the hittest is
run i want to pass a variable to ONLY the top MC, any thoughts on how todo
this?
J... more >>
Passing values from mc to mc/instance to instance
Posted by disco-logic at 9/29/2006 8:58:12 PM
Ive made a new topic for this cos the last one went wildly off-topic...
Im trying to use info from the soldier instance to set up bullets he fires.
Each new bullet wants to be its own instance/mc whatever. Thing is that I
cant get the info out of _root.soldier and into _root.bulletX (where ... more >>
FormMail Problem
Posted by podclock at 9/29/2006 7:59:32 PM
I've read other posts on sending flash forms to the cgi script fommail.pl, but
I can't get it to work.
I can get the script to work if I build an HTML form like this one:
http://www.zenodesign.com/form.html
My flash version does not work: http://www.zenodesign.com/master.html (click
t... more >>
rewinding flash video
Posted by davidhill at 9/29/2006 7:22:35 PM
have a flv video in a moveiclip (embedded - 60 frames long) and when it is
attached to the main movie am jumping it to the middle (frame 30) and moving it
forwards and backwards with a drag. problem i'm running into is it is much
slower when going backwards .... any thoughts ?
... more >>
button question
Posted by calmchess333 at 9/29/2006 6:44:39 PM
how do i make a button move another object on the flash stage 20 pixels to the right?... more >>
Making a "search" box...
Posted by DIY_Lobotomy at 9/29/2006 6:23:15 PM
Okay, let's say I have an XML file like this:
[i]<?xml version="1.0" encoding="iso-8859-1"?>
<pages>
<page url="01.swf" search="one" />
<page url="02.swf" search="two,2" />
<page url="03.swf" search="three,3,tres" />
</pages>[/i]
Then, in Flash, I have loaded the XML file into a... more >>
Movieclip button
Posted by angelina28 at 9/29/2006 6:07:47 PM
Hi! I have a movieclip button and this is my code:
b1.onRelease = function() {
_root.b1.gotoAndStop(6);
};
b1.onRollOver = function() {
_root.b1.gotoAndPlay(2);
};
b1.onRollOut = function() {
_root.b1.gotoAndPlay(7);
};
b1 is the name of my movieclip button. When the use... more >>
Falsh Files issue
Posted by akidesign at 9/29/2006 6:00:00 PM
I'm having this issue with a flash file...when I click on the ,.swf file...I
have to control/play...or right click play so the movie can play..
how can I make it play automatically.
Thank you for your help
... more >>
MovieClip Transitions OnRelease
Posted by stanbridgethegreat at 9/29/2006 3:36:02 PM
Hi Folks!
I have a Flash movie containing three Movieclips and three Buttons, one for
each clip. As you might imagine, when you click on each button, it unloads the
previous clip and plays the new selected movie clip in the centre of the page.
See the following FLA file I created (with a... more >>
Dragging across SWFs using localConnection
Posted by mindwise at 9/29/2006 3:33:18 PM
Hello all,
I have two SWF's communicating via localConnection. Uers drag items from one
SWF to the other, and I have the receiving SWF attach a clip and set its ._x
and ._y to _xmouse and _ymouse, completing the illusion of seamless drag.
However I'm having trouble getting Flash to recogni... more >>
Help With Radio Buttons -- URGENT!!
Posted by leej_w at 9/29/2006 3:11:40 PM
Hi i am new to using UI compents in flash.
Basically i havnt a clue where to start.
Just some simple action script will help and be much appreciated if someone
can give me it.
Basically i have a question to ask which requires radio buttons to answer the
question.
I have a questio... more >>
Check when movie clip has finsihed and then gotoFrame
Posted by Northumbria Student at 9/29/2006 2:48:28 PM
Can anyone help me I?m sure that this is possible but I?m not sure how to do
it. I have a movie clip placed in one frame and when that movie clip is
completely finished I want to go to a different frame. The problem I?m having
is that I have to put a stop in the frame with the movie clip to ma... more >>
Combo Box - Font on Closed
Posted by MaFreeman at 9/29/2006 2:32:18 PM
Hi
I changed the font using
_global.styles.ComboBox.fontFamily = "AAA";
where ASU is an embedded font
The font displays correctly when the combo box is open but closed it still
show the default _sans
Anyone help on changing the display font when closed?
Many thanks
Mark
_g... more >>
Dynamically creating a movieclip name
Posted by Sivakanesh at 9/29/2006 2:26:59 PM
I have a series of tiny movieclips (about 100 of them, cannot be created at
runtime) already exisit in my main movie.
These have been name from A1 to A100. I have to refer to one of these
movieclips depending on a value calculated at runtime from 1 to 100. I don't
want to use a switch & ca... more >>
<li> duplicating on rows without <li>
Posted by zozew at 9/29/2006 2:16:43 PM
Hi,
I have a xml document with imformtion grouped as "slides" the text value of
the slides are sometiems formatted with the [LI] tag these then populate a
textArea component. my problem is that as soon as I load a text with the [LI]
tag it duplicates on the all the rows... any one have a s... more >>
Need help in Actionscript
Posted by katt77 at 9/29/2006 2:10:46 PM
I would like to put the instruction attachMovie() in this code. If some Know
nows ...
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {
//portfolioTag = this.firstChild;
numimages = this.firstChild.childNodes.length;
spacing = 70;
for (i=0; i... more >>
BUG - TransitionManager.as Squeeze
Posted by FlashBugKiller at 9/29/2006 1:17:53 PM
Hello everybody,
first of all - sorry for my bad english :)
well i think i found a bug in the TransitionManger.as Class File -
Let's go through the script and the problem occurs running the script with the
"Squeeze" Transition.
Look at this AS script:
import mx.transitions.*;
... more >>
Create Component Instance Dynamically
Posted by S4Potential at 9/29/2006 1:09:09 PM
I want to create Flash built-in components (buttons, combo lists, etc...)
without having them physically existing in the library. Is it possible to
register the one I want to use with Actionscript only?
... more >>
tabindex does not work with combobox?
Posted by Gustavo Thiesen at 9/29/2006 9:50:40 AM
hi
how can i solve the tabkey problem of a combobox...
when i press the tab key inside a combobox... the focus doesnot move to the
next element.
why?
can i solve this problem?
Gustavo
... more >>
html text anchor tag uses the whole line
Posted by Wally T at 9/29/2006 2:30:50 AM
Here's one. When I pull in html formatted text into a text field and set the
paragraph to align right, the whole line is set as a link.
Is there anyway to make it so the link is not made for the whole line?
Example:
<p align="right"><a href="link">Link Text</a></p>
Any help would b... more >>
Stopping Flash Video help
Posted by Luka at 9/29/2006 2:11:33 AM
I have a problem with automaticly stopping external FLV video (in flash 8
with Display component) at custom cue point. For example: if video is 400
sec long, i wanted to stop it at 300 sec. I've tried with totalTime action
but it only affect the slider. So, LuigiL sent me this solution which
sho... more >>
URLLoader
Posted by wally_errrr at 9/29/2006 1:41:35 AM
HI there,
Just wondering if someone can give me some clues on what to do.
I have a class that loads some text from files using the URLLoader class and
the URLRequest class.
I then have a method that performs operations on the loaded text. The problem
i am having is that i don't know... more >>
Event Listener problems in browsers
Posted by mkoooool at 9/29/2006 1:33:57 AM
Hello,
I'm having trouble with my List component. I'm trying to make an MP3
previewer, where users can select the song they wish to preview from a List
(component). The problem is that it works just fine when I preview it locally,
but it doesn't work properly in Firefox and sometimes in IE t... more >>
movie clip event
Posted by honstudios at 9/29/2006 1:11:48 AM
Is it possible to click outside the movie clip on the website and still have the movie clip recognize the click? ... more >>
simplify actionscript
Posted by gdmt at 9/29/2006 12:32:40 AM
hi everyone!
yeah, i'd like to simplify my AS
this is:
import mx.transitions.Tween;
this.snapshot1.photo.loadMovie("image1.jpg");
this.snapshot2.photo.loadMovie("image2.jpg");
this.snapshot3.photo.loadMovie("image3.jpg");
this.snapshot4.photo.loadMovie("image4.jpg");
this.snapshot5... more >>
To run a *.exe from flash layer
Posted by dankunus at 9/29/2006 12:00:00 AM
Can anyone tell me how could I run any application exe from flash player?... more >>
Please, help me with parents and childs
Posted by rohai at 9/29/2006 12:00:00 AM
hi,
I just can't figure it out which mc is the parent and which are its children.
Please help.
Here's the code:
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu
// as well as any of the submenus
GenerateMenu ... more >>
Removing and creating instances of MC's
Posted by disco-logic at 9/29/2006 12:00:00 AM
Ive been making a little flash game to learn about it Ive got this movie clip
of a bullet that I want to be able to replicate everytime something shoots.
At the minute the only way I can work out to replicate the bullet each time is
using some code like:
(when shot is fired)
duplicateM... more >>
Item count
Posted by MikeLB at 9/29/2006 12:00:00 AM
I'm very new to flash and almost embarrassed to ask but is there a simple
frame/stage property that returns the number of objects/instances placed on the
stage at any one time, I would like to do a loop to a specified count - namely
the number of items on the stage/frame.
Many thanks
Mike... more >>
loadMivie working in Firefox but not IE?
Posted by roostar at 9/28/2006 11:43:49 PM
I am having an issue with buttons and loadMovie commands. In Firefox on my Mac
the buttons work as they should, on my PC they do not. Is there a reason that
something like this might happen.
Here is an example should you feel compelled to look:
http://www.natkendall.com/indexTmp.html
... more >>
Replacing movie clip
Posted by Jean-P. at 9/28/2006 8:33:00 PM
Hi,
Here's my problem. I have a movieclip "a_mc". I want to put the content of a
second movieclip "b_mc" into "a_mc" or somehow replace a_mc with b_mc and keep
the name. I tried the following but I'm getting nowhere:
a_mc.swapDepths(b_mc);
removeMovieClip(a_mc);
b_mc._name = "a_mc";
... more >>
Buttons not always working
Posted by Entenie at 9/28/2006 7:51:36 PM
Hello everybody,
I have created a new website for someone, and I use two swf files which are
connected to eachother using LocalConnection.
Everything seems to be working fine.. it's just that randomly the buttons on
the bottom of the page sometimes stop working. It doesn't seem to trigge... more >>
Action Script for loading video
Posted by Janek Mohavlec at 9/28/2006 7:48:57 PM
Hello folks,
could please anyone tell me, what action script I have to assign to the
button, if I wanna play a video clip from Flash library
on release. The clip is called: Rain.mov
I had try: on(release){
"loadMovie" (Rain.mov)
}
... more >>
easy question
Posted by Mr Helpy mcHelpson at 9/28/2006 7:42:27 PM
So I've used work-arounds with the intent of learning the proper format, but
I've not run into the solution on my own.
When you load an MC, and that mc references _root, it then references the
above mc. (correct me if I'm wrong). When you use a loadVars, onLoad
function() { //crap }. yo... more >>
FLV Event Cue Point...Just can't get it?
Posted by Licarell at 9/28/2006 7:11:10 PM
Here is my situation. I have an flv with two event cue points. I have placed a
FLVPlayback into my movie and called the instance "my_video".
All I want to do is have my "begin" cue point tell my movie to gotoAndStop at
frame 18 and then the second cue point "white flash" to tell the movie to... more >>
mouse listener + if statement
Posted by jordana309 at 9/28/2006 6:51:10 PM
Greetings!
I have some bizzarness happening. I have a component that my team built that I
wanted to make able to emulate the Active/Inactive window thing that Windows
does (since our components will be on a primarily Windows-based world). To do
this, I put a mouse listener on one of the mo... more >>
Re: Conversion to Flash 8 from 6 - Movieclip.prototype Problem
Posted by bootyhunta at 9/28/2006 6:27:27 PM
[q][i]Originally posted by: [b][b]kglad[/b][/b][/i]
then why define a prototype function? just use a regular function.[/q]
When I originally wrote it, I planned on using in more than one spot, but that
never materlized.
I am leaning towards just writing a new function. I thought it woul... more >>
Disable double click
Posted by Asesino at 9/28/2006 5:45:27 PM
Hello, on my website www.acottageflorist.net I have buttons that I thought
worked fine. They do when you single click them, but when you double click them
they take you to diffrent parts of my site. My button code for the buttons is
pretty straight forward
on (release) {
gotoAndStop(16)... more >>
Button AS for video clip
Posted by Janek Mohavlec at 9/28/2006 4:23:57 PM
Hello folks,
I know my question is probably stupid and very basic. But I am new in Flash,
so there is obviously lot of confusion. I would like to post few video clips on
my website (there are in Quick Time format right now) What is the best way to
do it. Should I import it to Flash's library... more >>
|