all groups > flash actionscript > september 2007 > threads for wednesday september 12
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
load a different image to stage
Posted by Stefan83 at 9/12/2007 9:15:36 PM
Hi there,
I am trying to place an image on the homepage of a website i am building but i
want the image to change every time the page loads. could anyone give me an
idea on how to set this up or know of a good tutorial? my client is a
photographer so they want to display a different photo ev... more >>
Flash "flicker" issue
Posted by D3 at 9/12/2007 8:53:02 PM
I have a web page that is set up almost exactly like the www.adobe.com home
page. They each have a top navigation bar with drop down menus and directly
underneath the navigation there is a SWF animation. On my web page the SWF file
interupts the drop down menu but only when the SWF is animati... more >>
button function doesn't work - flash8
Posted by Ahjin at 9/12/2007 7:15:52 PM
Hi,
I'm using Flash professional 8 and I would like to create a component button
in the actionscript instead of dragging a button into a stage. As long as I
know, I have to use a "button" type instance to use "uploadMovie" function not
"movieclip". In addition, I mainly do a project in a... more >>
Sending email from a flash site
Posted by Jean DENOEL at 9/12/2007 7:01:35 PM
Hi yall,
I'm working on a Web site which I created with Flash (interrested? See
www.jeandenoel.net).
I'd like users to be able to send me comments by sending me email messages by
clicking on a button.
This button should handle this job.
Well, I must admit I don't know how to do that.
C... more >>
List still throws clicks when hidden
Posted by RyanORo at 9/12/2007 6:44:16 PM
So, I have a List component which was on the display list but is currently off
the display list. If the user clicks on the screen location where one of the
List items used to be, it throws the "ITEM_CLICK" event.
Why is this? And what's the best way to stop it - do I have to manually set
... more >>
interval for onEnterFrame
Posted by archloxx at 9/12/2007 5:06:20 PM
hi all ...
how can i make the onEnterFrame work only for a set of intervals?
my code is
button.onRollOver = function () {
onEnterFrame = function () {
prevFrame();
}
}
--------------
so it goes all the way to the frame 0 ... can i make it work only between ... more >>
Submitting Form
Posted by mtarby at 9/12/2007 4:57:54 PM
I have a simple feedback form that I want to submit via asp. I know the .asp
script works, but I'm missing something with my actionscript on the send button:
on (release) {
getURL("http://www.mysite.com/send.asp", ",", "GET");
}
Can someone point me in the right direction - I'm gue... more >>
TextFormat() bold and italic problem
Posted by capitalino at 9/12/2007 4:23:15 PM
Hello,
I?m trying to format a Dynamic Text field using the code below:
var oFormat:TextFormat = new TextFormat();
oFormat.color = QuestionColor;
oFormat.bold = QuestionBold;
oFormat.italic = QuestionItalic;
oFormat.size = QuestionSize;
txtQuestion.setNewTextFormat(oFormat);
The... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
My code for Throwing Objects
Posted by Mister Peanut at 9/12/2007 4:17:28 PM
Hello,
I am working on learning actionscript, and would appreciate it if anyone could
help me understand a section of code:
function onEnterFrame(Void):Void
I am confused as to when where and why I need to use Void.
Additionally, I would like to find a way to toss the object in a w... more >>
LocalConnection failing due to size of arrays being sent?
Posted by digitalchill at 9/12/2007 4:11:48 PM
Hi there,
I have two swf's running a fairly complex ship-themed game, one with the
logic/UI and the other as a 'presentation' screen. The logic swf is sending the
presentation swf an object that contains several arrays (that contain either
strings or numbers). This is sent at the start of ... more >>
retreiving flashVars without knowing how many there are
Posted by (_seb_) at 9/12/2007 4:02:38 PM
Hi all
my question is simple:
how to retreive flashVars in actionScript (passed via the flasVars param), if I don't know what the
names and number of these variables are?
For example, I have a dynamically generated list of flash vars, which depending on the cisrcumstance
could be:
var1... more >>
AS and PHP email form
Posted by crisbosch at 9/12/2007 3:41:31 PM
Hi, I'm trying to send variables from a swf form to a PHP script on a server
that is supposed to email automatically. So far haven't been successful. I
know the PHP script works because I tried it with other swf forms. Any help
would be nice. Thanks in advance!
Here's my ActionScript:
... more >>
Linkage error - can't load a class
Posted by Ahjin at 9/12/2007 3:13:06 PM
Hi,
I would like you to give advice.
I made a movieclip symbol(journal) which calls the Journal class in a Flash
Project File.
I wrote like this on the Linkage Properties window:
--------------------------------------------------------------------
Identifier: journal
AS 2.0 class: _... more >>
Keyboard Events
Posted by padrepio at 9/12/2007 2:10:01 PM
I've been reading about the KeyboardEvent listener, specifically, KEY_DOWN. Am
I correct in understanding that keyboard events have to be attached to the
stage and not an object?
stage.addEventListener(KeyboardEvent.KEY_DOWN, KeyDown);
function KeyDown(event:KeyboardEvent):void {
if (ev... more >>
Convert String to Number
Posted by Rajesh Kaki at 9/12/2007 1:43:58 PM
Hi,
How to convert a string to a number. Suppose
var str:String = new String("4");
I want to convert that (str) into number, Is it possible?
can anybody help on this?
Thanks
Rajesh K.
... more >>
help with externalInterface class
Posted by TheShade001 at 9/12/2007 5:29:56 AM
hello,
i am working on a page for an educational environment. It is a foreign
language page that teaches the students the language. There are close to 100
different playable sounds on the page. The person that set it up for them,
initially, just converted over 100 mp3's to swf's and embedd... more >>
How do you call a function in an attached MovieClip from the current MovieClip?
Posted by d2army at 9/12/2007 5:24:10 AM
Hi there,
I have this MovieClip A (converted as a symbol) and put in my main MovieClip B
using attachMovie() , and I am wondering how I can call a function defined in A
from within B.
Is it possible?
Thanks
... more >>
how to get all properties of a object
Posted by m_icy at 9/12/2007 4:50:06 AM
in as2
for(i in mc){
trace(mc[i]);
}
will get all the properties and object that this movieclip contained.
now ,this does not work!
i want to know ,any function can has the same fuctionality.... more >>
ScrollPane a real pain
Posted by Beatie3 at 9/12/2007 4:36:33 AM
Yesterday I had trouble with the overflow of a sprite stopping buttons working.
I rebuilt everything with the buttons on the left of the scollpane and now the
buttons work, but ... now it refuses to scroll horizontally. I rebuilt yet
again shifting everything on the right hand side of the sc... more >>
All i need to know is what to search!
Posted by J.Rocker at 9/12/2007 4:10:22 AM
I'm actually not trying to duplicate this, but it's the easiest way to describe
it.
I need to know what i should search in order to achieve an effect similar to
the intro of an XBOX consol (the green floaty ball thing)
I need to know how to manipulate an object so it looks like its round... more >>
simple game question
Posted by redsox05 at 9/12/2007 2:34:23 AM
I making a simple game where you will pick up an object and then objects will
fall from the sky and when you click on them they will stick to the first
object. Can you do this and how would you do this?
I tried the onpress stop and that worked to stop the object but I need to make
it stick.... more >>
Can you pause your actionscript?
Posted by s83g1000 at 9/12/2007 12:00:00 AM
Hi All
I am just wondering if you can pause the execution of your code, for example:
I run some code, the code pauses for 3 seconds when it hits a certain line and
then continues running. If anyone knows perl I am looking for something like
the 'sleep' function.
The reason is that I ha... more >>
Printing problem
Posted by Ashi_k at 9/12/2007 12:00:00 AM
Write to Adobe about your problem
AshishKr <ashishkumar@infobase.in> wrote:
I am facing this problem since last 6 months. i have not got solution still.
----- Original Message -----
From: achyut veluvali
To: AshishKr
Sent: Tuesday, September 11, 2007 10:19 PM
Subject: Re: Can you... more >>
Import tween class
Posted by nyanko920 at 9/12/2007 12:00:00 AM
Hi. I am new at using actionscript, and I am having a bit of difficulty with
Flash MX and importing tween class.
I have typed in this code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
and this is the response I get:
Scene=Scene 1, Layer=actions, Frame=1: Line 1: ';'... more >>
XMLparsing
Posted by flashcrazy at 9/12/2007 12:00:00 AM
Help plz
I need to make an XML parser .This should pars the xml to any (n) level of
depth with any (m) number of childs within root node.
I then need to use the xml data in flash.
Have already done for 3 levels depth .Confused how ro make for n levels.
Please give me source.
thanks in Adv... more >>
Actions for button
Posted by simey70 at 9/12/2007 12:00:00 AM
Hello,
I have created a button set, consisting of 9 buttons. I created the buttons on
the stage, and on the over section of the button, i created a movie clip to
animate them. All the animation is done, which includes a rollOVER animation,
and a rollOUT animation, and the time line is lab... more >>
Passing parameters to a swf file
Posted by Obesyana at 9/12/2007 12:00:00 AM
I'm trying to do something that sounds simple but for some reason it is not
working.
I have a simple SWF file that I want to start at a different frame depending
on the parameter passed to the SWF file.
(.e.g. if parameter a, start at frame 20, etc)
I know the SWF is receiving the para... more >>
scaling menu
Posted by thil at 9/12/2007 12:00:00 AM
Hi All,
how do like this? any one have any idea?
http://www.adobe.com/creativelicense/?sdid=BDXEW
thanks n advance
Regards
thil... more >>
my game
Posted by Stickiler at 9/12/2007 12:00:00 AM
Heres the game
http://www.mediafire.com/?4njgzegxt3t... more >>
text boxes created in for-loop end up using DIFFERENT fonts!
Posted by Hasenstein at 9/12/2007 12:00:00 AM
I have a for-loop that creates movieclips with text boxes inside them, all
inside an accordion component. Basically, the code fills the accordion with
navigation content.
Anyway, the strange thing is the resulting text fields use TWO different
fonts! how is this possible? Even if my TextFo... more >>
|