Flash Q

  • Started
  • Last post
  • 6 Responses
  • PonyBoy

    I'm working w/an ASP guy - he's handling this entire 'reservations' page for one of my clients -

    The problem:

    The client wanted a flash header w/some animations of the products that can be reserved and some 'energetic' music running (an actual mp3 player w/their choice of tunes that are loaded externally)...

    ... my solution was to put the header in a top frame (150px tall max)... and let the rest of the content scroll in a bottom frame under the header...

    ... well - the asp guy doesn't seem to give a shit about the music - so he didn't bother to add the folder w/music in the first place...

    ... so I go back and add that folder in - turns out the client doesn't want to have to scroll the bottom frame (why the fuck not I don't know... the scrollbar appears 150px lower than usual... nothing else)...

    ... but something tells me that it's the asp guy... and he's not wanting to deal w/a hardcoded index page as the whole page (including the flash) get's generated via the backend programming when you goto the URL...

    ... anyway -

    is there a way to fix a flash header to a page and keep it from reloading the MUSIC (external data to the flash)?

    I know there's a way to send variables etc so the 'header' doesn't reanimate etc and stays 'active' based on the page... but I'm looking to stop the additional external data from reloading each time (again, mp3's - that Flash is loading).

    *sigh... thanks

  • joyride0

    ajax, but i'm sure that will just piss your asp guy off.

  • PonyBoy0

    Enter response:

    why'd that piss him off too?

    ... because he still wants to generate everything?...

  • joyride0

    I'm sure he has it when you click a button the page changes/refreshes and reloads the page right. With ajax you press a button, uses javascript to send the info/request and update the page with no page reload. he would need to recode the pages to basically act as 1 page.

  • PonyBoy0

    Enter response:

    "he would need to recode the pages to basically act as 1 page."

    YES! YES! that's what I want... and you say Ajax?

    Ajax is cool - I'll hop on it... but I want to ask you a question - is frames really that 'bad'? Wouldn't it just be easier to hardcode a little bit of html and load all his data into frame 2?

  • joyride0

    No frames aren't too bad. if you want the flash header to keep playing the mp3 and not have the page reloading interupting that. hrmmm... or second thought.

    Have a hidden frame at the bottom of the page that has the mp3 player in it. you could have the controls in the top header that make a local connection with the hidden mp3 player. that might be faster then recoding the asp.

  • PonyBoy0

    Enter response:

    woah! hi-five... that's right... you can make frames talk to each other just like you can make one window talk to another...

    thanks!!