all groups > flash actionscript > june 2006 > threads for tuesday june 20
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
getNextHighestDepth question
Posted by AsandJs at 6/20/2006 9:22:03 PM
Lets say I have two MCs on the stage on the same layer. I want to be able to
drag both this movies but I want that when the user clicks to drag the movie it
should come to the foreground of the movie. I'm using getNextHighestDepth on
the on press even but not having any luck. Below is a sample... more >>
swf properties
Posted by phield at 6/20/2006 9:11:06 PM
Hello -- I may have made a mess of things here. I am new to Actionscript.
I have a master SWF ("master.swf") file, and using a MovieClipLoader I have
loaded a few SWFs into the master. One of these SWFs is a main navbar made up
of a series of buttons ("main_nav.swf"), and another is a photo... more >>
Populating and associative array (?)
Posted by Guy Verville at 6/20/2006 8:08:01 PM
I'm adapting a class explained in 'Flash Application Design Solution". The code
is used for populating a menu system.
In the original code, the menu system array is hardcoded in this fashion:
var MenuData:Array = [{title:"Advanced Flash Interface Design"}, {title:"Flash
3D Cheats Most Want... more >>
Help with FLVPlayback Behaviors
Posted by E HALL at 6/20/2006 7:35:37 PM
I followed the tutorial on this page,
http://www.adobe.com/devnet/flash/articles/flvplayback_behaviors.html.
(This tutorial uses "Set Videos" from the FlVPlayback control" Behaviors.)
However, the videos load one after another until the last one is reached. I
am using a button to start ea... more >>
Tweening more than one property
Posted by wally_errrr at 6/20/2006 6:42:36 PM
Hi there,
I have a case where i need to tween the width, height, x and y of a movieclip.
So i have four tween classes instantiated. Is this the most efficient way to
do this. It seems a little messy to me, but not sure what other way to go
about it.
Thanks,
Nathan Wallis
... more >>
attachMovie() not attaching
Posted by cosmicShame at 6/20/2006 6:27:28 PM
I am mega flash newb, please excuse me.
k is a loop index that is incrementing by 1
var thisDiv = m_parent_mc.attachMovie("divider","div" + k,k+200);
thisDiv._x = vodLength+10;
thisDiv._y = 405;
I have a movie clip symbol in my library called divider, I right click, go to
linkage a... more >>
load movie
Posted by ravifine at 6/20/2006 6:15:56 PM
I have a two movies 1.swf and 2.swf
I can load movie 2.swf from 1.swf
on (press) {
_root.loadMovie("2.swf", this);
}
but I want to goto the frame with lable "this" how to do that
need help..
... more >>
XML scroller
Posted by oxbownick at 6/20/2006 5:56:45 PM
I've created a scroller that loads xml data. There are 4 parts of data, the
name, the image, the description, and the link. By using the url sent by LINK,
I want to make the image that is loaded a button, to getURL("THE LINK"). I've
tried and tried and can't seem to figure this out, could anyo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
help with error please
Posted by DPSwebmaster at 6/20/2006 5:36:09 PM
I am receiving an error trying to create a drop shadow with AS, and I am not
sure why. I think the problem could be coming from using Flash MX with a Flash
8 tutorial, but I am not sure.
the error:
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 2: ';' expected
import flash.filters.Dr... more >>
trace = undefined
Posted by krustafarian at 6/20/2006 4:37:36 PM
Hi... this is a script i'm using to duplicate a button for each item in a menu,
each button is allocated a 'selectcText' variable (which is taken from an
external txt file). (see attached code)
on each frame of my _root. timeline i need to trace the next selectcText,
e.g. on frame 9, i need ... more >>
any ideas on how this is accomplished
Posted by cinemaguy at 6/20/2006 4:15:41 PM
http://www.manipulator.com/
does anyone have any ideas on how these rollovers are created. i
figured with hitTest but couldn't really figure it out.
... more >>
Adding Event Broadcasting to a Class
Posted by SPGAnne at 6/20/2006 4:10:38 PM
A newbie here, so please be gentle.
I am trying to create a new class where I want each instance to be able to
broadcast messages. I have tried to use AsBroadcaster. In the constructor
function I have
AsBroadcaster.initialize(this);
Then inside one of my class's private methods
... more >>
Flash 8 / AS 2.0 for Games Books / websites
Posted by foq at 6/20/2006 3:32:58 PM
Hello,
I will soon start developing a game in Flash (note: not necessarily a webgame
- it should be a standalone, also).
The game is an isometric managerial simulation, so i would need to learn more
not only about isometric tiles, but also data handling, zoom levels, time (and
the action... more >>
XML refresh
Posted by Tolk at 6/20/2006 3:18:04 PM
I'm loading data from an XML file into a xml connector --> into a dataset -->
into a datagrid components. The datagrid is editable so the user can change
values in it etc.
I want the user to be able to re-set the datagrid to its original state at the
click of a button. I was using XmlConn.tr... more >>
depthManager
Posted by yarkehsiow at 6/20/2006 2:44:44 PM
hello,
i have a swf with some movie clips that used "getNextHighestDepth"
successfully.
then a swf is loaded which contains comboBoxes.... and the depths get all
messed up using "getNextHighestDepth".
when i use absolute depths, then everything is ok...
will ths lead to problems, if i... more >>
Use Camera with capture card
Posted by VincentRommelaars at 6/20/2006 2:41:44 PM
Hi,
I'm using the camera method to view input from a webcam or to view input from
my capture card locally.
My webcam looks perfect, but I don't see any input from my capture card.
Of course I've got input (tested with windows media encoder).
Should I activate or define the input (compo... more >>
Flash help
Posted by KochRich at 6/20/2006 2:19:25 PM
I need some help figuring out the actionscript used on this site:
http://www.samsung.com/se/current/campaign/slim/site/index.htm
I'm developing a site kind of like this with flash video and need help
figuring out how to make the 3-d rotation work. Any suggestions would be much
appreciated... more >>
listing all variables
Posted by SteveW at 6/20/2006 1:40:00 PM
I am using a delphi component to control flash movies. It allows me to use
the flash external apis.
I need to extract all the variables from a movie and their values.
Is there a command to do this?
Any help appreciated.
SteveW
... more >>
swf play once only on load page, per ip visit?
Posted by juliaor at 6/20/2006 5:07:44 AM
Is there any way to create a swf (with audio as background music) that plays
once and only once per ip session? What I want is for the animation and sound
to play once as a user loads the page (say, index.htm) then not play again as
the user navigates through the site and back to the page... more >>
how do you point
Posted by ekora at 6/20/2006 2:12:31 AM
how do you point to a specific frame when calling in an external swf file?
This is what I"m using to pull the external swf file in....
_root.createEmptyMovieClip("container",1);
container.loadMovie ("_MoviePlayer.swf");
I'd like it to go directly to frame 3, how can I do that?
Th... more >>
Please help with swf loading newbie
Posted by Cory Kelley at 6/20/2006 12:05:26 AM
I have 6 swf files that I need to play consecutively and am having trouble
loading them. I come from a video background and am new to this. I just need
to load them and have the next one start when it is finished? Help soon please?
ck
... more >>
Variable Name with onRelease
Posted by D. J. Faber at 6/20/2006 12:03:04 AM
Is it possible to use a variable name with onRelease?
Example:
_root[_global.fullName].onRelease = _root[_global.fullName].onReleaseOutside =
function() {
BTW the above one does not work. I have also tried to use a mouse listener but
the script does not function properly.
... more >>
arrays
Posted by loofa at 6/20/2006 12:02:57 AM
hi,
i'm working on a project and i thought that an easy way to get around a
problem i have would be to make an array to store info and then output it
later. But i have no idea how to make an array in flash... could someone
please explain how to define an array and possibly ouput the conte... more >>
loading gif into flash player 8 problem!
Posted by claire wall at 6/20/2006 12:00:00 AM
Hi all
Can anyone help please?
I am having a problem dynamically loading a gif file into my swf, using flash
player 8 at run time.
I am using flashMX to develop my site but I do understand that dynamically
loading gifs & pngs has recently be introduced in the new flash player 8 so I ... more >>
How do you set a variable using a setter function
Posted by doug777 at 6/20/2006 12:00:00 AM
The class mx.messaging.Producer has a property called resendAttempts
which is read/write.
It is implemented as follows:
public function get resendAttempts():int
public function set resendAttempts(value:int):void
How do I set this value to say 5?
pro = new mx.messaging.Producer();
pro... more >>
why do I have to press button twice?
Posted by timdiacon at 6/20/2006 12:00:00 AM
I've got a button on the stage with an instance name of "submit" I then have
some action script like this...
submit.onPress = function() {
trace("do something");
}
Simple enough but the function isn't called when I first press the button
however it is called when I press it for the s... more >>
Populating a ComboBox with actionscript
Posted by ricklecoat at 6/20/2006 12:00:00 AM
I'm currently learning Flash 8 Pro by working my way through a 'Teach Yourself
Flash 8' book and have run into an teaching example that appears not to work.
The (very basic) AS code is to populate three lines of a ComboBox component
(with the instance name "myComboBox"). I've double checked th... more >>
Move Cursor in MC
Posted by pindus at 6/20/2006 12:00:00 AM
I'm trying to change the cursor when I'm dragging a movieclip. The cursor i
want to use it the "move" cursor, which (from what I understand) doesn't exist
in the preset cursors.
I copies the icon windows uses and made it into at mc in flash. I then tried
to hide the mouse and then drag the... more >>
Sound Recorder
Posted by PrabhaM at 6/20/2006 12:00:00 AM
Hi,
I am recording the sound using the Microphone.
Sound also get recorded but the quality of sound is very low.
Now I want to record the sound without using Micophone.
i.e. I want to record sound internally using any sound player.
Please help me to complete this application.
... more >>
Array still referrencing after removeMovieClip()
Posted by Marek FlashUser at 6/20/2006 12:00:00 AM
I have code right now that attaches movie clips to the stage and pushes a
referrence to them in an array. Cycling through the array reads off their
absolute paths from _root/_level0. These movie clips are later removed and the
array still contains the same amount of elements but prints ... more >>
using 'this' in a function
Posted by absurd29 at 6/20/2006 12:00:00 AM
I have a function ('checkDrop') which I call in ?onRelease? for several
draggable MCs. At present I?ve hard coded each draggable
MC , eg:
drag2_mc.onRelease = function() {
stopDrag();
checkDrop();
if (HITtest == 2 or HITtest == 1) {
this.gotoAndStop("_down");
this.enabled = fa... more >>
Is Director better than Flash?:)
Posted by Dean Utian at 6/20/2006 12:00:00 AM
Hi all,
OK - don't worry, I'm not serious about the subject question. I just
wanted to let you know about the Flash vs Director - Director Podcast
that has just been released. It compares Flash to Director in a very
light-hearted way. Remember, it is on the Director Podcast and is just
havi... more >>
|