Search found 1248 matches

Actual Results

Post Posted: April 4th, 2011, 4:22 am

it depends on how you use them. First i'd suggest you get a better knowledge of OOP in general. Then read about the OOP for actionscript. In your case, you should do something like old school c++, creating a destructor function in your classes, which will reset most of the variables, and call it fro...

Post Posted: April 4th, 2011, 4:09 am

oh, this happens when you try to do things without understanding them.
That code would actually work if you knew where to place and if it would be for the correct version of actionscript.
But if you don't know the basics, can't help you.

Post Posted: April 4th, 2011, 4:00 am

In this situations, usually you keep track of the current loaded image index. So let's say you have images = Array("img1.jpg", "img2.jpg", ... "img14.jpg"); // or however you build it. Next add a new array var imagesTargetURL:Array = new Array("http://www.google.co...

Post Posted: April 4th, 2011, 3:53 am

For this you need to know the total time of the movie. [code] var timeTotal = 15; // total time of the movie, in seconds var dragXStart = 0; // left most x position of the ball var dragXEnd = 800; // right most x position of the ball // this will return the time you have to set for your player, afte...

Post Posted: April 4th, 2011, 3:26 am

then in first step check out for: input text addEventListener KeyboardEvent.KEY_DOWN second step: as3 load image I'll provide you some sample code with the input text part, the image part you do the research for it. Assuming you have an input text on the stage, with the instance name inputText : [co...

Post Posted: April 4th, 2011, 2:53 am

move the line footerText.defaultTextFormat = tsFont;
above the line footerText.htmlText = xml.copyrightText.articleText;
Just a matter of priorities.
I know, i know, no need to thank me :)

Post Posted: February 18th, 2011, 3:44 am

yea, i have a sugestion.
When everything else fails, use javascript (of course if you can hanlde it) :)
http://www.ozzu.com/flash-forum/externalinterface-class-t81957.html

Post Posted: January 5th, 2011, 4:04 am

it might depend on how the flv was encoded. If it doesn't have any cue points, then the seek can not be performed. Try with some other flvs which you get from web, and see if it works or not.

Post Posted: December 13th, 2010, 2:31 am

as i said, you need some castings in order to make it work properly.
so that line of yours would turn into:
var useBitmapSmoothing = MovieClip(this.parent).useBitmapSmoothing;

Post Posted: December 10th, 2010, 4:45 am

this seems to me it's the case when loading is not completed due to internet connection. To avoid that, try adding a preloader to your swf or move your code to the second or third frame and add a "stop();" at the end of your code. Also is better to enable the Strict Mode for AS3, since you...

Post Posted: December 10th, 2010, 3:44 am

uhmmm, i`m amazed no one answered to this question and also that you don't read the help for the Tween class. Anyway, this is a simple to implement multi tween which start one after another. No comment offered, hope you understand what i did there. [code] var myTween:Tween; var step:int = 0;...

Post Posted: November 17th, 2010, 4:53 am

mmm, you guys should learn how to use what you know, extend it and use your logic to apply it for your current situation. In your case is basically the same. [code] // if mouse in left side (xMouse < this.x) if (_root.xMove < 0) { if (this._xscale < 0) // if not already flipped ...

Post Posted: November 17th, 2010, 4:34 am

Code: [ Select ]
this.addEventListener(MouseEvent.CLICK, this_Click);
function this_Click(evt:MouseEvent)
{
 Nextimage.stop();
}
  1. this.addEventListener(MouseEvent.CLICK, this_Click);
  2. function this_Click(evt:MouseEvent)
  3. {
  4.  Nextimage.stop();
  5. }

Post Posted: October 18th, 2010, 7:28 am

Well, that could happen, for the video content and maybe some common galleries, but for games and other graphic effects, i doubt it. I wonder now why Microsoft didn't focus more on advertising Silver Light, could've been a potential rival for flash in future editions. But maybe they wait for exactly...

Post Posted: August 18th, 2010, 1:38 am

as 5N4K3 says: fscommand works only in projector and if the file reside in a subdirectory called fscommand. Adobe info: The exec command can contain only the characters A-Z, a-z, 0-9, period ()., and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use...

Post Posted: August 10th, 2010, 2:59 am

oh, yes i would ... if i only could ... but unfortunately the edit button is not available anymore. Can i hack it? can i? can i? :)
Ohh, seems i can no longer do that. But if you give me access to the database, i`ll make sure to change it :idea: :mrgreen:

Post Posted: August 6th, 2010, 2:22 pm

uhhhmm, my first photo uploaded on this contest, so don't be harsh with me :D

Post Posted: July 13th, 2010, 3:23 am

we all been total newbies to Flash at a certain moment and been trough frustrating situations, but eventually we kept on going. So i'd say you keep trying until you figure it out. It may seem hard and discouraging at start, but if you focus your attention a bit more, you'll eventually succeed. As fo...

Post Posted: July 13th, 2010, 3:14 am

to do that, you'll need to insert the logo symbol inside the items of the carousel, test for it so it will not be rotated along with the other items, and then swap the depth of the logo according to the positions of the carousel items. Sound simple doesn't it? Well, it isn't that simple :p Another t...

Post Posted: July 13th, 2010, 3:00 am

oh ye, flash generally is a CPU killer, not only on mac. And that happens especially when you overload your frames with graphic processing. From what i see in that site, you're continuously creating a flickering effect in the middle of the scene. I'd remove that, since i bet is very CPU consumer plu...

Post Posted: July 6th, 2010, 3:17 am

you can start with adobe flex or with adobe flash free trial (CS5 is the latest ver for adobe flash), then grab some tutorials / books from the net. Try senocular.com, has nice tutorials and sources.

Post Posted: July 1st, 2010, 2:14 am

You need some physics in the ball part, so either you use an existing engine or you make your own.
It will be a movement in the 3d space for the ball, considering the speed of the ball (which is calculated upon the impact) and the gravitation. So ... have fun doing the maths, you gonna need it :D

Post Posted: July 1st, 2010, 2:04 am

Test both of your scripts and see if they work independently. Test the php file using $_GET instead of $_POST and pass the parameters in the browser link like: http://server/login.php?var_login=xxx&var_password=yyyy and see if the desired outcome is obtained. My best guess is that the flash file...

Post Posted: July 1st, 2010, 1:48 am

ye, i hate those templates too :D
That action basically says that the hovered menu goes to the frame called "s1".
So look in the flash library and check for the symbols where the menu is, usually there are separated items for each menu, just go edit them.

Post Posted: July 1st, 2010, 1:38 am

getURL is like typing a new address in your browser, but you should use it like: getURL("mypage.swf", "_self"); while the second approach will load the swf inside your current flash. Code looks fine, only thing to wonder is that if it is actually triggered. Debug your code by add...

Post Posted: February 12th, 2010, 4:45 am

seems that this keyword doesn't work for buttons, so better transform the buttons in movieclips

Post Posted: November 21st, 2009, 12:40 pm

depends on how you did it :) But in actionscript 3.0 you need something like this: [code] import flash.events.Event; import flash.events.IOErrorEvent; import flash.net.URLLoader; import flash.net.URLRequest; import flash.display.Loader; var swfLoader = new Loa...

Post Posted: November 18th, 2009, 6:02 am

uhmm, you need to learn some actionscript for that.

Post Posted: November 18th, 2009, 5:59 am

yea, there's a thing you could do.
Get inside a smaller template, start to change little things then test.
Change, test, change test ... and so on :)
Trust me, this is the method with the best learning curve.
  • Sort by
 
cron
 

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