Search:
Type: Posts; User: neznein9
Search:
Search took 0.15 seconds.
-
You may be able to embed it as a byteArray using the Embed tag with a mime-type of application/octet-stream - then write that byteArray back out as an exe with a FileStream...
-
Select the clip on stage - in the properties panel there is a pulldown that should say MovieClip - change that to Graphic.
-
You have access to smoothing (on/off) and pixelSnapping (whether Flash will blur bitmap pixels that lay on subpixel boundaries). You also can use three different levels of stage quality (although...
-
You are tweening the same object that you're animating - so when you get to the edge it jumps between animating the thing out from under your mouse and back...Try using a clear button for your...
-
You're probably dealing with a FLVPlayback component. Try listening for the video to complete:
import fl.video.VideoEvent;
yourVideo.addEventListener(VideoEvent.COMPLETE, onVideoFinished);
...
-
Try all instances of currentTarget - an event's target is going to be the thing you attached the listener to, while the currentTarget can be any children of that object that you might have clicked....
-
All of your loaders are getting fired in the same function so they will all try to load in parallel. The only limit then is going to be the number of concurrent connections allowed by your browser...
-
Try using event.target instead of currentTarget.
-
Please post a fla - without seeing the specific implementation I can only guess.
That said - my guess is that you're getting tripped up in timeline objects. If you have a button on frame 1 and...
-
You'll have to do it explicitly...
if(index == 2 || index == 3){
// first two clips are the interchangeable ones
if(currentClip.hitTestObject(matchArray[2])){
// place it on match 2...
-
Give this a try
var barTarget:Number = 250;
stage.addEventListener(Event.ENTER_FRAME, function(e:Event):void{
if(stage.mouseX < 0 || stage.mouseX > stage.stageWidth) return;
barTarget =...
-
Try something like this:
var _cursor:MovieClip = new NextPrevImg();
_cursor.prev.visible = _cursor.next.visible = false;
_cursor.mouseEnabled = false;
_cursor.mouseChildren = false;...
-
Please post the code that turns your cursor on and off.
-
One of these settings is what's goofing you up:
Sprite(seekBarHandle).mouseChildren = false;
Sprite(seekBarHandle).mouseEnabled = true;
Sprite(seekBarHandle).useHandCursor = true;...
-
stage.addEventListener(Event.ENTER_FRAME, function(e:Event):void{
// bar.x = stage.mouseX; // no easing
bar.x -= (bar.x - stage.mouseX) / 2.5; // Zeno's paradox easing
});
-
I haven't ever used these classes so this is just a guess - take a look at the language reference, the example is pretty close to your original code.
var vid:Video = new Video();
var...
-
I drafted a quick example of what scares me about using switches with conditionals:
var a:String = 'foo';
var b:String = 'bar';
switch(true){
case (a == 'foo'):
trace("FOO");
break;
-
In your air config file (eg. sfx-app.xml) look for the <fileTypes> tag near the bottom. Uncomment that and you can declare specific file extensions that will register with your app. Yours should look...
-
Yup - that's pretty easy actually. Using five3D you can make each thumbnail as a Sprite3D with the background and text and a Bitmap3D inside for the picture. Then lay out eight of those thumbnails...
-
The filter needs to render a larger image for overflow around the edges and that's pushing you out of the max image dimensions. If your filtered object is a bitmap you may be able to get away with...
-
PHP is adding some weird whitespace - probably a curl thing? If you can't get rid of that on the server side you could switch your loader over to the string dataformat and pull that little bit of...
-
Alright - so to run that document class you need MenuContent and Footer to be loaded - so those two have to be in frame 1 along with any nested objects inside them or classes that they import.
If...
-
Your document class (Website.as) will still need all the code that it's importing to run properly. Make sure Footer and MainContent don't get used in the Website class anywhere.
If that's not an...
-
Using that library gets you about 95% of what I'm seeing on that site - what are you specifically trying to do?
-
Good questions! Here's my two cents.
1 - Sort of. You can get away with logic in your switch statements but in my experience it's a pretty bad idea. The code is checking that what's in the switch...
|
Click Here to Expand Forum to Full Width
|