A Flash Developer Resource Site

Search:

Type: Posts; User: robmarston

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. I developed a separate bare-bones player to debug...

    I developed a separate bare-bones player to debug and it played just fine, strange.
  2. [RESOLVED] NetStream not playing remote video file

    When I try to play a remote video file using the following code, everything works as expected:



    ns.play("http://mydomain.com/movie.mp4");


    However, when I try to play a video ad from a...
  3. Can't get camera permissions dialog to show up

    I'm developing a Flash app that allows the user to select photos from their computer, Facebook, or use their webcam. When they click to use their webcam the camera permissions dialog pops up as...
  4. Thanks for the response :) Unfortunately I've...

    Thanks for the response :)

    Unfortunately I've tried that method without luck. I suspect the swc file contains class files not compiled as a component (if that makes sense). I was told to add the...
  5. How do I import libraries from a swc file?

    I'm trying use a third-party sdk (swc file) and I can't seem to get it to work with Flash CS4. I've tried adding it to the components folder without luck. I also tried adding it to the class path in...
  6. I was told in another forum that it may be the...

    I was told in another forum that it may be the hardware, i.e. my keyboard only consistently registers a certain amount of key-presses. I was able to [with my code] get up to 3 but never 4. Oh well,...
  7. [RESOLVED] Multiple key press (4+) possible?

    I'm able to detect (at the most) two simultaneous key presses via a switch statement and series of booleans. For my game's sake, I need to be able to detect up to 4 keys.

    Is this possible?
    ...
  8. Ah I see, I have to import on the timeline as...

    Ah I see, I have to import on the timeline as well.

    Strange the document class (regardless of location) isn't available to objects on the timeline by default.

    Thanks all!
  9. This code isn't in a class, it's on the timeline...

    This code isn't in a class, it's on the timeline inside a MovieClip.

    When I execute this script:


    trace(root);

    It traces "[object documentClass]"

    However, when I try this:
  10. [RESOLVED] Weird casting bug, any ideas?

    I'm trying to reference the document class from inside a MovieClip that's dynamically added to the stage. I'm using this script:


    documentClass(root).someVar;

    Where "documentClass" is the name...
  11. [RESOLVED] Nested MC not triggering MouseEvent

    How can I trigger a MouseEvent from a nested MC?

    Basically I have a Sprite that contains a Shape. I'd like that Shape to trigger the listener I've attached to it however, Flash just thinks the...
  12. Replies
    3
    Views
    977

    That's what I had originally had in mind, I guess...

    That's what I had originally had in mind, I guess I'll give it a shot.

    I might end up just using set coordinates but make size and rotation random so it gives the appearance of scattered images. ...
  13. Replies
    3
    Views
    977

    Random position without overlapping?

    I'm trying to randomly position images on the stage without having the images overlap -- is there any easy way to do this?
  14. Replies
    0
    Views
    445

    Fast forward NetStream?

    I'm able to rewind using the following syntax:

    function rrHandler(e:MouseEvent):void{
    myInt = setInterval(rrStream,33);
    }

    function rrStream():void{
    var currTime = steam.time; ...
  15. Replies
    1
    Views
    386

    Changing visible to false doesn't actually remove...

    Changing visible to false doesn't actually remove the MovieClip, you'll want to use:

    removeChild(wallscreamClass);

    Also, it looks like the script you've written is correct, whats the error you...
  16. Replies
    1
    Views
    362

    navigateToURL(new...

    navigateToURL(new URLRequest('http://www.yourlink.com'));
  17. You could you JavaScript to scrape the name/value...

    You could you JavaScript to scrape the name/value pair from the header and send it to the Flash movie? Not sure if there's any other way.
  18. FYI: I was using... stage.align =...

    FYI: I was using...

    stage.align = StageAlign.TOP_LEFT;
    stage.scaleMode = StageScaleMode.NO_SCALE;

    I think it may've been the order in which I was doing things, either way it wasn't firing...
  19. [RESOLVED] Get height/width from embed?

    How can I use the width and height that's set by the object's embed code within my Flash movie?

    I've got items that position based on stage height/width. Problem is although the object appears...
  20. I ended up using... ...

    I ended up using...

    myStr.split("\\n").join("\n");

    :)

    Thanks!
  21. [RESOLVED] Carriage returns in XML attributes?

    My XML looks like this...

    <feature title="This is my /n features title"/>

    I don't have access to change the schema.

    In Flash I load the text content of the title attribute into a text...
  22. Replies
    2
    Views
    535

    Thanks! :)

    Thanks! :)
  23. Replies
    2
    Views
    535

    [RESOLVED] Variable instance name?

    How do I create an instance name that includes a variable?

    In AS2 I could use:

    i = 0;
    _this['btn'+i].name = 'btn'+i;

    How would i do that in AS3?
  24. Replies
    4
    Views
    473

    hmm.. maybe it was AS2 where it wasn't working......

    hmm.. maybe it was AS2 where it wasn't working...

    Either way, I'm under the impression I need to cache because my mask has gradient edges...

    When I remove the cacheAsBitmap declaration, things...
  25. Replies
    4
    Views
    473

    I'm loading approx. 27 images at 100px wide with...

    I'm loading approx. 27 images at 100px wide with a 30px margin between them. I can try to scale them down further and see if that solves it although I doubt it will.

    The swf does crash any...
Results 1 to 25 of 130
Page 1 of 6 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center