Archived Months
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
January 2008
all groups > flash actionscript > july 2006 > threads for friday july 21

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

Horizontal Menu with Vertical y axis too
Posted by yevri at 7/21/2006 11:35:15 PM
Hi, I have a horizontal menu that is working great except for two things: 1. I want to make it scroll slowly when users don't have their cursor over it or vertically near it, but faster when they get near it vertically or the cursor is over the object. So I'm thinking if I use the _y pro...more >>


Engine?
Posted by Kookas at 7/21/2006 9:54:34 PM
Any engines like this: http://www.cove.org/flade/demos/demo1.aspx But for Flash 6, because that says Unexpected File Format....more >>

Flash 6 vs. Flash 7/8 AS1 difference?
Posted by abeall at 7/21/2006 9:36:49 PM
Is this behavior documented? It has left me utterly baffled. var a = "string"; if(!a)trace("!a:"+a); Working in the Flash 8 IDE, I get these results: Publish settings - Flash 6 AS1 Output - "!a:string" Publish settings - Flash 7 or 8 AS1 Output - "" So (!var_str) evaluates 't...more >>

Dynamic Text
Posted by sbryner at 7/21/2006 9:25:26 PM
Hello, Is there a reason why my dynamic text loads in the .txt file but will only scroll the first few sentences? Could there be a problem with the .txt file itself or is there something I'm forgetting? I've done this numerous times and this has never happened. Has anybody else had a prob...more >>

