Search found 1312 matches

Actual Results

Post Posted: March 23rd, 2008, 7:28 pm

Yeah, those sites use movie clips as buttons. It's the only way they can preserve a state for a button because an action is called to adjust the timeline within that movieclip symbol when it is clicked. I did this once when I kept the instance names of all the movieclips in the navigation then loope...

Post Posted: March 22nd, 2008, 9:25 pm

[code]//import class/method for handling mouse events import; //add event listener to instance of myButton movieclip //event listener waits for the onMouseUp event and runs the launch function myButton.addEventListener(MouseEvent.MOUSE_UP, launch); //launch function that exec...

Post Posted: March 22nd, 2008, 9:07 pm

It depends on if you are publishing your file as Actionscript 1.0, 2.0, or 3.0 on what method you will use for this. You can apply a getURL function to a movieclip as long as you put it within an onMouseEvent handler (onMouseDown, onMouseUp, etc). There are multiple ways you can do this if you are p...

Post Posted: March 22nd, 2008, 8:28 pm

Are you trying this using HTML pages? Or by page do you mean you are changing your frame in the movie to show different content and/or loading in other content? We need more details on your setup before we can address a solution. One thing I can tell you right off the bat is that you can't do this w...

Post Posted: March 22nd, 2008, 8:26 pm

Is your external movie loading under a mask? Dynamic text can't be masked unless the font is embedded. If not, try referencing the scope of your variable. Are you using root in your code at all? If so, when you are loading your file into the parent file the location of your variable changes and your...

Post Posted: March 22nd, 2008, 8:23 pm

Steve Jobs has never been a fan of Flash. It doesn't mean it won't be on the iPhone though. Adobe is willing to (and I believe trying to) make the Flash Lite plugin that was created for portable electronic devices work on the iPhone, they need Apples partnership though, which is the rough part. But ...

Post Posted: March 22nd, 2008, 8:16 pm

It's all about proper targeting and scoping. Actionscript 3.0 has significantly changed much of their notation, but scoping is very similar. Where previous versions of flash you could use Stage, _root, or _parent as prefixes AS3.0 uses stage, root, and parent (no underscores and all lowercase). So d...

Post Posted: June 27th, 2006, 3:16 am

Thanks Ice, though I'm not really back... just stopping by :)

Post Posted: June 27th, 2006, 3:15 am

Those are for the movie scaling, so when the window is resized the movie doesn't scale with it. It isn't possible to disable the resizing of the window from a projector file because it's really an operating system action and not an action of the .swf itself. You would probably have to use a 3rd part...

Post Posted: June 26th, 2006, 6:52 pm

It's hard to read without the code formatting tags, but it looks to me like you are combining static and dynamic event handlers... which is going to cause you some problems (mainly with targeting)... so there's a chance this may no work depending on your setup.

Post Posted: June 26th, 2006, 6:49 pm

You should really never do this, variables being the same name as a function causes much confusion to the coder and to the program. In this instance, by not defining a return variable the function is essentially overwriting itself with a number because the variable retrieving the value is the same n...

Post Posted: June 26th, 2006, 6:35 pm

look into the onSoundComplete event handler.

