all groups > flash actionscript > october 2005 > threads for sunday october 2
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
Prevent events catching in overlapped instances
Posted by davepla at 10/2/2005 11:44:50 PM
Hi:
I create dinamically (attachMovie) some instances from a library symbol. That
symbol has inside a MC to allow drag & drop the whole instance:
inst.onPress = function() {
this._parent.startDrag();
}
How can I avoid that MC changing cursor and responding to events when there's... more >>
Help with url insertion
Posted by Whizardkid111 at 10/2/2005 10:17:06 PM
I kinda bought a template online and in the flash header it has the links as a
movieclip and whenever I try to insert this actionscript and I play the
animation, when you put the mouse over the button it does not play the
animation. Below is the script I am using, any help over this would be g... more >>
how to convert a variable to an array
Posted by fermer at 10/2/2005 9:21:39 PM
current code:
for (var i = 0; i < nCount; i++) {// where nCount is determined by
xml.childNodes.length.
var iPlus:Number = i + 1;
var clip1 = createEmptyMovieClip(["clipHolder" + iPlus],
this.getNextHighestDepth());
}
trace(clip1);// returns:
_level0.clipHolder1
_level0.clipHolder... more >>
Help with gotoandplay
Posted by Chris Goodiel at 10/2/2005 9:19:59 PM
I am having a problem with having my movie navigate the timeline correctly. I
am pretty new to actionscripting and the solution is probably very very simple
but I can't seem to get it to work correctly.
Summary --
I have a movie that plays on a button click. This movie take up the entire... more >>
Restrict editable datgrid column to numbers only
Posted by gabriel the grey at 10/2/2005 9:16:52 PM
Hi,
I have a data grid with some editable columns which I only want to have numbers input into. I have tried the code below with no luck. Any ideas?
myDataGrid.getColumnAt(4).restrict = "0-9";... more >>
How to Control imbedded movies?
Posted by sovereign797 at 10/2/2005 7:53:26 PM
I have a series of menu buttons on the first frame that move the main timeline
to various spots to effectively move between site pages (using the "on release
(gotoandStop(x)) command. On several of these "pages" an embedded movie runs
automatically and stops at the end. The original menu it... more >>
Copy text....
Posted by lustwraith at 10/2/2005 7:41:20 PM
I am very new to this...so bear with me...
I am trying to write a small flash app that consists of buttons.
These buttons, when clicked - will copy the appropriate email address to the
clipboard, so that it can be easily pasted into another application (outlook,
for example)
I do not wan... more >>
preloader is preventing my movie clips inside buttons from working
Posted by Chapter 3 at 10/2/2005 7:40:09 PM
Hi,
Just created a menu for my new site ... which worked as aspected.
I wanted to add a preloader but then something went wrong ... the movie clips
inside the buttons didn't work anymore.
When removing the preloader again the problem is solved, so there must be
something wrong with the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with Href and dynamic text
Posted by Kainvb at 10/2/2005 7:26:47 PM
Hi Guys I have a dynamic text box that displays the name from the database
correctly but I cannot get it to work with a link here is the code and says it
isnt properly terminated.
name.htmlText +="<A
HREF='http://axiom.clan-web.com/eqdkp/viewmember.php?name="+this["name"+i]+" '>
"+this["na... more >>
Only show ten results at a time
Posted by jonnybennett at 10/2/2005 7:02:47 PM
Special thanks to Maffe from Sephorit forums and Kglad from Macromedia forums.
You are both legends and your help has been greatly appreciated.
I thought I had tried every way of moving round the code to make it work, but
Kglad you were right by simply moving the makeTextFields(); it popul... more >>
bouncing ff objects
Posted by jimmy_milk at 10/2/2005 6:59:57 PM
I have code that bounces a bottle around the room. The code I managed to get
asks about the size of the frame so it bounces off these corners. I want it
however to bonce off objects in the frame, I.e. a tv and a seat. I tryed to do
it and it almost works; apart from it usally sticks to the obj... more >>
Getting security warning while opening swf file using flash player 8
Posted by macromedia.com at 10/2/2005 1:01:49 PM
Hai,
After installing flash player 8 when i tried to open swf file created using
flash 5 i got some security warnings which is prompting to change the flash
player settings.
My swf file contains GetURL script.The same happening in my published file
too. Please help me how i can override thi... more >>
attaching events dynamically
Posted by fermer at 10/2/2005 12:31:38 PM
I am loading menu labels from an xml doc. I am creating movieClips and
textFields dynamically using a for statement that uses the .length property of
xmlNode.childNodes. All of this is going great until I try to assign events to
the clips, specifically I would like to make the text change c... more >>
actionscript with keys
Posted by n is fine at 10/2/2005 8:49:25 AM
hey guys and girls
i would really appreciate it if someone could give me an actionscript which
would allow me to go to the next scene if i bushed a key.
For example, if i pushed Y on the keyboard it would go to the next scene
Thanks a lot
... more >>
Link a button
Posted by n00b_Scripter at 10/2/2005 12:51:51 AM
Hi, i have been looking through to forum topics about how to link a button to a
url but i didn't got it to work :(
So i wonder if some one could do it for me? Please
Project: http://www.ezupload.org/?w=download&id=9288&name=menu.fla
Then i will look at the code and learn how to do it :... more >>
This preloader is killing me
Posted by WickedSense at 10/2/2005 12:00:00 AM
movie 2:
On frame two of movie 2 I ahve this script
this._lockroot = true;
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
var lbytes
var tbytes
lbytes = _root.getBytesLoaded();
bar._xscale = Math.floor((lbytes/tbytes)*100);
loadtext.text = Math.floor(percentLoaded)+... more >>
FileReference.upload() not functioning through HTTPS
Posted by TimD224 at 10/2/2005 12:00:00 AM
* This may be considered a cross post, but my post in general received no
replies and this post contains more info *
The Flash Documentation specifically states HTTP and HTTPS are valid protocols
for FileReference.upload, however this is not my experience. My application
works perfectly o... more >>
Radio buttons disappearing with multiple groups on same screen
Posted by yantzgh at 10/2/2005 12:00:00 AM
I'm in the processes of writing a dynamically generated question set
display in Flash MX2004 (Pro). So far everything works as expected,
except on screens that have multiple radio button groups (using the
radio button component). On these screens, when you click the radio
button and move y... more >>
how to dynamically do this: panel1._visible = true;
Posted by Tom Leykis at 10/2/2005 12:00:00 AM
I want to loop through a number of these and do them dymanically to save code.
In JavaScript I would do a for loop and just add the variable:
for (i=0...etc.)
eval( ' panel' + i + '._visible = true');
How can I do this in ActionScript?
Thanks!
... more >>
on off btns sound
Posted by michael cacciotti at 10/2/2005 12:00:00 AM
Ok, have created this swf navbar with rollover action script sounds. It's
already up on the web page. Is there a way to add an on/off button as a
seperate file on the page to control this on/off if visitors don't want to
listen?
... more >>
Trouble getting _width, _height on dynamically loaded jpgs
Posted by jblack at 10/2/2005 12:00:00 AM
I'm trying to center dynamically loaded jpgs within a movie clip, but can't do
so without height and width props.
I've been having trouble accessing the width and height -- always returns '0'.
I suspect the part of the code set to trace these properties is being executed
before the jpg full... more >>
undefined sound object volume
Posted by WickedSense at 10/2/2005 12:00:00 AM
Making a simple volume slider for a sound...
my slider slides good and returns a volume value between 0 and 100. However
The setVolume doesn't work and a getVolume trace display undefined.
bplay.onPress = function() {
var sound:Sound = new Sound();
sound.attachSound("rtechaudio");
... more >>
flash 8 xmlsocket question
Posted by mickshake at 10/2/2005 12:00:00 AM
In previous versions of flash you could not use XMLsocket to connect to a
server if it was not on the same domain.
Hosting a swf on "webserver.com" would not allow me to connect to
"homeserver.com".
I have written a server to send data to flash but I am afraid I will have to
run that ... more >>
|