Circle Drawing
Posted by Chris McLaughlin at 7/21/2006 9:04:55 PM
Hi, I found the following script to draw a circle but I wan to start drawing the circle at 12:00 rather than 3:00. An anyone help? function Circle( x, y, r ) { this.r = 35; this.x = 694; this.y = 153; this.point_arr = []; this.id = undefined; this.updater = 0; this.up...more >>

Selecting text from a list
Posted by tommy53 at 7/21/2006 8:58:47 PM
I would like to have a user be able to select one item from a short list (a movie clip drop down), and then place that choice into an input text box to which I have assigned a variable name. Many thanks for any help here. Tom ...more >>

Gaming Help. Need to place random variables on screen
Posted by brananc1 at 7/21/2006 8:30:31 PM
Hello all, I need some help with placing random variables on the screen. What I am trying to do is have the program load a picture and then place 3 answers next to it. I want the program to load the correct answer with 2 wrong answers. when the wrong answer is picked then that option/answer ...more >>

Arrrrghhh I don't get this...what am I doing wrong?? :(
Posted by Thatnickname at 7/21/2006 8:26:52 PM
I have this: contenant.output.text = contenant.output._parent; which writes level0.container.contenant So then I try to write _root.container.contenant.output.text = "test" it doesn't work I also tried _root.container.contenant.contenant.output.text = "test" and it doesn't work e...more >>



Loadbar help
Posted by jdh239 at 7/21/2006 8:21:13 PM
When testing my SWF I will notice that the following code will work for my loadbar, however, if I hit CTRL-ENTER to try and simulate download I will notice that "percent" will not change from 0 or 1 (depending on whether I am using Math.floor or Math.ceil). It is like it gets caught in a loop...more >>

Flash/publishing problem
Posted by designcat at 7/21/2006 5:54:33 PM
I work on the flash piece with my portofolio and i have a problem with it. the piece works while in flash perfectly, then i transfer it into the dreamweaver where it works perfectly in the preview. the problem appears when i uploaded it on the hosting server. the links lose thier power and t...more >>

dynammically creating MC's for lineto
Posted by FlashForumName at 7/21/2006 5:24:30 PM
Hi all. I've read in some data from an xml file that contains various x and y coordinates. I need to now draw lines between them all. I understand how to draw A line ie: _root.createEmptyMovieClip("triangle_mc", 1); triangle_mc.moveTo(182, 508); triangle_mc.lineStyle(1, 0xFF00FF, 100)...more >>

"Zooming" in on an image using _xscale
Posted by FishMoose at 7/21/2006 5:04:52 PM
I need to "zoom" in on an image. I am using _xscale & _yscale to achieve this and it works. The problem is that if I have scrolled to some part of the image, then try to "zoom" in, Ithe image seems to pan left or right as it zooms in, then pans the opposite as I zoom out. Here is the code ...more >>

Embed images in one MovieClip, use in another?
Posted by Gregory Berry at 7/21/2006 4:40:21 PM
Hi everyone-- Is it possible to embed images (jpgs) in one MovieClip, then load that SWF into another MovieClip and use those images in the loader? We are trying to avoid reloading an image each time we need it, but still load them dynamically. We'd like to do this: (We're using Flex, b...more >>

Inability to load MP3 in Internet Explorer through Sound object
Posted by ericerimir at 7/21/2006 4:17:56 PM
Hi, I have a flash movie that loads dynamically MP3 files into the flash movie at runtime, through the Sound.loadSound function. I have a standard defined object of the Sound class, which is attached to a MovieClip in the root. Upon having finished loading, the MP3 sound is played with S...more >>

new instances are not created from class
Posted by manslyavite at 7/21/2006 3:35:48 PM
Hello, I have created a class called surverySlide in which I have linked to a bunch of slides. each slide registers how many questions it has to the class (itself). The problem is I need each movieclip to be its own instance of SurveySlide ( I have a surveyManager class built to deal with e...more >>

problems with get url
Posted by erdnuss at 7/21/2006 2:36:12 PM
Hello! I have the following Problem: I created a .swf-file with Buttons-on -press-get url whitch is integrated in an html-page. Once I open the page in the internet, an press the buttons, a popup-message appears, saying "configure flash player". But opening the .swf-file(!) in the flash ...more >>

Relatively simple EventListener question...
Posted by DIY_Lobotomy at 7/21/2006 2:32:44 PM
Hello... How come this works if "next_btn" is a component button, but not if it's a "regular" button or a movieClip?: [i]next_btn.addEventListener("click",doNext);[/i] I'm sure there's a similar way to make a movieClip or a non-component button use an EventListener to execute the "do...more >>

Class object path?
Posted by panell at 7/21/2006 2:22:53 PM
Hi I have created my own class. Lets say called it [b]vector[/b] I need refference to object this class, but after refering to this object it retuns [b] [object Object][/b] insted of full path I want my class object acting execty as MC class objects. What should I add to my class? ...more >>

Where to put initialization functions?
Posted by Tyveil at 7/21/2006 1:44:59 PM
Where should I put functions that are to only run once when the flash is initially loaded and never again? Previously I have put it in the first frames onEnterFrame() and then used stop(); so the frames don't play, but what if I want the frame to play? I've tried using a global boolean varia...more >>

How to display an HTML or RTF or PDF in flash
Posted by jgeorg at 7/21/2006 1:42:25 PM
Hi all, Is there any way to display a simple html document inside an swf? Note that the html will contain text, bullets, tables and bookmarks, but no images or links. Thanks in advance...more >>

Functions()???
Posted by Thatnickname at 7/21/2006 1:13:05 PM
Hello all I'm trying to use a function that was written in an old .fla . In the old ..fla, the function is called by a button click using _parent._parent._parent.duplicateMenuStyle() . So I copy/pasted the buttons in the new .fla and this call works fine in the new .fla if I use the butt...more >>

onRelease function??
Posted by globalscripter at 7/21/2006 1:03:20 PM
I have a function which starts to load my homepage after release, how is it possible to get homepage loading instantly? This is the start of the script: logo.onRelease = function() { _root.pageController.loadLayout('1001') } ...more >>

Help! Remove Movie Clips
Posted by 02TransAm at 7/21/2006 12:17:59 PM
OK...here's my problem... I am making a portfolio site and I have my thumbnails being created dynamically through XML...very similar to the galleries example in the Sample and Tutorials. Only problem is that I have multiple keyframes with different thumbnails that need to be displyed through ...more >>

event enter key press is not execute ?
Posted by dinhcuong at 7/21/2006 4:31:15 AM
why i can not catch event enter key press on button in Flash 8.??? help me. thanks btn.onKeyDown = function() { if (Key.getCode() == Key.ENTER) { trace(" Press Enter !"); } };...more >>

Actionscript Easing
Posted by OniLink at 7/21/2006 1:37:36 AM
Hi, I'm struggling to find an properly working metyhod for this. As a simple example, I've tried things like: spd = 100; onClipEvent (enterFrame) { spd*=.9; if (ty<tpos) { _root.thumbHolder._y += spd; } else if (ty>tpos) { _root.thumbHolder._y -= spd; } } ...more >>

Silly Button
Posted by CellaMarr at 7/21/2006 1:32:31 AM
I am using Flash 8 to redesign my web site however, I have hit a brick wall. I have been reading a book on actionscript, but the codes that it are given me are not working. Here are my problems: I want the "enter" button on my index page to continuously fade in and out. The problem is tha...more >>

Milliseconds to Seconds Minutes
Posted by JSFrench at 7/21/2006 12:02:40 AM
is there a way to take a number (specifically the position in milliseconds that a sound has been playing) and convert it into minute:second format? any help? jeff...more >>

Re: Linkage problem
Posted by najh at 7/21/2006 12:00:00 AM
Ok... i've put a link to it on here: http://www.geocities.com/neilonusenet/ I hope that makes some kinda sense. To describe what's in the fla: There's a big movieclip (for a scrollpane) called standardsTxtaf_mc which contains instances of other movieclips named ppicker1Liner...2Liner....more >>

Testing if MC is being pressed
Posted by mac monkey at 7/21/2006 12:00:00 AM
Hi, Obviously you have the onPress function. Basically I'm using that to do a drag of a MC. so I want to carry out statements for when the MC isnt being pressed. so something like this: if (myMC.ispressed=false){ do statements } The syntax is beyond me though. ...more >>

Rendering movieclips outlines (rather than fill)
Posted by Newt99 at 7/21/2006 12:00:00 AM
Hello, I'd like to render movieclips outlines rather than having them filled. Actually, I would like to achieve the same effect as you get when you click on the color swatches in the Flash timeline layers to see only the outlines of the layer content. Is there an ActionScript method...more >>

getURL() problem with getCookie()
Posted by Newt99 at 7/21/2006 12:00:00 AM
Hello, Is use a Javascript call with getURL() in order to set then get a cookie: // Set Javascript cookie getURL("javascript:setCookie( 'continent', '"+oMC_Map._name+"', '', '/', '', '');"); // // Get Javascript cookie sSelectedContinent = getURL("javascript:getCookie('continent...more >>

Rotate rectangle object using a button on one of its corner
Posted by PrabhaM at 7/21/2006 12:00:00 AM
Hi, I am supposed to rotate the rectangle object using a button on one of its corner. I am able to rotate the rectangle object but cannot obtain the coordinates after rotating it. Please , can anyone tell me how can I obtain those coordinates? Thanks ...more >>

How to determine network restrictions?
Posted by adobekev at 7/21/2006 12:00:00 AM
I'm developing a Flash widget for use on a variety of social networking sites that depends on the getURL() function to go to an external Web site. Unfortunately, some sites are putting the 'allowNetworking="internal"' attribute into the embed and/or object tag, preventing this functionality (s...more >>

Attached movie events problem
Posted by jamesa1974 at 7/21/2006 12:00:00 AM
Hi, I'm a AS programmer working on a project with a flash graphical desinger. He created a moive clip which has an inner button, that shows some animation when the mouse is on it ("Over"). I use "attachMovie" to use this MovieClip in my application, which has no timeline, just one frame ...more >>


DevelopmentNow Blog