Search:

Type: Posts; User: Medyman; Keyword(s):

Search: Search took 0.02 seconds.

  1. You're very welcome. I'm glad I could help.

    You're very welcome. I'm glad I could help.
  2. For reference, below is the AS that I have: //...

    For reference, below is the AS that I have:

    // Import MC Tween
    #include "mc_tween2.as"

    // Initiate XML
    var xml:XML = new XML();
    xml.ignoreWhite = true;

    // Variables
  3. Hey Gordon... Sorry for not posting for a few...

    Hey Gordon...
    Sorry for not posting for a few days. Had some personal things to deal with. Anyway, let's get back with this.

    To refresh: We currently have an XML powered "slideshow" that loads...
  4. I see what you mean now about the path thing. I...

    I see what you mean now about the path thing. I didn't quite understand you before. I was testing with each node filled, so I didn't notice the mistaken logic. The culprit is in these two lines:
    ...
  5. Loose ends, as you say. Recalling and dispersing...

    Loose ends, as you say. Recalling and dispersing the loading message has more to do with the fading. So, I've left that off as yet. We'll cover it when we go over using MC Tween.


    Sure, it's...
  6. Alright, next lets use the MovieClipLoader class...

    Alright, next lets use the MovieClipLoader class to load in the images. We're currently using loadMovie() to do this. loadMovie() is a global Function for doing practically the same general thing...
  7. Nope. That's actually simpler than what I was...

    Nope. That's actually simpler than what I was imagining. We already have the skeleton for the code in our goForward() and goBackward() functions. We just need to add a small check in there.

    ...
  8. By "scrolling" through the images, do you mean...

    By "scrolling" through the images, do you mean that you want them to change (i.e. progress forward) automatically. If so, you want to use setInterval().

    The function you call with that would be...
  9. Sure... The page number is being set here: ...

    Sure...
    The page number is being set here:

    pageNo.text = "PAGE " + (page+1) + " OF " + total;
    You'll need to provide some logic to test to see if "page" is less than 10 and then add the leading...
  10. Alright, great. Next...the next/previous...

    Alright, great.

    Next...the next/previous buttons.

    First, in order to manipulate the page number, we'll have to add it to a variable. I'm going to call it current for current page and set it...
  11. Is the URL error with the XML file or the images?...

    Is the URL error with the XML file or the images? That error simply means that there is an error in the path. I don't know what your file structure is, but the image paths in the XML file should be...
  12. Alright, so let's get some images in. First,...

    Alright, so let's get some images in.

    First, let's make a small change to the XML to make it a bit more flexible and easier to update. It seems like all of your images are in the same directory. ...
  13. Alright, let's get the XML up and running. ALl...

    Alright, let's get the XML up and running. ALl of the ActionScript that I refer to should be added to frame 1 of the "Actions" panel. You'll only have 1 frame in this entire application. ...
  14. Also... If you haven't done so already, you...

    Also...

    If you haven't done so already, you should install MC Tween. We'll be using it for the fading later on.
  15. Alright, that's the jist of what I was talking...

    Alright, that's the jist of what I was talking about. The empty movieclips should also be the size of your images. They will resize once you load in the image, but it's easier to visualize and...
  16. It depends on the design. If it's just going to...

    It depends on the design. If it's just going to be three empty MCs that images load into, I wouldn't say option 2 is any more complicated than 1. It's just a different way of doing it that's a...
  17. Yup. I think the next step should be to...

    Yup.


    I think the next step should be to develop the stage structure. You have two options here:

    1) Set up the stage with three empty movieclips -- one each for the positions. If you're ...
  18. The structure is really up to you. The code will...

    The structure is really up to you. The code will be written to pull the correct data from the XML file. So, design the structure that's intuitive to you. You might do something like this:

    ...
  19. The first is to develop an XML structure that...

    The first is to develop an XML structure that will handle all of the data that you wish to make dynamic. It looks like that date in this case is the source of the image and the position.

    So, you...
  20. Everything that you say is possible. It's not...

    Everything that you say is possible. It's not even that hard. Your workflow will be easier. Your code will be more efficient. And your client will have less to do.

    But, you'll have to start...
Results 1 to 20 of 20