It would go something like....
Code: [ Select ]
profileSound.onSoundComplete = function(){
  //code to start background music.
  1. profileSound.onSoundComplete = function(){
  2.   //code to start background music.
  3. }

Post Posted: June 26th, 2006, 6:32 pm

Why don't you manipulate the contentPath variable in Flash through a query string extension in the src attribute of the embed tags... for example... <embed src="player.swf?contentPath=value"> What this will do is if the value of contentPath is not defined by default in the _root time...

Post Posted: May 19th, 2006, 1:43 pm

Justify is available for dynamic text for Flash 8 users?

I need to start using Flash 8 I haven't touched Flash much at all since MX.... sadly it shows... bad.

Post Posted: May 19th, 2006, 3:18 am

None that I know of. Not even sure that they are planning to add justification in a future version or not. I sure hope so though.

Post Posted: May 19th, 2006, 3:15 am

What I used to do was clear the textbox before I reset the text. It's kind of a lame workaround, but it works.
Code: [ Select ]
myTextBox.text = "";
myTextBox.text = newTextValue;
  1. myTextBox.text = "";
  2. myTextBox.text = newTextValue;

Post Posted: March 31st, 2006, 7:17 pm

pathToPic is showing undefined because it isn't defined when the code is called. When using a LoadVars() Object you need to contain the code that uses data from the external file in an onLoad event handler (in my previous example it is the myLV.onLoad = function(success) part)... this is because you...

Post Posted: March 30th, 2006, 3:28 pm

It's because the clip containing the buttons is being used as a button itself (with the on handlers)... so the buttons within it cannot recieve button events. The solution to this kind of problem is to use an onEnterFrame and a hitTest() statement on the container clip that holds the buttons, that w...

Post Posted: March 30th, 2006, 3:23 pm

How are you passing the different ww and hh values to the query string in the embed src attribute? Is that dynamic through PHP? If so, why pass it through a query string when you can just use it directly in the width and height attributes of the swf tag? Otherwise the only other way to solve your pr...

Post Posted: March 29th, 2006, 3:51 pm

How can I forget my good friend Senocular

Post Posted: March 29th, 2006, 4:10 am

There are video tutorials over at

Post Posted: March 28th, 2006, 9:10 am

I gotta go with IceCold on this one. Loading to movieclips IMO is more managable than loading to levels. And Scenes are an atrocity unless you are an animator. They will only complicate things for you otherwise. Macromedia never fully supported the use of Scenes because their primary purpose was sim...

Post Posted: March 28th, 2006, 9:05 am

Well if you can get a PHP file to retrieve the path of the image to be loaded then you can use the LoadVars() object to to load that URL from the php file and use loadMovie to load the image to a movieclip symbol. Here is a quick and dirty example... if it works (I haven't actionscripted in ages so ...

Post Posted: March 28th, 2006, 9:00 am

to name a few

Post Posted: March 23rd, 2006, 5:42 pm

I'm honestly not even sure if it's possible now that I think about it... since to be able to modify a selection of text, it has to be selected. And by clicking a button you are then taking the selection focus off of the textbox and putting it onto the button you are clicking, and your text will beco...

Post Posted: March 23rd, 2006, 4:32 am

You should check into the TextFormat() object... ... ry788.html

Post Posted: March 23rd, 2006, 4:29 am

Flash 8 supports alpha transparency in masks as long as you set the cacheAsBitmap flag to true for both movieclips. Here is an example...

Post Posted: March 23rd, 2006, 4:18 am

What you are looking for is called the LocalConnection() Object. It's a very handy function for communicating between 2 .swf files. This works as long as the .swf files reside on the same server, so I'm pretty sure if you keep them on your local machine it should still work... being that the files a...

Post Posted: February 27th, 2006, 4:15 pm

You could add a button event handler to the container clip, but hide the fact that it is a button by setting useHandCursor to false. Since buttons can not be clicked when they exist inside buttons, I would think this would disable the buttons inside. I've never tried this though, I usually write a f...

Post Posted: February 26th, 2006, 3:05 pm

That would actually produce 6 days ahead. The best way to do this would be not to take the time on the viewers computer, but to use UTC time instead. I went to to see what time it was in Italy when I wanted to figure out a solution to this. When...

Post Posted: February 26th, 2006, 2:38 pm

No it is not. Flash and HTML are seperate entities, and while Macromedia is slowly increasing HTML support within Flash (such as CSS and image support in textboxes as well as basic HTML formatting for text), you can't actually have HTML objects within a .swf file. You would have to instead create a ...

Post Posted: January 8th, 2006, 2:51 pm

Yeah, MX04 and below sucked with that. Only non-progressively saved JPG images were allowed to be loaded. This was because Flash couldn't support any animation or transparency of files being loaded dynamically before. But Flash 8 rocks, and this is part of the proof.

Post Posted: January 8th, 2006, 2:48 pm

I'm assuming the above code is a crude example, because there really is no reason for eval to be used above when you can just use...
Code: [ Select ]
mcInstanceName._x = value; mcInstanceName.lineStyle(blah...);
There is another method other than eval though, and it's called ...

Post Posted: December 19th, 2005, 7:36 pm

IMO using an external .js file is better than hardcoding the JS into your HTML document. It allows your code to be used in multiple pages without having to edit all of those pages seperately. I personally never inline my JS in my HTML, it's always a seperate file(s). As for whether or not to use Fla...

Post Posted: December 19th, 2005, 7:30 pm

-1 Flash sites are not indexable and rely solely on META tags in the head of the document (and I would suppose other HTML sites that link to it). It's a huge downfall to flash based sites, and one of the reason many web developers frown on using it. Many people try to use hidden div tags and HTML tr...

Post Posted: December 18th, 2005, 8:10 am

Do you use a static URL or a relative url?

If the .htm file exists in the same directory then you just need to getURL("one.htm");

Post Posted: December 18th, 2005, 8:08 am

Sounds like something that would require AJAX. Javascript server querying, and then Javascript communication back to the Flash file (or just showing/hiding a div tag). I don't know any AJAX though, I just know that Flash can't detect when a server query is run and when it ends.... unless you are usi...

Post Posted: December 18th, 2005, 8:04 am

It's generally referred to as an infinite menu, here is a tutorial:

Post Posted: December 13th, 2005, 1:41 pm

Well you won't be able to get one that is free, at least not one that is secure and propertly functional. The reason most of them require payment is because of the work that needs to go into it. It requires quite a bit of knowledge of multiple web languages. On top of that, you have to program it to...

Post Posted: December 13th, 2005, 1:34 pm

Given that a class is supposed to be portable, I don't believe you can access a direct instance through hardcoding. You may need to pass the instance name of the textfield as an argument of a class function.

Post Posted: December 13th, 2005, 8:23 am

Well it's always good to define a doctype for your document, I guess the CSS fix doesn't work for HTML 4.01. I usually doctype as XHTML 1.0 Transitional, XHTML 1.0 Strict or XHTML 1.1, and I know the CSS fix works for those doctypes.

Post Posted: December 12th, 2005, 5:58 pm

That's odd, it works fine in my other projects. Perhaps it makes a difference if height: comes before margin: (since that's usually what I end up putting in my CSS)

You can see that it works over at

Post Posted: December 12th, 2005, 3:54 pm

I kind of did something similar here.

Is that what you are looking for?

Post Posted: December 12th, 2005, 3:50 pm

@roarmeow: A movie getting loaded into another movie inherits the property of the parent movie. This includes frame rate. @Dughy, no, not for a particular MC. a timeline yes, but not an MC. And the timeline method is just a hack using setInterval() and play() to change how fast the timeline plays (s...

Post Posted: December 11th, 2005, 3:25 pm

Oh, well whatever works, as long as it works ;)

Though, you need to fix this in FireFox. When scaling an embedded flash movie as 100%x100% FireFox has a bug that kinda screws up unless you add this bit of CSS
Code: [ Select ]
html, body {
  margin: 0px;
  height: 100%;
  1. html, body {
  2.   margin: 0px;
  3.   height: 100%;
  4. }

Post Posted: December 8th, 2005, 3:08 pm

Well to be honest, I don't know how feasable it would be to do this. Since you can't dynamically set a linkage (being that linked items are stored during publishing), then surely you should know what linkage names are available to you since you assigned them manually in the first place. But I guess ...

Post Posted: December 5th, 2005, 2:59 pm

Oh yeah, anything by Kurt Noble rocks too.

Post Posted: December 5th, 2005, 1:21 pm

Anything by

Post Posted: December 5th, 2005, 1:14 pm

Really the only template site I know is , and IMO it's a pretty good resource from what I've seen, but I've never gone too in depth as to what exact templates they carry.

Post Posted: December 5th, 2005, 1:11 pm

Oh, well then yes, that is the correct code.

Post Posted: December 5th, 2005, 1:10 pm

No, you can't tell which version it was authored with, but honestly I'm not sure what being able to tell which version it was authored with could tell you different than which version it was being publish as. Because reguardless of which version it was authored with, if it was being published as a c...

Post Posted: December 5th, 2005, 12:51 pm

What are you trying to check?

The getURL() syntax you have is correct, I don't think I understand your problem/question.

Post Posted: December 5th, 2005, 12:50 pm

Well, I absolutely never work with video at all, but maybe this will help you... ... omoid=CABI

Post Posted: December 5th, 2005, 12:49 pm

Code: [ Select ]

Post Posted: December 5th, 2005, 12:46 pm

Code: [ Select ]

Post Posted: December 5th, 2005, 12:44 pm

Flash can only upload non-progressive .jpg images dynamically. Perhaps the problem is that you are trying to load a .jpg image that was saved as a progressive?

Post Posted: December 5th, 2005, 12:42 pm

Yeah, the Flash file was probably stored in his system Cache. Ask your friends to empty their temporary internet files and close the browser out before attempting to view it again.

If you broke it down to fills, there is absolutely no reason whatsoever it should fail to show the font.

Post Posted: December 5th, 2005, 12:38 pm

No clue, I use Macromedia Flash, never really used the others aside from SWiSH, but that was long ago and it has changed a lot since then. I'm supposing that reguardless of it changing, with it's built in 'click-and-go' effects, it would be a better choice for you.

Post Posted: December 5th, 2005, 12:37 pm

Just presenting you with alternatives. In the properties panel you can change your textbox type to 3 different things. Static: Automatically embeds the font outlines for the letters used in the textbox. Dynamic: You need to choose which characters to embed in the textfield to show, this is because t...

Post Posted: December 5th, 2005, 12:33 pm

Well it isn't a problem with Flash. Technically by adding a forward slash to the end of a URL the browser thinks you are in a directory, so it would seem to me that because the browser now thinks you are in a directory.. the targeting to the Flash movie would be incorrect and need to be changed. In ...

Post Posted: December 5th, 2005, 12:27 pm

@CXLink and apsblackbelt2: This may sound stupid on my part, but did you check the properties panel for your textbox and make sure it was set to 'multiline' and not 'single line' ? I haven't had this problem in any version of Flash. @InnerCity: Go to File/Publish Settings... then click on the 'Flash...

Post Posted: December 5th, 2005, 12:24 pm

Or if you want your text to still be editable, then do as IceCold stated and embed the font outline. You can do this in the properties panel for the textbox.

Post Posted: December 5th, 2005, 12:20 pm

Code: [ Select ]
for (var b = 0; b<20; b++){ this.mcRings.Ring1["r"+b].id = b; this.mcRings.Ring1["r"+b].onRelease = function(){ gotoAndStop(; } }
Try something like that.

Post Posted: November 29th, 2005, 5:06 am

You can get the instance name with _name and you can get the symbol type with typeof, but unfortunately you cannot get the linkage name for a clip via actionscript.

Post Posted: November 27th, 2005, 4:54 pm

[code]//quick and dirty function for random motion MovieClip.prototype.moveRandom = function():Void { var endX:Number = random(Stage.width); var endY:Number = random(Stage.height); this.onEnterFrame = function() { this._x ...

Post Posted: November 25th, 2005, 5:29 am

Yeah, I've known about Robert Penners easing equations for a while. In fact, I believe they are now an included part of ActionScript in Flash 8 (MX2004 too maybe?).

While this isn't a tutorial, Here is an example of the tweens in actions...

Post Posted: November 24th, 2005, 6:11 pm

Yeah, it makes a difference because Actionscript 1.0 isn't the same as Actionscript 2.0 no matter what version of Flash you are using. [code]function goOn(){ trace("moving on"); _root.gotoAndPlay(20); clearInterval(myDelay); } var myDelay = set...

Post Posted: November 24th, 2005, 11:29 am

Yeah, I misread it and was being an absolute moron with that. But theres nothing wrong with the code, so I wonder if it is like panz stated and it is an actionscript 1/2 issue. What version are you publishing to?

Post Posted: November 23rd, 2005, 4:53 am

'label="s" +; ' that line is incorrrect in many ways, what is it supposed to be doing? Is it supposed to be this[label+"s"] =; ?

Post Posted: November 21st, 2005, 5:43 pm

Well the problem with that is that most likely the Flash object will be last choice for the browser to load being that it is an embedded object and not direct HTML content. So the document will already be loaded before the faux loader gets displayed anyway. So it becomes just a pointless addition IMO.

Post Posted: November 21st, 2005, 5:41 pm

Oh, I definitely misunderstood what was needed to accomplish. Yeah, you can't display an image until it is 100% loaded into Flash already, so a preloader that slowly reveals your image is impossible. Thanks Jaw.

Post Posted: November 21st, 2005, 4:11 pm

I gotta agree with all the above. And Axe is right about informing the creator of what might happen.

Post Posted: November 21st, 2005, 4:07 pm

You would probably have to change
Code: [ Select ]
form.loadVariables("email.php", "POST");
Code: [ Select ]
this.loadVariables("email.php", "POST");

Post Posted: November 21st, 2005, 4:05 pm

No, not that I can think of. The JavaScript onLoad returns when a page is finished loading, but you can't choose what a browser displays first, so you can't display your flash movie first.

Post Posted: November 20th, 2005, 7:21 pm

Make the tween animation 100 frames long, and gotoAndStop() at the frame that the percentage is at. Quick example (basic idea)... [code]this.onEnterFrame = function():Void{ var bytesTotal:Number = mc.getBytesTotal(); var bytesLoaded:Number = mc.getBytesLo...

Post Posted: November 20th, 2005, 7:17 pm

Do you mean that 'moving on' keeps coming up even after the interval is cleared? Or do you mean that the ouput window keeps the text 'moving on' in it? If it is the first, then that is odd, because the interval gets cleared properly when I test it. If it is the second, then just close the ouput wind...

Post Posted: November 20th, 2005, 8:28 am

Hard to test it without the PHP file that is supposed to retrieve the POST variables, but off the top of my head I can see that the problem could be that your fields are contained within a movieclip symbol, which changes the targeting of the variables since the loadVariables() command is not in the ...

Post Posted: November 20th, 2005, 8:24 am

Well if this were even possible it would need to be combined with AJAX or something of the sort that can relay backend data live through the frontend of the site and feed that information to Flash. But I don't know a lick of AJAX, so I can't be of any help. But like I said, I don't even know if it's...

Post Posted: November 20th, 2005, 8:20 am

Please share your actions so we can better troubleshoot your problem. As urban said, mailto: is a browser interpretated actions and cannot be tested properly through the .swf file, but instead must be tested in a browser displaying the .swf file. Otherwise it should work just fine... unless there is...

Post Posted: November 20th, 2005, 8:17 am

I usually do this with setInterval().
Code: [ Select ]
function goOn():Void{ trace("moving on"); _root.gotoAndPlay(20); clearInterval(myDelay); } var myDelay:Number = setInterval(goOn, 2000); stop();
setInterval() runs in mi...

Post Posted: November 20th, 2005, 8:13 am

You need to use PHP. Then from Flash you will call the PHP file using loadVariables() with a 'POST' method.

This should help you out: ... _email.htm

Post Posted: November 20th, 2005, 8:11 am

Use the Sound() Object in Flash.

You can use Sound.start(0) to start it from the beginning, and you can use onSoundComplete() to get it to go to the next song. is everything you need to know about the Sound() Object. Enjoy.

Post Posted: November 18th, 2005, 4:15 am

I believe the only option is a getURL(). An 'exec' fscommand is for launching programs, not opening filetypes already related to a program.

Post Posted: November 18th, 2005, 4:09 am

30fps isn't high at all. Especially since the way mac interprets Flash, the player will never actually get to the speed. A frame rate of 30 will actually never get past 21-25. At least that is how it used to be, I'm sure they fixed this issue by now, but I don't have a mac, so I can't test this. And...

Post Posted: November 16th, 2005, 3:31 pm

Yeah, Kenny Bellews tutorial is good for sound object help. This particular occasion seems to be a problem with the plugin. Try adjusting the bitrate that your audio is exported at.... see if that changes anything. Sometimes it can affect how fast the sound plays in a browser plugin, but not inside ...

Post Posted: November 16th, 2005, 3:22 pm

A for loop runs in the background and outputs the results at the loops completion. So using a for loop you cannot do this, you would have to find an alternative using either an onEnterFrame command or setInterval()..... if that is possible given what you are trying to do. I would think your easiest ...

Post Posted: November 16th, 2005, 3:19 pm

No idea, never heard of this problem. The window should open up in front of the projector. *scratches head*

Post Posted: November 10th, 2005, 4:40 pm

Well, while it doesn't stray away from the embed tag, I personally love Geoff Stearns' Flash Object . It's a JavaScript object that allows you to embed a flash object into an HTML page and still allow the code to validate (because it uses the innerHTML command in javascript to write the embed code a...

Post Posted: November 8th, 2005, 5:13 pm

Code: [ Select ]
I would think that would be easy enough for someone to understand. It would require some reworking of your...

Post Posted: November 7th, 2005, 8:21 pm

Post Posted: November 7th, 2005, 8:20 pm

1) Timeline effects don't exist in Flash 6, they started in 7 and they may have added to them in 8. 2) It's just a gotoAndPlay() action placed in the action panel. Though they way they are going about describing it, it sounds as though they are doing it in 'Script Assist' mode which was in all prior...

Post Posted: November 7th, 2005, 12:06 pm

Using gotoAndPlay() as a scene navigator only works if the button is contained in the _root timeline. Otherwise you are required to give the first frame of the scene a frame label and use _root.gotoAndPlay("frameLabel");

Post Posted: November 6th, 2005, 7:19 pm

What kind of file are you loading? You can use loadMovie() to load in a .swf file or a non-progressive .jpg file. If you are trying to load in data such as XML then you would need to use the XML () object, and if you are trying to load in data via PHP or a text file you would need to use the LoadVar...

Post Posted: November 6th, 2005, 6:33 pm

To retrieve the value of a combo box you use
Code: [ Select ]

Post Posted: November 5th, 2005, 9:35 pm

No, the plugin has no shape other than a rectangle/square... any shape it takes on is done by the design within the actual .swf file. So in essence, while you can't download different looks for the plugin, you can make it look however you want.

Post Posted: November 5th, 2005, 6:10 pm

Well if you set the width and height attributes in the embed code to 100% it will scale to fit the area. This will cause scaling of the content in the movie however, and will thus cause distortion. You can prevent scaling by setting Stage.scaleMode to noScale... but then if the stage size is smaller...

Post Posted: November 5th, 2005, 6:08 pm

1)Change the 'src' attribute to the URL of the .swf file in the embed code in the HTML (I believe there is 2 locations for 'src' in the embed code, change them both) 2) Add stop() to the first frame of the animation and on your play button you can use [code]on (release){play();&...

Post Posted: November 4th, 2005, 4:50 am

You can't POST variables in an HTML document, it would have to be PHP. And it all depends on which version of Flash you are using and how exactly the variables will work to be able to get them into Flash. You could attach them as a query string in the src attribute of the embed code to automatically...

Post Posted: November 3rd, 2005, 5:00 am

Nice component, but I can't help but feel this post is just you spamming your site and component. Oh well, I'll let it slide since it's actually useful. Though I can't help but wonder why there is no 'PHP Edition'. Well I'm assuming the 'ASP Edition' uses ASP to connect to the database. My host does...

Post Posted: November 2nd, 2005, 3:53 pm

Yeah, it's part of Flashs Security Sandbox I believe, in which case there isn't much you can do about it, so your client may just have to do deal with it :-\

Post Posted: November 2nd, 2005, 5:04 am

I'm so used to relative targeting that I have never used lockroot. I heard it sometimes causes problems. Have you had any problem with it ShapeShifter?

Post Posted: November 2nd, 2005, 5:00 am

Well it wouldn't really be a prototype, since there is no TextField.prototype (at least there didn't used to be), I guess it would be more like an onChanged handler. Something like this [code]myTextField.onChanged = function():Void{ this.text = this.text.toUpperCase&...

Post Posted: November 1st, 2005, 6:08 pm

You put the actions on a frame, not on the combobox itself. Sorry, I should have clarified that.

And yes, it will work for all values in the combobox, you don't need to make a new function for every value.

Post Posted: November 1st, 2005, 5:27 pm

Yeah, I did day difference just in case you want to show how many days were left. Otherwise you can leave out the '/86400000' part in the difference variables. You will get the same result in the percentage equation. I'm glad you didn't need it to be to the last second, because I have no idea how I ...

Post Posted: November 1st, 2005, 3:52 pm

Code: [ Select ]
onClipEvent (data) { // show welcome screen this.nextFrame(); }
As well as changing the submit buttons code to [code]on (release) { form.loadVariables("email.php", "POST");//returns error due to no PHP f...

Post Posted: November 1st, 2005, 3:38 pm

Curiousity has struck me as I have never seen anyone do this in actionscript. Though where there is a Date() object there is a way! So I came up with this. Not exactly sure how efficient this code is, but it seemed to work. [code]//get start of date to Oct 1, 2005 var startDate:Date = new Date&#...

Post Posted: November 1st, 2005, 3:14 pm

When you populate it with a string be sure to use the toUpperCase() command on the string. For example
Code: [ Select ]
myTextBox.text = myVariableFromPHP.toUpperCase();

Post Posted: November 1st, 2005, 4:49 am

*slaps self in face*


Post Posted: October 31st, 2005, 9:50 pm

What ended up being the outcome of this competition anyways?

Post Posted: October 31st, 2005, 9:45 pm

Flash MX 2002 v6.0? That would just be Flash MX ;) Flash MX 2004 is v7 and Flash8 is well... v8.... :D I hate the premade components. They do make things easier, but they beef up the file size and are a pain to customize (being that they technically aren't supposed to be customized). I guess the fir...

Post Posted: October 31st, 2005, 9:32 pm

Going by how your timeline is set up, you don't need any parents. And the 'contact' clip doesn't exist, only the 'form' part. So this is what I put (along with what was returned) [code]on (release) { trace(form);//returns form.loadVariables(&...

Post Posted: October 31st, 2005, 6:44 pm

The new anti-aliasing for text and advanced strokes are flash 8 items thus cannot be seen with the flash 7 player. If you export as Flash 8, technically it shouldn't work at all with a flash 7 plugin. What you can do is open up your flash 8 .fla file, go to File/Publish Settings and click on the HTM...

Post Posted: October 31st, 2005, 6:40 pm

_root is always the first timeline in the hierarchy, so you will have to use relative targeting such as _parent and 'this'.

If your buttons already exist on the _root timeline of the invidual movie, then you don't need anything and you would just type ''.

Post Posted: October 31st, 2005, 6:35 pm

nextframe is a function and should be written as nextFrame() (with the parenthesis, it's also case sensitive) But given your description it does sound like a targeting issue. Try tracing the _parents to find out which timeline should work. trace(_parent) or trace(_parent._parent) and see what timeli...

Post Posted: October 30th, 2005, 4:07 pm

I use this process a lot when it comes to building things like news systems and other XML based content. The code changes a bit with every method (depending on the situation of course), but the idea is always the same.... so hopefully this will be a concept you find useful in the future as well. Kee...

Post Posted: October 29th, 2005, 7:19 pm

Here, I'm extremely tired after a crap day at work, so here's just a slim bare-bones example of what I mean [code]tabular._visible = false; var words:Array = ["Yar", "I am the sloogin da noogin ya", "Peaches and Lemon Spice"]; for (var i:Number =...

Post Posted: October 29th, 2005, 7:07 pm

When I have to do tabular data like this I usually put the textfields in a movieclip symbol the way they should be set up and duplicate the movieclip changing it's vertical position. Now, in your case with the multiline, I would set the autoSize property of the textbox to true and then in the for lo...

Post Posted: October 1st, 2005, 3:48 am

Oh I see. Yes, you should always contact the author about adding one of their movies to your own site. That way they can give you their .swf file and you aren't stealing their work.

Post Posted: September 29th, 2005, 6:13 pm

If the presentation is going to be on CD then the javascript command will not be made available to you either since the movie will have to be viewed using a browser for this command to be executed. And you can still use document.write() in Flash, just call it after the fu...

Post Posted: September 29th, 2005, 6:09 pm

You have to have Macromedia Flash and from there after creating your Flash document you need to publish it as a .swf and .html file (the .html file will contain the embed code required for adding your movie to any HTML page).

Post Posted: September 22nd, 2005, 8:58 pm

Because Flash MX 2004 is a newer version than Flash MX. With Flash, all .fla files are supported in the newest versions of the program, but you can not use a newer .fla in an older version. This is to do new additions to Flash with new versions. Though, if you know the person who gave you the .fla f...

Post Posted: September 22nd, 2005, 6:58 pm

@ShapeShifter: A SharedObject probably wouldn't be best, because SOs aren't deleted when a viewer deletes their temp internet files. So if the SO is set, and the viewer empties out all that info, then the Preloader will still attempt to be skipped. Unless in the script at the same time you check the...

Post Posted: September 20th, 2005, 11:04 am

You can do that with the query string method I mentioned. Like if you go the site with Then use PHP to attach that to the src attributes of your embed and object tags as src="file.swf?bypass=<?php echo $_GET["bypass"] ?>" Make sure the bypass variable doesn...

Post Posted: September 19th, 2005, 7:54 pm

My most commonly used method of passing a var into flash is attaching it to a query tring in the src attributes of the embed and object tags of the flash embed code. like src="file.swf?myVar=myValue" I usually use a query string in the URL with PHP to parse that info... such as... src="file.swf?myVa...

Post Posted: September 19th, 2005, 8:06 am

Oh gotcha.

My apologies Kanaduh ;)

Post Posted: September 18th, 2005, 9:31 pm

who said anything bout piracy? i didnt why dont you just download trial then add me on msn for the rest @ Lostinbeta you've seen my simple questions ofcourse i wont make money off of it @shapeshifter FLASH basically like flash 2004.. the colour palete has bigger squares and there is this fi...

Post Posted: September 18th, 2005, 9:11 am

@kanaduh: Be glad I'm no longer a mod here. I am not a fan of piracy. Especially when you are going to be using the programs to make money (because lets face it, if you're good enough, the program pays for itself very quickly). @ShapeShifter: You know the trials of the programs are available at Macr...

Post Posted: September 15th, 2005, 10:00 am

That is correct graphixboy, but maybe ShapeShifter does commercial work with Flash, thus the educational version would not be good enough. I suppose.

Post Posted: September 12th, 2005, 8:20 pm

I'm thinking he wants more, but without more detail as to what he needs to use the getTimer() for we cannot help him out, given that getTimer() can be used in multiple situations.

Post Posted: September 12th, 2005, 11:00 am

Oh, so it was just a targeting issue then.

Post Posted: September 12th, 2005, 8:30 am

Um, are you loading to 2 seperate clips? Because this has never happened to me. How are you creating the content clip? Is it created manually, or through actionscript? What is the actionscript code you are using to load the movie in? I noticed a lot of people combine loadMovie() and loadMovieNum() i...

Post Posted: September 11th, 2005, 7:12 pm

Code: [ Select ]

Post Posted: September 11th, 2005, 4:24 pm

What you could do is... 1) If it is a button symbol, you can create a movieclip symbol of the fade animation and use that in the proper state frame of the button symbol. This will play the movieclip symbol that is in that state when you perform the proper action on the button. 2) If it is a moviecli...

Post Posted: September 11th, 2005, 4:21 pm

Try content.unloadMovie();

That should work.

And if you load another movie to that clip, it will automatically unload whatever is loaded to it at that time, so there is no need to unload the content before loading new content... in case that is what you were trying to achieve.

Post Posted: September 9th, 2005, 11:53 am

For those of you keeping up to date on your software, Macromedia is releasing Studio 8 in 4 days. Studio 8 is their new bundle of Macromedia products. I guess they wanted to get one last hoorah before the products become Adobe. NOTE: I will not be updating ...

Post Posted: September 8th, 2005, 8:42 am

Voetsjoeba created an audio player based on XML so you can modify the track listing easily. And it streams the MP3 so you just have to make sure it's in the proper directory.

Post Posted: September 8th, 2005, 8:40 am

Yeah, I'm on a fairly good system, and I get the music playing, but just a still frame at the beginning and it never eventually plays. I have to refresh it a couple times for it to actually play. The actionscript for smaller segments is probably pretty straightforward, but it's going to be complex t...

Post Posted: September 3rd, 2005, 9:01 pm

If you want.

Post Posted: September 2nd, 2005, 7:23 pm

Is any actionscript assigning it a value?

I just checked, and if I create an input textfield with it's type as Password, it stays empty until someone types in it. So you have something adding text into yours somewhere.

Post Posted: September 2nd, 2005, 7:21 pm

File/Export/Export Image. Then choose 'GIF Image (*.gif)' from the type drop down and put ythe image name in the name field.

After you hit the save button a panel will pop up. In that panel is a checkbox that says 'Transparent', if you check this box, it will save with a transparent background.

Post Posted: September 2nd, 2005, 7:18 pm

And to prevent further confusion... on page 3 of that tutorial it talks about the lock fill modifier... if you select the paint can tool you will see a list of sub options all the way at the bottom of the toolbar (under 'options')... the one with the lock is the lock fill modifier. This one is prett...

Post Posted: September 2nd, 2005, 7:07 pm

Macromedia combined the fill and mixer panels together into the Color Mixer panel. I don't know which version you have, but it's there In MX2004 it's Window/Design Panels/Color Mixer.

And instead of choosing 'add gradient' choose 'add swatch' it's the same thing.

Post Posted: September 2nd, 2005, 2:02 pm

All those tools are available in all the recent versions of Flash.

So the tutorial should still work the same. :-\

Post Posted: September 2nd, 2005, 1:50 pm

Well from everyone I know that does work with video, they all have Sorenson Squeeze, it's apparently the must-have app for video editing. Here are the livedocs for video in Flash if it helps at all...

Post Posted: September 2nd, 2005, 1:27 pm

Well I have no idea about working with video at all, but over at kirupaForum with a discussion about how the video for was so superb while not being too damaging as far as loading, one guy chimed in with all ou need is to export the 3d as a tiff sequence then ...

Post Posted: September 1st, 2005, 9:41 pm

Well, I actually haven't done much with AS2.0 or anything, but it looks to me like the error is occuring because stamp_mc is being targetted before it is actually defined. Also, I don't understand why you define _sColor as a new Color() object, but in the skinStamp function (which I am assuming is y...

Post Posted: September 1st, 2005, 9:26 pm

Did you type anything in that textbox while it is on the stage? If there is nothing in it, it should be starting blank.

Post Posted: September 1st, 2005, 9:24 pm

Well that would be something completely different than a flash file wouldn't it ;) I believe (I could be wrong) that when you export as an animated gif it gives you the option to have a transparent background in the save as settings. Note: When creating an animated gif in Flash, all animation must b...

Post Posted: August 31st, 2005, 10:44 pm

Scenes are the devils tool. I would recommend using loadMovie() to load content in. It's more efficient than scenes and better all around for a site. I've heard from a lot of people this tutorial was pretty useful when they started out trying to make a site.

Post Posted: August 31st, 2005, 10:40 pm

You can't do it IN FLASH itself... you can only make the .swf embedded into an HTML document have a transparent background using the methods previously stated. The Flash program itself will use the background colour you chose in the settings. Note: Only recently has the flash plugin began supporting...

Post Posted: August 31st, 2005, 10:37 pm

If it is indeed in Flash and you created the input textfield manually you can open the properties panel, click the dropdown that is usually at 'Single Line' (it could be 'Multiline' or 'Multiline No Wrap' though) and choose 'Password' from the drop down list. Or you can use [code]myTextBoxInstanceNa...

Post Posted: August 31st, 2005, 4:12 pm

I'm with ATNO/TW on this one. I use limited chat style speaking and don't have much reguard for spelling in chat and IM, but on a forum I try to be a bit more accurate. Though my punctuations are always terrible because of my love of '...'. I have the dictionary extension for firefox when I don't kn...

Post Posted: August 31st, 2005, 11:16 am

My signatures at forums are the only hits I get to my site.

I get a few misguided google searches too. Things my blog returns in a search result, but I know the searcher wasn't intending to find.

Post Posted: August 31st, 2005, 11:13 am

That shouldn't be an influence to it. As far as I know layer folders are only for developer organization, I don't think they mean anything upon publishing the actual file.... kinda like Scenes. They are just a visual seperator to the animator, but upon publishing you are left with 1 huge timeline.

Post Posted: August 31st, 2005, 11:02 am

That's the link I post for ANYONE who asks questions about the Sound() object in Flash. I can't explain any aspects of the Sound() object any better than that tutorial.

Post Posted: August 31st, 2005, 11:01 am

Flash cannot detect character width of a font. Especially when you aren't using a monospaced font.... where all characters are the same width and kerning.

Flash has the autoSize property that can auto size your textbox to the width/height of the text, but that's about it.

Post Posted: August 31st, 2005, 10:59 am is a javascript command interpreted by a browser. So unfortunately you cannot create a pop-up from a .exe projector file, it must be embedded into an HTML file :(

Post Posted: August 31st, 2005, 10:57 am

this["title"+i] and this["content"+i]

Check out Associative Array Referencing.

Post Posted: August 31st, 2005, 10:51 am

Wow, that's weird. The only time I have ever seen this bug is with the drawingAPI. Example: click and drag the ball straight horizontally left and right to the far edges of the screen (don't move it up or down too much). This is a rendering glitch in Fl...

Post Posted: August 31st, 2005, 10:46 am

'i' can't be passed into a dynamic event handler. You must define a variable for the object giving it the value of i as it is in the position of the for loop... and use that variable. [code]getNews_Result = function(rs){ cant = rs.getLength() //how many rows are in our recor...

Post Posted: August 31st, 2005, 10:42 am

It's called Associative Array Referencing. Everything in Flash is stored in an array based on it's current scope. This array can be used to find objects in a scope, or define objects in a scope... such as dynamically creating variables. So if I understand you correctly, you are looking for [code]thi...

Post Posted: August 31st, 2005, 10:39 am

Well in Flash MX and under, only HTML 1.0 was supported... which was all basic text formatting and links. But from what I hear Flash MX 2004 has begun to support more HTML... such as the <img> tag and <span> tag. It also supports StyleSheets. I think the problem is your XML file. You don...

Post Posted: August 31st, 2005, 10:34 am

lol, I'm guessing there will never be a Flash Competition #2.

Post Posted: August 18th, 2005, 5:46 pm

I will be away for the next two weeks, so sorry if you cant recive my entries :( Burnt_Raven stated they will be away for the next 2 weeks on the 11th. So I think it is safe to say they will not be posting their entry up by Monday. The rules be what they be, Burnt_Raven could have sent you the file...

Post Posted: August 10th, 2005, 10:02 pm

I was telling bigweb that I learned about CSS2 Selectors through the Tantek Çelik Hack for fixing the IE box model I didn't include the voice-family property tidbits (for IE 5 and 5.5) because I believe that this method doesn't require that since ...

Post Posted: August 10th, 2005, 9:29 pm

No gap for me, I swear it...

Post Posted: August 10th, 2005, 9:22 pm

It's called a CSS2 Selector, it's basically another way to target a specific object in CSS, but only Standards Compliant browsers such as Mozilla and FireFox know how to interpret it. Since IE does not know how to interpret this we simply define the proeprties for IE normally in the CSS, and then us...

Post Posted: August 10th, 2005, 9:11 pm

This worked for me [code]<style type="text/css"> #bluegradient { height:40px;\ /*set float in IE to fix gap issue*/ float: left; } /*reset properties for Standards Compliant Browsers Only*/ html>body #bluegradient { /*remove float in firefox*/ float: non...

Post Posted: July 27th, 2005, 10:01 am

That was easier than I though...

Masks are fun! :-D

Post Posted: July 27th, 2005, 9:22 am

Glad you like it :)

I have an idea to span more onto the mask idea with circles, obviously not for this competition, just whenever I get time.

Post Posted: July 27th, 2005, 9:14 am

You have to upload it to your own server and link to it (ozzu doesn't support attachments). I would recommend publishing an HTML file along with your .swf and then uploading both and linking to the .html file. This way there is no distortion to your movie (if you link directly to a .swf it will scal...

Post Posted: July 26th, 2005, 3:52 pm

Here is my entry, I think it qualifies... Its 500x500, 182Kb, has Ozzu in it, a pair of eyes, and my own 'artistic' interpretation of stripes, but if you feel otherwise I will pull the entry. I know I can do better than this, but I've been too busy to spend ...

Post Posted: July 25th, 2005, 7:02 pm

@brutfood: Are Central developers nervous about the Adobe/Macromedia merge? I mean, I know everyone is, but Central is still just a developers release... do you think Adobe will scrap the project?

Post Posted: July 24th, 2005, 10:18 pm

@brutfood: Thanks for the info. As I said in my last statement, the last time I used Central was when it was first released in beta, I'm sure it's come so far since then and that new and outstanding applications have been made for it (such as those found on your site... good stuff!) At the time I te...

Post Posted: July 23rd, 2005, 7:43 pm

And I can't edit my post so to add to it... does it have to be an animation? or can it be an actionscripted deal too?

Post Posted: July 23rd, 2005, 7:42 pm

I guess I'll try and whip something up, sounds fun (though I'm pressed for time lately)

Anywho... does it have to be a PAIR of eyes or can it be a single eye? And can it be drawn or does it have to be a photo?

Post Posted: July 19th, 2005, 9:09 am

I beta tested Central back before it's final release (no I'm no one special, it was a public beta), it was a pretty nifty program with a lot of potential. I suppose essentially it's just a more compact version of widgets like in Macs Dashboard in their OS. Most people probably won't have a need for ...

Post Posted: July 16th, 2005, 4:13 pm

Still learning MX 2004 and I just noticed there is a 'Save and Compact' feature that removes the excess items that were deleted from the library from the published movie.

Now that is awesome. I'm glad Macromedia addressed this issue. I just took a 42k file down to 2k.

Post Posted: July 15th, 2005, 8:35 pm

Your problem is because soundVolume is never greater than 100 (as per what your if statement is checking) and you are still decrementing it. [code]var soundVolume = 15; this.onEnterFrame = function(){ if (soundVolume<100){ soundVolume++ music.setVolume(soundV...

Post Posted: July 15th, 2005, 5:59 pm

you don't need to call all actions on a button command, if you put whatever.setVolume(10); on the frame itself (right click on the frame and open the actions panel) the action will get called when that frame is it. And for a fade out on frame 600 I would recommend doing something like storing the vo...

Post Posted: July 15th, 2005, 4:09 pm

Those functions are new to me too :-\ I just upgraded to Flash MX 2004... I am a total ActionScript 2.0 newbie and have no idea how MovieClipLoader works. *feels lame* Maybe it doesn't work because you are using 1 moviecliploader object to check the load of multiple items at the same time. I believe...

Post Posted: July 15th, 2005, 1:49 pm

By using Sound() objects you have more control over your sound.

There are a few threads in this section already dealing with Sound() objects. And I always personally recommend reading up at It's the best Sound() objects tutorial you will find on the web.

Post Posted: July 15th, 2005, 9:39 am

Flash can't generate the Image, but PHP has some Image function to dynamically generate images. You can get the data out of flash and to a PHP script by using the LoadVars.send() function. Look up LoadVars() in the actionscript reference (comes built in to flash) to learn more about the LoadVars() O...

Post Posted: July 15th, 2005, 9:31 am

Or more specifically

Post Posted: July 15th, 2005, 9:28 am

This is a common bug in Flash. The recommended method is to use 'Save AS...', but save it as a different file name. If you save it as the same file name and over-write the original, it does nothing. If you save it as a new file name, then delete the old file and rename the new file then all will be ...

Post Posted: July 15th, 2005, 9:26 am

I don't know if you mean something like this, but my buddy Voetsjoeba created an solar system style orbit creator, you can see that here... If you meant more 3d, you are going to be dealing with some advanced actionscript. Here is a basic tutorial on 3D-Rotatio...

Post Posted: July 15th, 2005, 9:22 am

Well how exactly does this demo work?

Does the user click a button to play the next section? If so, every section should have a preloader on it seperately... and that button to play the next section should call the loadMovie() command to load in the file.

Post Posted: July 14th, 2005, 10:33 pm

Looks like you are trying to load a class.

In Flash MX 2004 classes are defined in external .as files that exist in the same directory as the flash file.

What tutorial did you follow? Did you need to download a file for this (that would be the name of the file given the classname)

Post Posted: July 14th, 2005, 10:19 pm

You should put the code on the frame after the empty frame created. Since your preloader will jump over the empty frame (given you adjusted it's actions correctly) and start right on your animation. I don't know how your frames are setup so I can't give you specific frame numbers. I usually have Fra...

Post Posted: July 14th, 2005, 10:08 pm

getURL(url, "_blank") has always worked for me. They must have one massive pop-up blocker. Especially since this doesn't classify as a pop-up. If you don't need the "GET" (which I'm assuming you don't, you're linking to an htm file) then I say remove it then try. If that doesn't work. I don't know w...

Post Posted: July 14th, 2005, 9:30 pm

No problem... but if you want to make things more complicated. In order to attach sounds, if you noticed in your linkage settings the checkbox 'export to first frame' gets checked automatically. This is required so that the file is loaded entirely before getting played. This is all well and good, bu...

Post Posted: July 14th, 2005, 8:53 pm

In response to your last post. The root level isn't a layer... timelines in Flash are like a hierarchy menu... such as that in an operating system for files. The _root timeline is the timeline you start off with in Flash. Now say you create a movieclip symbol, you can double click that symbol and th...

Post Posted: July 14th, 2005, 7:30 pm

There is no coding, no timeline, no symbols or movie clips to work with. Sounds very restrictive. What are you supposed to work with? It sounds like what SWiSH was before it started to get where it is now, just a click and go redudant lack of creativity program with all prebuilt effects and no orig...

Post Posted: July 14th, 2005, 7:16 pm

Do you require any control over this sound, such as a mute button or anything? If not... click on the first frame of your movie (or create a frame where you want the sound to start), and just drag the sound from the library onto the stage. It will place it on your timeline. I recommended the Sound()...

Post Posted: July 13th, 2005, 1:29 pm

When using scenes a preloader loads the entire movie.. all scenes included.. because once published your movie becomes one loooong timeline. Scenes aren't ever recommended, even straight from macromedias documentation. They are mainly there for creating long animations to which you can't fit the ent...

Post Posted: July 13th, 2005, 10:32 am

Optimizing their code and making their software secure are 2 totally seperate things :P

Post Posted: July 13th, 2005, 9:29 am

Thanks graphixboy... such a small line of code in such an obvious file... I was expecting a complex answer to

Post Posted: July 13th, 2005, 9:28 am

SWEEEEET! I'm glad you got it working! Does it work if you upload it to a server though? Is this going to be on a server? The reason I ask is because if you test locally, the files load almost instantaneously.... but if you upload them on a server they have to download... so there will be a delay......

Post Posted: July 13th, 2005, 8:23 am

Well it's definitely not only Flash. Derbauer uses a lot of different programs to build his site. That button might have been animated in 3dStudio or AfterEffects, or both... or something else. The animation is done external in whatever program he used to build and animate it... then it is imported ...

Post Posted: July 12th, 2005, 10:59 pm

Actually if you have the mp3 in your library you can use attachSound()...

Post Posted: July 12th, 2005, 10:58 pm

no, fscommand is how to open .exe files from flash. Well... actually it depends on how you are doing it. fscommand exec capabilities are for Flash projector files... which are .exe versions of Flash, you can publish them in File/Publish Settings. If you publish your projector file, and you want to o...

Post Posted: July 12th, 2005, 8:56 pm

Use the Sound() Object

Post Posted: July 12th, 2005, 2:31 pm

This is how I would write it... given what you have showed me and that fact that I have never worked with PrintJob before. [code]var loaded:Number = 0; my_print.onRelease = function() { var my_pj:PrintJob = new PrintJob(); var myResult:Boolean = my_pj.start&#...

Post Posted: July 12th, 2005, 11:54 am

You aren't running your byte check in an onEnterFrame and I'm assuming my_pj.send() is what actually starts thr PrintJob.. and that isn't in your if statement. And aside from that, you would need to do an individual check on each of the clips loading something. to make sure they are all loaded. Sinc...

Post Posted: July 12th, 2005, 10:47 am

Honestly I have never worked with this, but my guess (from what it looks like) is that your external movie isn't fully loaded before you start printing.

Post Posted: July 12th, 2005, 10:44 am

System.getClipboard() doesn't exist in Flash. I could see it indeed being a security issue to be able to access someones clipboard data without their permission. System.setClipboard() has not been disabled though. This should work fine. The workaround for getClipboard is to have them manually right ...

Post Posted: July 12th, 2005, 8:09 am

Well, something like that is most likely done by manipulating the _rotation property of the movieclip combined with a standard easing equation such as ... eclick.htm

Post Posted: July 12th, 2005, 8:05 am

You should control the voiceover using a Sound() object. You can read all you need to know about them here...

Post Posted: July 12th, 2005, 8:03 am

Can't help much without seeing.

I can take a wild guess and say that you probably didn't upload the .swf file with the .html file... either that or the URL to the .swf file in the src attribute of the embed tags is incorrect.

Post Posted: July 12th, 2005, 8:00 am

When usingthe exec fscommand, the file you are attempting to launch must be in a folder called 'fscommand' in the same directory as the projfector file you are calling it from.

Post Posted: July 11th, 2005, 5:03 pm

*scratches head*

Still get an error when trying to open. And yes... I removed the '.bin' extension.

Post Posted: July 11th, 2005, 3:19 pm

Might be why, it won't open for me either.

Post Posted: July 11th, 2005, 3:14 pm

lol... i guess it depends on if it's good or bad. i suck at flash, but i'm good with

Post Posted: July 11th, 2005, 3:07 pm

Uploading to the server would be best. My email has an annoying habit of blocking attached files of any type. (which reminds me i'm supposed to figure out what is up with that... *adds to list*).

Post Posted: July 11th, 2005, 3:00 pm

If you can attach the Index.fla file that would be great. I won't be able to do much with the Index.swf file though.

Post Posted: July 11th, 2005, 2:39 pm

That's interesting. The movie is loading fine, but the content won't display. What exactly is Index.swf supposed to display? Is it supposed to load in another file? If so, is the targeting to that movie correct? Is it supposed to play an animation? Reason I ask this one is because when I right click...

Post Posted: July 11th, 2005, 2:28 pm

Never heard this problem before. It's usually a targetting issue to the movie, but you said it doesn't work when going to the file directly yourself... so that's not the case. Maybe it's your browser. Care to share a link? If it works for me or anyone else, then it's something computer related on yo...

Post Posted: July 11th, 2005, 1:59 pm

Do you have a preloader on your external .swf files as well? The latency is most likely coming from the fact that the movie won't play until it is fully loaded. If you do have a preloader on the files, are you using any components or have any of the linkage settings for your clips set as 'export to ...

Post Posted: July 11th, 2005, 1:54 pm

Actually doing such an animation with actionscript would be more cpu intensive than tweening it, and you don't have as much control. Difficult shapes are harder to pull off with the drawing API in Flash. Not impossible, but not worth the effort in most cases when doing it manually will be the better...

Post Posted: July 11th, 2005, 1:43 pm

Good point graphixboy! And I would like to add that if you are masking dynamic text, and you want to html enable your textfield to support bold and italics, you are going to have to create 2 extra textboxes off the side of the stage... 1 with the same font in italics, and another with the same font ...

Post Posted: July 11th, 2005, 10:52 am

Maybe this will help...

Post Posted: July 11th, 2005, 9:48 am

You can use the Date() object to get the month number and just add to it.

Code: [ Select ]
myDate = new Date();
month = myDate.getMonth();
modifiedMonth = month+x;
  1. myDate = new Date();
  2. month = myDate.getMonth();
  3. modifiedMonth = month+x;

Post Posted: July 11th, 2005, 8:52 am

I've seen it before, but still very cool.

While not very difficult to make, the creativity (as well as time and energy to create the videos) far surpasses the difficult level and makes this a truly great experiment.

Post Posted: July 11th, 2005, 8:48 am

It must be a targeting issue. And is on(click) seriously a Flash MX 2004 command? I had no idea they redid their handler scheme as well. Heh, maybe I should upgrade :-/ Anywho... in your on(click) statement run a
Code: [ Select ]
If it returns undefined, the targeting to yo...

Post Posted: July 11th, 2005, 8:43 am

Yeah, and that was back in March. Think about how it is now ;)

Post Posted: July 10th, 2005, 9:12 pm

Yeah, you can't hide buttons behind movies.

What you can do is disable your button once it is clicked. YOu can do this with
Code: [ Select ]
buttonInstanaceName.enabled = false;

If by chance you need it re-enabled again just do the same thing but set enabled to true to re-enable it.

Post Posted: July 10th, 2005, 7:55 pm

you could do frame by frame animation.

Or use masked animation. While you can't use a line as a mask you can go to Modify/Shape/Convert Lines to Fills and then use it as a mask. Then create the tween behind it to fill the shape with colour, thus appearing to trace it.

Post Posted: July 10th, 2005, 12:55 pm

How are you loading the content?

Are you parsing in a for loop?

If so, place the actions after the foor loop.

Post Posted: July 10th, 2005, 8:39 am

You can lose data by converting back and forth from MX and MX2004. What you can do instead is (well every flash site should do this) put a warning that the latest flash plugin is required to view the site. And also if you check out the publish settings in Flash, you can have it pop-up a notification...

Post Posted: July 10th, 2005, 8:33 am

You have to embed the font outline to be able to manipulate dynamic text in Flash.

Open the properties panel for the textbox and click the 'Character...' button, in there choose the characters you wish to embed.

Post Posted: July 10th, 2005, 8:30 am

It's possible you just have to give your frame a name in the HTML and you can target it in actionscript with
Code: [ Select ]
getURL("myFile.html", "nameYouGaveTheFrame");

Post Posted: July 10th, 2005, 8:27 am

Well the animation is tweened. The duplication is does via attachMovie (or even duplicateMovieClip) and setInterval just as you thought. It's the only way to do that in succession via actionscript unless you want to tween it by hand. You can apply the mouse actions upon clip creation using dynamic e...

Post Posted: July 10th, 2005, 8:08 am

*slaps forhead*... could be because it refreshes dynamic content so its just starting over again. Sorry, it was late and I wasn't thinking clearly. Hmm... I know Flash MX 2004 fixed this problem with redraw(true); lemme see if I can find something for MX. [edit] Ok, I did my own research and found t...

Post Posted: July 10th, 2005, 7:55 am

Hard to debug your code when we can't see what actionscript you are using :-/

Post Posted: July 9th, 2005, 8:35 pm

Have you tried running an
Code: [ Select ]
upon completion of dynamic content being displayed?

Post Posted: July 9th, 2005, 7:04 pm

When you bring XML data into Flash it automatically gets parsed into an array.

If you don't know how to work with XML data in Flash, I would recommend reading Senoculars XML tutorials over at

Post Posted: July 9th, 2005, 6:45 pm

Oh... well that's easy enough. [code]var seconds = 3; function countdown() { if (seconds>0) { seconds--; } else { clearInterval(startCountDown); getURL("myFile.html"); } } startCountDown = setInterval(countdown, 1000&...

Post Posted: July 9th, 2005, 3:47 pm

You named your frames with underscores?

Try removing the underscores from the frame names and from the actionscript.

This method does work for frames, and I've never seen it done with underscores for custom names, so that is the only issue I can see wrong here.

Post Posted: July 9th, 2005, 3:44 pm

Here's a spot to start..

Post Posted: July 9th, 2005, 9:54 am

Create an empty movieclip symbol, then add the actions inside that, but make sure to change _root to this [code]for (i=0; i<pics.length;i++) { img = this.createEmptyMovieClip('myImg'+i, i + 6); img._x = i * 2; img._y = i * 2; img._xscale = 16; img._ysc...

Post Posted: July 7th, 2005, 9:54 pm

I believe it's the way you are addressing it after creation. The variable 'img' only houses a string, not a target clip. So when you use img._x its not targeting the propert clip, it should instead be something like _root[img]._x. But there is a shorthand way to do this... and that is housing the cl...

Post Posted: July 7th, 2005, 8:54 pm

I removed the strict datatyping for it to work in MX. I figured if it worked in MX without the datatyping, then it should work in MX2004 with the datatyping, unless or course there was an error with the datatyping, in which case as I stated I wouldn't be able to help :) Sorry, that was my fault, sin...

Post Posted: July 7th, 2005, 2:45 pm

Oh, if you are using MX and not MX2004 then that is your problem. MX doesn't use strict datatyping, that came around in MX2004. So variables typed as var xmlDoc:XML and ok:Boolean and such shouldn't... it should just be xmlDoc, and ok, etc. [code]var xmlDoc = new XML(); System.useCodepag...

Post Posted: July 7th, 2005, 2:39 pm

Please explain.

I've seem some excellently designed HTML sites... and some poorly designed HTML sites. Same goes for Flash site. I don't think the medium matters, it's the skill in that medium.

Post Posted: July 7th, 2005, 2:37 pm

The intentions of decompilers isn't to steal others work. It's to recover your own. And also, if you speak to any freelancer who works in Flash, most will tell you their clients need flash files updated, but were not given the .fla to update them. Thus a decompiler would be required. It has it's use...

Post Posted: July 7th, 2005, 8:51 am

Well that is odd.... I copied your exact actions and saved the file. Then I copied your exact XML and saved the file.

After previewing the Flash movie, the output window gave me

Post Posted: July 6th, 2005, 8:52 pm

attributes is case sensitive... in your XML file is 'image' all lowercase like that?

Other than that... everything looks like it should be working correctly.

Unless it is a datatype issue, in which case I can't help you because I use Flash MX, not 2004.

Post Posted: July 5th, 2005, 11:53 am

There is a program called Wildform Flix that can convert video to vector.

This is the only way I know to do this.

Post Posted: July 5th, 2005, 9:26 am

Well I don't know anything about loading HTML files into Flash, as far as I know it's impossible. But I don't use MX2k4, thus never bothered to learn of it's new features (if I can't test it, it's useless to me anyway).... so that would be cool if they did add that feature... I guess... in some way.

Post Posted: July 4th, 2005, 10:08 pm

When it comes to coding, you have to remember that code never assumes anything, it does what you tell it to. You can't load text into Flash and have Flash be like 'oh, theres a textbox on the stage, I bet this text being loaded goes in there!'
  • Sort by

© 1998-2016. Ozzu® is a registered trademark of Unmelted, LLC.