A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: First person to help = GOOGLE WAVE INVITE! ;-)

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    4

    First person to help = GOOGLE WAVE INVITE! ;-)

    First person to solve my problem gets a GOOGLE WAVE INVITE!!

    How's that for an incentive. LOL Seriously though, have some extra GWave invites and I will hook you up.

    SO...this is my first post. ;-) Been starting off with Flash, LOVE IT!! Have one snag that is killing me and the authors of the component I'm using won't get back to me to help.

    The problem in question is located at http://www.planetemerson.com/index-flash.html underneath the "My Links" tab.

    The carousel's functions (links, mouse over actions, motion triggers, rollover tips hotspots) don't match up with the visible carousel itself. The invisible hot zone seems to be way down and to the right of the actual icons themselves. I can't figure out how to align these elements.

    They seem to scale at different rates or something. This is evident when you scale your browser window really small around the carousel, and everything, including the proper links for the icons, ALL work.

    I really hope someone out there can help me with this.

    Thank you so much for the help with this component.

  2. #2
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929
    Not sure without seeing the fla or source, but it looks like there's either a nesting issue or the locations aren't being properly defined.

    Is the carousel in a swf that is loaded into another swf? If so, it might be using the x/y of the parent movie. Might need a lockroot

    Are the hotspots populated via actionscript? Can you post that part of the script??
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    4
    Hello!!! Thank you so much for the reply

    As I am new to flash I am going to aim to make this as concise as possible.

    For what we are talking about, here's how it breaks down. There is the >>MainSWF<<<, the primary full website swf. Then inside there it calls up individual >>PageSWF's<< for the different tab sections. Then the >>CarouselSWF<< is inside the PageSWF for the My Links tab.

    This site was created from a template skeleton. When I exported the >>CarouselSWF<< from its FLA, I replaced the My Links tab >>PageSWF<< with it. I did this cause I couldn't figure out how to properly import the >>CarouselSWF<< into the >>PageSWF<<. So now the >>MainSWF<< calls up the >>CarouselSWF<< directly for that page. I am not sure if this is contributing to the problem.

    To answer your question about actionscript, cuz I am a newbie, I am not sure. I think so. Below I have pasted the section of script from the >>MainSWF<< source file which I think governs the page in question.

    Also, one more thing that's interesting. When I do a test movie of the carousel FLA in Flash, comes out perfect. When I run the >>MainSWF<< wherein it gets called up...it is misaligned.

    Thank you for your help on this.
    Attached Files Attached Files

  4. #4
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929
    Sounds like it's definitely an issue with loading the swf and the hotspots are being placed relative to the main movie...you might try moving the location of the loaded swf to the upper left corner to see if the hotspots line up correctly. Hard to say exactly where the hotspots are being positioned without seeing the whole file, but I'm guessing it's:
    Code:
    top_mc.subMenu_mc._x = top_mc.collection_mc._x + this._x;
    You might want to play around with removing top_mc.collection_mc._x to see if that changes the position...

    If you want to send the fla, I could take a look...flashpipe at gmail dot com
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

  5. #5
    Junior Member
    Join Date
    Nov 2009
    Posts
    1
    I'm having the same sort of issues with a site design for a school project and would be curious as to what you find out.... Also I wish I could solve your problem, I would love to try out google wave haha.... site looks great btw

  6. #6
    Junior Member
    Join Date
    Nov 2009
    Posts
    4
    Problem not solved yet...but....This is what I have discovered.

    The problem must lie within the carousel component's actionscript files. When the carousel is run standalone in its own test movie it works perfectly. When it is called up by another SWF, just in an empty movie clip (no aditional scripting) it misaligns the hotspots, scaling them too far down and to the right of the visible icons.

    Now...here's where it gets interesting.

    If I put the carousel's x & y at 0,0 in its swf...and then the empty movie location at 0,0 in the other swf to call up the carousel....tah dah...works perfectly. Ultimately this is impractical because for the site it cannot be at 0,0 visually. BUT...it does get us closer to a solution in showing that the further away from 0,0 we move the carousel in its own SWF...the hotspots moving further away at a greater rate in the swf that calls it up.

    There must be a scaling factor or something that is the source of the problem in the actionscripting of the carousel. I wouldn't know what to look for but i am hoping someone on here who knows flash better than me would be able to look at the actual .as files and help me solve this.

    Takers?

    email me at chris at planetemerson dot com

    Thank you!!
    Last edited by Adreamer323; 11-19-2009 at 10:02 PM.

  7. #7
    Junior Member
    Join Date
    Nov 2009
    Posts
    4
    I GOT IT!!!! I had to change the hittest lines for the mouse in two spots. That was it!!!!!!!!!!!! I am so happy right now. LOL Thank you for your help...still learned a lot more Flash than I knew before with this whole ordeal. Thanks again. Shoot me your e-mail for that GWave invite if you want it. Bye.

    chris at planetemerson dot com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center