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 flash.events.MouseEvent; //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 more...lol. 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 http://www.gotoandlearn.com/

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

http://www.kirupa.com
http://www.kennybellew.com/tutorial/
http://www.ultrashock.com
http://www.actionscript.org
http://www.bit-101.com/tutorials/

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...

http://www.macromedia.com/support/flash ... 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...
http://kaourantin.net/swf/alphaMask.html

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 http://www.worldtimeserver.com/current_time_in_IT.aspx to see what time it was in Italy when I wanted to figure out a solution to this. When...
  • Sort by
 
cron
 

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