Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 700 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Flash and Actionscript :

Gallery won't clear

Thread title: Gallery won't clear
Closed Thread    
    Thread tools Search this thread Display Modes  
03-13-2009, 07:27 PM
#1
JahGurl is offline JahGurl
JahGurl's Avatar
Status: I'm new around here
Join date: Mar 2009
Location: Canada
Expertise: front-end design & development
Software: Photoshop,Dreamweaver,msn
 
Posts: 4
iTrader: 0 / 0%
 

JahGurl is on a distinguished road

  Old  Gallery won't clear

Hi everyone,

I'm a student in web design, and I'm having a few issues with my portfolio gallery.

When I click on a button to enter a different frame the gallery of photos from frame "five" will still appear in the other frames.

I'm not sure how to fix this problem, and tried numerous searches and came up with nothing, except a clearInterval(); method which didint work either.

Here is the code I have in frame that functions the gallery:

this.createEmptyMovieClip("images", 100);
this.attachMovie("mask", "mask", 101);
mask._x = images._x = 150;
mask._y = target = 220;
images.setMask(mask);
images._y = -10;
speed = 5;
for (var i = 0; i<8; i++) {
var img = images.attachMovie("image"+i, "image"+i, i);
img._y = img._height*i;
var thumb = this["thumb"+i];
thumb._alpha = 60;
thumb.pos = target+(i*-img._height);
thumb.onPress = function() {
target = this.pos;
};
thumb.onRollOver = function() {
this._alpha = 100;
};
thumb.onRollOut = function() {
this._alpha = 60;
};
}
this.onEnterFrame = function() {
images._y += (target-images._y)/speed;
};



And HERE is the actually page where the problem occurs...
- if you click on samples, than design, that is where the gallery starts....

If someone can give me a hand in getting the photos cleared, that'd be awesome...than I can finally soon get my portfolio up!

03-14-2009, 12:15 AM
#2
JahGurl is offline JahGurl
JahGurl's Avatar
Status: I'm new around here
Join date: Mar 2009
Location: Canada
Expertise: front-end design & development
Software: Photoshop,Dreamweaver,msn
 
Posts: 4
iTrader: 0 / 0%
 

JahGurl is on a distinguished road

  Old

figured it out!
clearInterval(); actually did work!

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed