A Flash Developer Resource Site

Search:

Type: Posts; User: Josiah

Page 1 of 20 1 2 3 4

Search: Search took 0.10 seconds.

  1. I think you're on the right track...you can...

    I think you're on the right track...you can create a boolean value to check for, and if it's true, run a function. So if you have 4 different sections on one timeline (section 1, section 2, section...
  2. Replies
    2
    Views
    494

    Hey there, You need to use the setStyle()...

    Hey there,

    You need to use the setStyle() method to customize the look of your components. You can find more information on it in the help section. It sounds like you are very new to flash...
  3. Replies
    1
    Views
    509

    The answer to your question depends on how...

    The answer to your question depends on how comfortable you feel handling this project. My first suggestion is that if you're not sure how to do it or if it is even possible, then you should...
  4. Replies
    8
    Views
    504

    The reference to this is made because flash is...

    The reference to this is made because flash is quircky and goes out of scope, not letting us access functions that we should have access to. So we bring flash back into scope by using var ref =...
  5. Replies
    8
    Views
    504

    Sweet...I wasn't sure since I was just coding...

    Sweet...I wasn't sure since I was just coding blindly...glad it worked out for you.
    Let me know if you have any questions...that's what we are all here for.

    Yes, love me some Yocco's...and can...
  6. This should get you started... I killed your...

    This should get you started...
    I killed your onClipEvent stuff and wrote some new code.
    Note that this is just an example to fix your original problem.
    I would recommend setting some things up...
  7. Replies
    2
    Views
    506

    i made a few changes...seems to be running faster...

    i made a few changes...seems to be running faster now...

    I would also recommend adding a kill function that deletes your onEnterFrames when they aren't being used... i.e. when the mouse is nowhere...
  8. Replies
    8
    Views
    504

    give this a shot...not sure what it will do... ...

    give this a shot...not sure what it will do...



    this._alpha = 0;
    thisVisible = false;
    slide1._alpha = 0;
    slideNumber = 0;
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
  9. Replies
    5
    Views
    541

    you can use this as a guide...this will trace an...

    you can use this as a guide...this will trace an output everytime you press D on your keyboard.



    var keyListener:Object = new Object();
    keyListener.onKeyDown = function() {
    if(Key.getCode()...
  10. Replies
    8
    Views
    504

    Well without seeing any code it's tough to see...

    Well without seeing any code it's tough to see what you're doing...but if you are creating your tween in an object...like var myTween:Tween = new Tween(params); then you can use myTween.stop() to...
  11. and depending on where you are adding your code,...

    and depending on where you are adding your code, the timeline or on the actual movieclip, you may need something like:




    onClipEvent (enterFrame) {
    if (this.hitTest(_parent.hit_mc)) {
    ...
  12. Okay I would suggest not using clipEvents...but...

    Okay I would suggest not using clipEvents...but without rewriting all of your code you can try this:



    onClipEvent (enterFrame) {
    if (this.hitTest(hit_mc)) {
    this.nextFrame();
    ...
  13. Maybe the scrollBar code is getting called before...

    Maybe the scrollBar code is getting called before the image is loaded in. You should be able to fix this by setting the UIScrollbar to the text field with AS using something like this in your load...
  14. Replies
    3
    Views
    591

    Hello, You'll need to make sure your dynamic...

    Hello,

    You'll need to make sure your dynamic text box is checked to RENDER as HTML and then you can pass a php string to it. The php string can set your html formatting for you...something like:...
  15. I would use your first solution... Using your...

    I would use your first solution...
    Using your movieclip as a button you can define a hit area with code.
    Create the hitArea you want, place it in your movie clip, set it's alpha to 0 and give it an...
  16. You are assigning an instance name via...

    You are assigning an instance name via actionscript...which is essentially the same thing as a linkage identifier...a means for you to access that clip
  17. Sure it does. The first parameter passed to...

    Sure it does. The first parameter passed to createEmptyMovieClip is the instance name (linkage identifier) of that clip.

    as in:



    for(i=0; i<10; i++){
    ...
  18. I would store all of my xml in an array, then...

    I would store all of my xml in an array, then loop through the array, each time creating an empty movie clip.

    Something like:



    for(i = 0; i<array.length; i++){
    var...
  19. Replies
    1
    Views
    417

    there aren't iFrames in flash. You'd have to...

    there aren't iFrames in flash. You'd have to make your .fla the size you want your iFrame to be (in this case your navigation) and then load that .swf into your iframe using dreamweaver or some...
  20. hmmm...lets see...I would say make a new layer...

    hmmm...lets see...I would say make a new layer above the layer where your empty container is, and call it "fade". Then in the fade layer create a movie clip that has a graphic in it that is the same...
  21. or just had another thought...instead of using...

    or just had another thought...instead of using the negative values, use the positive values...so instead of -90 you would use 270...that might do it
  22. I think this is because flash's Y axis is...

    I think this is because flash's Y axis is inverted, meaning opposite than what we were taught in Math class. In math, when you go up, the Y axis increases, in flash when you go up, the Y value...
  23. Replies
    28
    Views
    1,571

    did you try something like: ...

    did you try something like:

    myMusic.loadSound("../soundfiles/song"+file+".mp3");
  24. Thread: Embeding a swf

    by Josiah
    Replies
    7
    Views
    541

    you can try using this.nextFrame() in the loaded...

    you can try using this.nextFrame() in the loaded .swf...or make the call from the movie that is loading the .swf using target.nextFrame();
    Either of these will advance the loaded movie's playhead to...
  25. If your goal is to work at bigspaceship then...

    If your goal is to work at bigspaceship then you're definately looking at class based coding. A good understanding of the theory from EAS 2.0/3.0 will go a long way.

    You might also want to look...
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