dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: the_protectot

Page 1 of 17 1 2 3 4

Search: Search took 0.48 seconds.

  1. **SMACKS HEAD** I forgot to change ...

    **SMACKS HEAD**

    I forgot to change

    "this.getNextHighestDepth()"

    to

    "test.getNextHighestDepth()"
  2. [RESOLVED] Weird MovieClipLoader scope issue

    I have a straight forward script that loads 4 jpg's using the moviecliploader.
    I'm loading each image into its own container. This works fine when the containers are created within the root level.....
  3. Replies
    0
    Views
    347

    Event Queues anyone?

    Hello,

    I have a flash banner to do that involves some simple animation e.g., fades, zooms. I want to make all the action programmatic so I can 1) cut down on load times and 2)reuse it later.
    ...
  4. Replies
    0
    Views
    275

    Slideshow Slowdown

    Hi guys. I made this quick dynamic slideshow that fades through 4 mc's that are exported for AS...all's fine when it's running the browser but after a while of running the fades become verrrry slow....
  5. Replies
    9
    Views
    454

    That looks ok... What are your questions??

    That looks ok...

    What are your questions??
  6. Replies
    2
    Views
    841

    try...

    on (rollOver) {
    Point=new Object();
    Point.x=this._x;
    Point.y=this._y;

    this._parent.localToGlobal(Point);

    trace(Point.x);

    }
  7. Replies
    4
    Views
    406

    Oh I just remembered this function I got from...

    Oh I just remembered this function I got from Sitepoint's Flash Anthology...so you don't have to do any math :)



    function randomBetween (a, b){
    return Math.min (a, b) + random (Math.abs (a -...
  8. Replies
    4
    Views
    406

    try

    function randomise() {
    _root.treasure = random(5)+1;
    }
  9. Replies
    6
    Views
    476

    hmm try total =...

    hmm try


    total = _root.NAMEofEMPTYmc.getBytesTotal();
  10. Replies
    6
    Views
    476

    I think your problem is "_root" which refers to...

    I think your problem is "_root" which refers to the main timeline. This is fine when the swf is stand-alone, but when it becomes an externam resource, "_root "points to the parent swf.
  11. some bug-proofing.... on (press) {...

    some bug-proofing....



    on (press) {
    if(Posters_MC._currentframe!=2){
    Posters_MC.gotoAndPlay(2);
    }
    }
  12. Replies
    4
    Views
    835

    try

    onClipEvent(load){
    speed = 5;
    dir=1;
    }

    onClipEvent(enterFrame){
    if(_x<leftBound){
    dir=1;
    }
    if(this.hitTest(_root.wall_right)){
  13. Replies
    4
    Views
    444

    Maybe...

    _parent.gotoAndPlay("purple");

    or


    _root.gotoAndPlay("purple");
  14. Replies
    9
    Views
    482

    Not sure I follow... What you you mean by " the...

    Not sure I follow...
    What you you mean by " the next movie clip along"?
  15. Replies
    1
    Views
    423

    I don't think you have to escape your quotes ...

    I don't think you have to escape your quotes

    try:


    _root.mySceneVar = "Intorduction";
    _root.myLabelVar = "Start";
  16. It's all about scale and speed... As the...

    It's all about scale and speed...

    As the layers get further away from the viewer, they become smaller, shorter and slower.

    Here's a sample I whipped up.

    THE FLA
  17. Replies
    2
    Views
    338

    Drawing API

    This uses the flash drawing routines to dynamically draw the line each time mouse is moved...
  18. you can also give each kid a "group" variable at...

    you can also give each kid a "group" variable at the beginning...



    kid1.group=1;
    kid2.group=1;
    kid3.group=2;
    kid4.group=3;
    //and so on
  19. Replies
    9
    Views
    482

    Try Recursion

    I've created a prototype recursive playAll and pauseAll function...



    //At beginning of movie...

    MovieClip.prototype.playAll=function(){
    for(name in this){
    if (typeof (this[name]) ==...
  20. Replies
    9
    Views
    454

    when you embed the flash inside the html, you can...

    when you embed the flash inside the html, you can declare a variable when specifiying the flash file.

    This was implemented on a site we developed last year: www.cgtrust.com

    For instance.

    In...
  21. Replies
    3
    Views
    353

    Try

    First frame of main timeline:


    _root.started=false;


    First frame of each section:


    stop();
  22. Replies
    4
    Views
    594

    Hmm interesting test...when I tried swapping...

    Hmm interesting test...when I tried swapping depths with mc2(instead of 99) no dupe was created...can't tell why though...yet.

    Also, you are tracing the object's _level on every frame...this is...
  23. Replies
    2
    Views
    322

    Doesn't look like your're applying the rotation...

    Doesn't look like your're applying the rotation to the largeObject when you drag the rotatingbutton...
  24. I would guess..

    _root.[cliptoactivate]._visible=true;
    _root.[cliptoactivate].play();
  25. Try _level0 instead of _root

    Try _level0 instead of _root
Results 1 to 25 of 401
Page 1 of 17 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center