dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: neznein9

Page 1 of 20 1 2 3 4

Search: Search took 0.79 seconds.

  1. Replies
    1
    Views
    770

    You may be able to embed it as a byteArray using...

    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...
  2. Replies
    4
    Views
    978

    Select the clip on stage - in the properties...

    Select the clip on stage - in the properties panel there is a pulldown that should say MovieClip - change that to Graphic.
  3. Replies
    1
    Views
    1,218

    You have access to smoothing (on/off) and...

    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...
  4. Replies
    1
    Views
    553

    You are tweening the same object that you're...

    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...
  5. Replies
    4
    Views
    1,494

    You're probably dealing with a FLVPlayback...

    You're probably dealing with a FLVPlayback component. Try listening for the video to complete:


    import fl.video.VideoEvent;

    yourVideo.addEventListener(VideoEvent.COMPLETE, onVideoFinished);
    ...
  6. Replies
    8
    Views
    1,646

    Try all instances of currentTarget - an event's...

    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....
  7. Replies
    3
    Views
    907

    All of your loaders are getting fired in the same...

    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...
  8. Replies
    8
    Views
    1,646

    Try using event.target instead of currentTarget.

    Try using event.target instead of currentTarget.
  9. Please post a fla - without seeing the specific...

    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...
  10. Replies
    1
    Views
    3,340

    You'll have to do it explicitly... if(index...

    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...
  11. Give this a try var barTarget:Number = 250;...

    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 =...
  12. Replies
    4
    Views
    1,391

    Try something like this: var...

    Try something like this:


    var _cursor:MovieClip = new NextPrevImg();
    _cursor.prev.visible = _cursor.next.visible = false;
    _cursor.mouseEnabled = false;
    _cursor.mouseChildren = false;...
  13. Replies
    4
    Views
    1,391

    Please post the code that turns your cursor on...

    Please post the code that turns your cursor on and off.
  14. One of these settings is what's goofing you up: ...

    One of these settings is what's goofing you up:


    Sprite(seekBarHandle).mouseChildren = false;
    Sprite(seekBarHandle).mouseEnabled = true;
    Sprite(seekBarHandle).useHandCursor = true;...
  15. stage.addEventListener(Event.ENTER_FRAME,...

    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
    });
  16. Replies
    2
    Views
    1,226

    I haven't ever used these classes so this is just...

    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...
  17. Thread: 10 questions

    by neznein9
    Replies
    5
    Views
    1,217

    I drafted a quick example of what scares me about...

    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;
  18. Replies
    5
    Views
    1,294

    In your air config file (eg. sfx-app.xml) look...

    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...
  19. Yup - that's pretty easy actually. Using five3D...

    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...
  20. Replies
    2
    Views
    2,988

    The filter needs to render a larger image for...

    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...
  21. Replies
    1
    Views
    649

    PHP is adding some weird whitespace - probably a...

    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...
  22. Replies
    4
    Views
    1,556

    Alright - so to run that document class you need...

    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...
  23. Replies
    4
    Views
    1,556

    Your document class (Website.as) will still need...

    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...
  24. Using that library gets you about 95% of what I'm...

    Using that library gets you about 95% of what I'm seeing on that site - what are you specifically trying to do?
  25. Thread: 10 questions

    by neznein9
    Replies
    5
    Views
    1,217

    Good questions! Here's my two cents. 1 - Sort...

    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...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center