all groups > flash actionscript > may 2006 > threads for thursday may 11
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
Returning unique shopping cart descriptions
Posted by LuckeyMe at 5/11/2006 9:12:18 PM
Is there some code I can use for my add to cart buttons that will return a
unique description based on the frame that I navigated there from or based on a
specific item that has already been added to the cart? My site allows you to
add an "item" to the cart and then build on it by adding "opt... more >>
Array of movieclips
Posted by BCA_9 at 5/11/2006 8:46:29 PM
I have an array with the instance names of 150+ movieclips that i would like to
set the ._visible property to true/false. How can i do this??? i thought
this would work. Am I way off???
for (var i:Number = 0; i < aAllCircles.length; i++){
var myMC:MovieClip;
myMC = aAllCircles;
... more >>
Looking for the syntax
Posted by targetplanet at 5/11/2006 8:43:55 PM
I have a menu that is populated by an XML file. One of the tasks of the menu
is to call a function with in my movie. I would like to keep it open, so I can
just put the name of the function in the xml, and it will call that function
when an certain Item is pressed. but I can't come up with ... more >>
Only publish images on canvas
Posted by jondro at 5/11/2006 8:24:29 PM
Hi
On my document I have an image that goes over the canvas but I when I publish
it I dont want the image that is not on the canvas to display. Is there a
publish setting that I can change to only display the images on the canvas?
... more >>
moviecliploader problem
Posted by yavona at 5/11/2006 7:47:25 PM
i ve the code above and the result is someting like this :
http://www.yusufonaldi.com/layer/kliploader.swf
while preloading it shows the swf files first frames and stops. after loading
sometimes it doesn't work, sometimes works if you refresh the page. i did'n
solve this problem. what can ... more >>
Time
Posted by dnaserv05 at 5/11/2006 6:55:07 PM
I am trying to have a looping animation dependent on time, but I can't find a
way of getting it to work without a 'while' loop, which always crashes my
computer. Is there an easy way of getting things to fade up and down at timed
intervals without keyframing it?
... more >>
Bitmap scratch
Posted by ogabriel NO[at]SPAM gmail.com at 5/11/2006 6:41:35 PM
Hello there..
i=B4m trying to do something, and i=B4m not making it... somebody please
help...
iahave a picture, and i want to select the last column of pixels
XXXX*
XXXX*
XXXX*
X =3D image
* =3D selection
and split it to the left.... like this:
XXXX********
XXXX********
XXXX******... more >>
Re: Displaying Current Date & Time
Posted by kglad at 5/11/2006 4:29:26 PM
try:
currentDate=new Date();
trace(currentDate.getHours());
trace(currentDate.getDate());
trace(currentDate.getMonth());
//etc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Keep the movie playing
Posted by Techmaniac at 5/11/2006 3:55:09 PM
:disgust;
I have a movie acting as button with labels for Up, Out, Over and End. The
button launches another SWF file when it gets to the last frame of the End
labeled section. The function is called to play from the label OnRelease. The
problem occurs when the user moves the mouse off th... more >>
dynamic line creating
Posted by james_solo at 5/11/2006 3:07:44 PM
i've read http://www.adobe.com/devnet/flash/articles/precision_drawing.html ,
and made many trial , while still cannot write a program acts exactly the same
as line tool, which hook on a point while the user make a 1st press, and have
the line dragging while the mouse moving !
the code a... more >>
inspiration, anyone?
Posted by bergrbergr NO[at]SPAM gmail.com at 5/11/2006 2:41:24 PM
kasil jeans just put out a sweet site that shows off quite a bit of
good actionscript. check it out for motivation, i know the team that
developed this site. check it out: www.kasiljean.com
... more >>
Muting audio in external swf w/o source files
Posted by paulcacioppo at 5/11/2006 2:27:16 PM
Hello to anyone who can help. I am loading a client supplied SWF onto an upper
level as an external file. Client did not have source art but requested that
the background audio loop for that piece be muted if possible.
Is there a way to kill that volume for that level or for that external fi... more >>
TextField Scroller script
Posted by Stan Sainte-Rose at 5/11/2006 2:04:24 PM
Hi,
I m looking for a good skinnable textfield scroller script ?
Any help ?
Stan
... more >>
Help with Forms!
Posted by sunday driver at 5/11/2006 2:00:14 PM
Hi
I have successfully done this tutorial and got a form working with exPluda's
help.
http://www.dmxzone.com/ShowDetail.asp?NewsId=829
But how do I swop the movie clip dropdowns and input boxes for Flash component
dropdowns and input boxes? It seems to use different variables? I obvio... more >>
No text on a box
Posted by bulletta at 5/11/2006 1:51:06 PM
Hi everybody,
first of all, I'm from Italy, so sorry for my bad english, hope you understand
my requests.
I'm experiencing a problem using some simple commands in Actionscript (Flash
8).
I've created a function, "creabox", that paint a box 100 x 25 pixel, light
gray at 80% alpha with... more >>
attachMovie problem
Posted by sirwebster at 5/11/2006 1:44:04 PM
Hi, for some reason the attachMovie in this piece of code just refuses to run
theListener.onLoadInit = function(loadedMc:MovieClip) {
var dropShadow:DropShadowFilter = new DropShadowFilter(0, 45, 0xFFFFFF,
100, 2, 2, 255, 1);
loadedMc.filters = ;
loadedMc.createEmptyMovie... more >>
v2 components not displaying content
Posted by hfaze at 5/11/2006 1:24:33 PM
I've got an application that I'm developing that creates and displays several
forms from an XML file. The form is created on an MC inside of a ScrollPane by
attaching MCs to it. The MCs contain one component each (just TextInputs,
TextAreas and ComboBoxes for now). When I'm only displaying Tex... more >>
Text alpha inheritance
Posted by tonyhigham at 5/11/2006 1:00:14 PM
This should be a pretty easy problem, but I can't seem to find the solution
anywhere, probably because the search terms are too common. Anyway, why doesn't
a dynamic text box inherit its transparency from its parent movie clip. For
instance, if you put a dynamic text item on the stage, name it... more >>
Searching for and replacing text within tags
Posted by Ian Kelleigh at 5/11/2006 12:16:06 PM
This is somewhat related to a previous question I had.
I have a string with a few lines like this:
<?mso-infoPathSolution solutionVersion="1.0.0.1"
ProductVersion="11.0.6565" ?>
<?mso-application progid="InfoPath.Document" ?>
What I want to do is create a general function that is simil... more >>
how to get a referance to a submenu? (Menubar and Menu Component)
Posted by deathofangel at 5/11/2006 12:05:28 PM
How can I get a referance to a sub menu of a menubar or menu component created
by XML? I'm using menubar component of Flash mx 2004 menubar Component and
trying to get a referance to a submenu (or sub sub sub menu etc...) of a
menubar component. For example;
File (Menubar)
|New... (Menu)
... more >>
Syntax of printjob.orientation()
Posted by MikeMedia2 at 5/11/2006 11:06:57 AM
Actionscript 2.0
Still trying to get a handle on 2.0's syntax structure. Here's what I've done:
on (release) {
if ($version != "") {
_root.PrintOut.orientation("landscape");
print ("_root.PrintOut", "bframe");
}
}
mike
... more >>
Keyframing question
Posted by aemoncannon NO[at]SPAM gmail.com at 5/11/2006 10:29:10 AM
Hiya,
I was wondering, is it possible to create a keyframe in the flash IDE
that does not capture the clip state, but only the script state? I
would like to have several clip instances on the stage with a timeline
containing several keyframes. Currently, when I modify the clips on
keyframe1,... more >>
Problem Loading Gif's using MovieClipLoader
Posted by has981 at 5/11/2006 8:43:25 AM
Hi forum,
I am using the MovieClipLoader to load images into a web site. some are jpg's
some are gif's. Now the problem is that jpg's load properly and appear on the
stage but gif's don't load...(well at least they don't appear on the stage)
I know MovieClipLoader doesn't load animated gif's... more >>
tweening
Posted by Abyu at 5/11/2006 8:07:41 AM
Hi
can anybody help me in correcting the script
onClipEvent (enterFrame) { \\the
script is i the car_mc movieclip
if (_root.car_mc, hitTest(_root.glow_mc)) { \\car_mc
and glow_mc are two movieClips
_root.num = "Col... more >>
Load Vars from asp page
Posted by Declan at 5/11/2006 6:59:03 AM
Hi,
I'm passing variables to Flash by using strings in the embed and param tags.
When the variables are received by flash the .swf goes to a specific frame
label. It works in Netscape and firefox but not in IE.
Anyone know why?
The code I am using is:
<object classid="cl... more >>
Text field
Posted by jaikumari at 5/11/2006 6:45:25 AM
Selection.setFocus("txt1")
txt1 is the instance name of the text box used. When i enter the particular
page i want the cursor blink in the first text box( txt1) but the above
scripting is not working out. Please help to sort out this.
... more >>
bounce
Posted by Abyu at 5/11/2006 5:31:04 AM
hi
please say the actionscrit required for a movie clip to bounce away when it hits anyother movie clip
so that after it hits it moves in random direction
... more >>
how do I get my if statement to execute once, when its condition is met?
Posted by complexity at 5/11/2006 5:25:59 AM
Hey all,
Im trying to create a little menu here. It has 8 options (with rollon
animation, selected, rolloff animation), so I thought I would have a variable
for each menu option.
So when menu option 1 is selected my variable (navvar) will = 1.
Here is my if statement / loop.
//fo... more >>
Mouse Control
Posted by lucas_wallis at 5/11/2006 4:42:30 AM
Hi there,
I have a flash game that is a maze and the user moves through the maze using
the mouse. Because I cant directly control the mouse position. I am moving a
cursor relative to what the mouse is doing and that works fine. The thing is
if the hardware mouse hits the edge of the SWF... more >>
inserting link to webpage in flash file
Posted by sprint10s at 5/11/2006 4:12:39 AM
Ok i created my flash intro animation and at the end of the movie i want it to
automatically load to a webpage http:www.eaglechassis.com/index1.php does
anyone know how i can do this. Thanks for anyones help in advance
... more >>
Action script normal/expert mode
Posted by kyleflash at 5/11/2006 4:10:56 AM
i'v been using flash mx for long time now and i want to upgrade to flash 8 so i
could use the new features .. but the problem is i'm not expert in action
script and i'v know that the versions after MX don't have the (normal) action
mode which contains clickable menu to choose actions from it a... more >>
loadMovie fails
Posted by abeall at 5/11/2006 2:25:21 AM
I am using Flash 8 and publishing to SWF6, AS1.0. I have switched up publish
settings and doesn't seem to change anything.
This script:
var dZ = _root.createEmptyMovieClip("dropZone_mc",10101);
dZ.loadMovie("survey.swf");
onEnterFrame = function(){
trace(dZ)
trace(dZ.loadFrame)... more >>
xml help
Posted by jak418 at 5/11/2006 1:26:51 AM
Hi
I have very little knowledge when it comes to xml and servers, and I'm
wondering if anyone could push me in the right direction for a project
I'm trying to make a program where several people can connect to a server
through flash and transfer data between their computers (does this ma... more >>
XML Connector URL set to variable?
Posted by redtiger at 5/11/2006 1:25:26 AM
How can you set the XML connector's URL to a variable?
I have a variable called "thisURL" and an XML Connector called "myXMLConnector"
Thanks much.... more >>
how to get MP3 to pla automatically
Posted by pillowsr4u at 5/11/2006 1:07:05 AM
I have minimal experience with action scripting. I was able to script a play
button and a stop button but I cant figure out how to get the mp3 to play
automatically.
Id like the mp3 to load when the page opens while retaining the ability to
operate the play and stop button oncce youre the ... more >>
decreasing a score
Posted by igneos_d at 5/11/2006 12:55:51 AM
Okay, I was working my way through the MX 2004 game development book, and then
I had the opportunity to make a game to teach good foods from bad foods. So, I
altered the whack a capsule game that was in the book pretty significantly,
mostly using it as a jumping point.
My problem is this:... more >>
|