Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. carmenMiranda

    How to apply smoothing to dynamically placed JPGs

    That's really helpful, thank you very much. I've been a bit slow to think about transitioning to AS3, but this is the kind of thing that makes me think it's long overdue...
  2. carmenMiranda

    How to apply smoothing to dynamically placed JPGs

    Thanks for that, but I'm not sure how I would make that work with my existing code. Here's the line I'm currently using to import my JPG: inner_mc.loadMovie(nodes[i].attributes.image); ((nodes[i].attributes.image) imports the JPG filename from the XML file) I've tried writing this: image1 =...
  3. carmenMiranda

    How to apply smoothing to dynamically placed JPGs

    Hi, I have a SWF which imports JPGs at runtime, using references imported from an XML file. Consequently, the JPGs themselves are not in the library of the FLA. Ordinarily, when a JPG is present in the library, you can select it's properties and check the box 'allow smoothing' to make scaling...
  4. carmenMiranda

    Using a for loop to streamline code?

    Thank you very much for taking the time to do that. I can follow the syntax you're using and I think this is what I was struggling with.
  5. carmenMiranda

    Using a for loop to streamline code?

    OK, here it is. Thanks. http://rapidshare.com/files/251440929/timer_v4.1.fla.html
  6. carmenMiranda

    Using a for loop to streamline code?

    I have some AS2 code that has a lot of duplication to control various buttons and MovieClips and was wondering if it's possible to streamline this code using a 'for' loop, like I would when attaching MovieClips dynamically. Here's the code as it's currently written: //----------- INIT VARS...
  7. carmenMiranda

    Determining which frame of the timeline I'm on

    Really? It's as simple as that? Thanks so much - sometimes I can't see the wood for the trees (as you can probably tell LOL).
  8. carmenMiranda

    Determining which frame of the timeline I'm on

    Is there a way of retrieving which frame number of the timeline a movieclip has reached? What I'm trying to do is create a preloader that has an animation (a moving wave type effect) and then when the preloader has completed, the animation transitions seamlessly to the same animation in the...
  9. carmenMiranda

    Strange problem - I'm getting visible re-draw off-stage

    That was definitely going to be my next line of attack...
  10. carmenMiranda

    Strange problem - I'm getting visible re-draw off-stage

    Ah, I see. Thanks - I'll pass this on to the guys writing the HTML (I'm just developing the Flash element) and see if it helps them. Originally I thought it might be an obscure problem with the Flash file itself. Many thanks for your help.
  11. carmenMiranda

    Strange problem - I'm getting visible re-draw off-stage

    Thanks for the reply, but I don't understand what you mean - please would you elaborate?
  12. carmenMiranda

    Strange problem - I'm getting visible re-draw off-stage

    I'm creating a Flash unit - in CS3, with AS2 to run on FP8 - to 600px x 150px with a white background and a light grey border. The unit will sit in a webpage that is predominantly white. The movie has movie clip elements that appear off-stage and then move onto the stage, play and then move...
  13. carmenMiranda

    Simple resize movieclip problem

    Absolutely bang on, thanks very much indeed.
  14. carmenMiranda

    Simple resize movieclip problem

    Well I think it should be simple, but I just can't get it to work. I have a movie clip that needs to contract in height and then expand back to it's original size repeatedly. The code I have looks like this: high01_mc.onEnterFrame = highScroll; function highScroll(){ if(this._height > 100){...
  15. carmenMiranda

    Is there a more efficient way than this...?

    Thanks so much for your help - this is working for the rollover and rollout. The 'gotoAndStop' for the onRelease button is not working, but I'm going to try and see if I can figure it out based on what I've learnt from you so far. If I can't fix it, I may be cheeky and ask for your help again...
  16. carmenMiranda

    Is there a more efficient way than this...?

    Thanks for all your efforts here, but this still isn't working. My main timeline uses attachMovie() to load a movieclip which is then named 'brandElems'. My tabs sit within this movie, hence the reason for using the shortcut to reference them from the main timeline. It's frustrating that I...
  17. carmenMiranda

    Is there a more efficient way than this...?

    All of the code is defined on the main timeline. The tabs each have a shortcut coded for easy reference: var tab01:MovieClip = brandElems.tab01_mc; var tab02:MovieClip = brandElems.tab02_mc; var tab03:MovieClip = brandElems.tab03_mc; So even though the tabs are contained within a mc called...
  18. carmenMiranda

    Is there a more efficient way than this...?

    OK - thanks. Using that trace, I get the full path to the tab in question - thus: _level0.brandElems.tab01_mc _level0.brandElems.tab02_mc _level0.brandElems.tab03_mc
  19. carmenMiranda

    Is there a more efficient way than this...?

    Well many thanks for the advice, but this code isn't working for me. I put trace actions in place to see what tab was being interacted with and they tell me that code always refers to tab04 - which doesn't exist. I've tried to see why this might be, but the loop looks good and I can't see the...
  20. carmenMiranda

    Is there a more efficient way than this...?

    I have a movie with three navigation tabs. These tabs all have the same behaviours. The code I have written works perfectly well, but it just isn't very elegant. There must be a better way than the way I have done it. Can anyone help me by showing me a more efficient way to code this? :-...

Part and Inventory Search

Back
Top