A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Interesting Problem

  1. #1
    Ride 'em FISHY! neederofhelp's Avatar
    Join Date
    Oct 2003
    Location
    I Forgot!
    Posts
    217

    Interesting Problem

    I have successfully gotten my music player working from 3DFA, (an old version is at www.theinfinity.co.nr/music.html if you're interested). What I am planning on using it for currently is to pop-up on a visitor's first time view of the day and play the song. That's all fine and is working beautifully.

    However, I have one little issue-the flash file doesn't play automatically. Like, the music start's playing, but the flash file isn't playing. So, all my scripts don't run, the animation doesn't run, etc. If I hit the play button, the player resets and it works fine. I just don't understand why it does that since if I play it out of the pop up window, it plays just fine. I tried putting it into a child movie, but not even the child movies start.

    Any ideas welcomed. Thanks!
    -Dan
    Dan

    Oops. I broke it.... again.

  2. #2
    Senior Member
    Join Date
    May 2005
    Posts
    163
    I'd be glad to help but for me this is hard to picture. I would suggest either posting your code or a small example so I can get a better understanding of the problem.

  3. #3
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    works and plays on load here just fine.

    I bet the problem is when you tried to use it as a loaded movier right?

    If it is I bet you used root to refer to something in the movie perhaps. If you did that would be the problem as when loaded in the "root" movie is the one that loaded it. So replace root with "parent".

  4. #4
    Ride 'em FISHY! neederofhelp's Avatar
    Join Date
    Oct 2003
    Location
    I Forgot!
    Posts
    217
    Quote Originally Posted by blanius
    works and plays on load here just fine.

    I bet the problem is when you tried to use it as a loaded movier right?

    If it is I bet you used root to refer to something in the movie perhaps. If you did that would be the problem as when loaded in the "root" movie is the one that loaded it. So replace root with "parent".
    Yeah, it plays just fine when looked at alone. But, if I have it pop up, sometimes it doesn't okay. And no, I'm not using it as a loaded movie. I just tossed them into the parent movie (except for the animation). The files are so small there was no need to chop them up. Take a look at my blog below:

    www.theinfinity.co.nr/?option=com_blog

    Chances are your pop up blocker is going to block it. So, if you either say don't block pop ups or click the link that says over ride pop up blockers, then you will see the music player. Sometimes the flash player starts playing, other times it doesn't.

    -Dan
    Dan

    Oops. I broke it.... again.

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