Hi,
I've worked hard to make a logo and website for my college's cultural festival. The site's not really complete yet, I've created a skeleton kind of thing, but it has bugs. I'm uploading the source itself. Could you please check and tell me what's wrong ?
I'm attaching the published files here so that you can view the glitch if you want to do so before checking the code, and the source file on another site.
PS :
1 The problem is, when you keep clicking on links and close the pages that slide in, in a few secs the flash file crashes for some reason I have no clue about.
2 Also, I'm not used to posting such stuff in forums, so please excuse me if I've been in some way against some forum convention and I'll correct my mistake.
Thank you very much for looking,
Elbee.
Btw, here's the link to the source :
http://www.ziddu.com/download/8519553/kKk_linesinsteadofovals.rar.html
I'm sorry it's a bit large.
Hello,
This may be a little late as you mentioned it was due "in a couple of days". Anyways, after inspecting your Flash file I saw that you used a lot of event listeners and repeated code. This is what was causing your movie to crash.
After tinkering a little with your code and objects, I came up with what I think you were after. This is what I did:
* I removed the close button from all the page movieclips as it was better to attach it during runtime using Actionscript.
* Got rid of all the addEventListeners/removeEventListeners and used just one set within a function(buttonListeners).
So now, the button links show the rollover/rollout animations. The pages slide in correctly, and the close button removes the page when it's clicked.
This is the actionscript code. It sits on frame one of the timeline but it should really be in it's own class.
/* Import statements for Tween Class
/* All main functions
/* Setup movie
You can download the FLA here
Hope that helps?
Hello,
Yes, I've already submitted the site. I had to remove most of the action script, create the animations on different frames on the timeline and set the event listeners to goto and play from the corresponding frames for the links to work.
Nevertheless, your post was not at all useless, I got to learn helpful things.
I realize what I was doing wrong, and I can't begin to thank you for taking the effort to download my file, look up everything, correct it and re-upload it !
Thank you very much !
Cheers,
Elbee.
North America
Europe, Middle East and Africa
Asia Pacific