Knowledge Base |
Accordion Panel V3
(views: 18958)
Accordion Panel V3 is a professional accordion component that loads movies and movieclips and supports both horizontal and vertical orientation, it supports customized tweens, states and visual styles. Here are all known issues for Accordion Panel V3. If you have any questions that you think we should discuss here please let us know.
Stopping video content when changing the panel
(2007-08-01 - views: 6387)
Q: When you open the accordion panel, the swf loads the stream video, but
when you close the panel to see/watch another panel of the accordion,
the stream video keeps playing hidden even the audio keeps going....
Is there a way to stop it?
when you close the panel to see/watch another panel of the accordion,
the stream video keeps playing hidden even the audio keeps going....
Is there a way to stop it?
User Comments
stopping content
posted by tlc01 on 2008-10-22
can this work when a movie clip is the content?
stopping content
posted by negush on 2008-10-23
You need to access the contents of the panel and simply call a stop() function to stop the playhead of your movie.
stopping content
posted by tlc01 on 2008-10-23
I have a stop function on the timeline of my movieclip, but I want the movie clip to REPLAY from frame 1 if the panel is accessed again. Currently, If you return to a panel whose movieclip has already played, the movieclip remains on the last frame of the timeline.
stopping content
posted by negush on 2008-10-24
Just call gotoAndPlay() on your loaded movie clip.
stopping content
posted by tlc01 on 2008-10-27
I want the movieclip to replay ONLY if the Panel is accessed again (I don't want it to continuously loop) therefore the actionscript would somehow have to be attached to the component I would think. Any way you could give me a sample of this?
stopping content
posted by negush on 2008-10-28
In that case, you just need to listen to the onPress or onRelease events to know when a panel has been selected and then simply access the content of the panel and call the gotoAndPlay(1) function on that content. You should probably stop any other previous content that might be playing.
stopping content
Can you please provide a code sample in AS2 that creates a listener for an OnRelease mouse event that is then subscribed to by an instance of Accordian Panel so that it can react to an event involving a specific panel?
Thank you!
posted by tlc01 on 2008-10-28
Since my panel objects are contained within an instance of your Accordian Panel component, I'm not sure of the exact syntax for listening for an event on a specific panel.Can you please provide a code sample in AS2 that creates a listener for an OnRelease mouse event that is then subscribed to by an instance of Accordian Panel so that it can react to an event involving a specific panel?
Thank you!
Getting the selected panel
posted by negush on 2008-10-29
Here is a knowledge base item that might help you out: http://www.jumpeyecomponents.com/knowledgebase/Accordion-Panel-V3/Get-selected-panel-and-content~1333/.
stopping content
posted by tlc01 on 2008-11-06
Thanks, I got the movieclips to replay, but now the component seems to get sluggish after clicking around a few times. You mentioned something about also stopping any content that might be playing - how would I do this? Is there a script that tells all movieclips to stop? Do you think that not stopping the playing clips is causing the sluggishness of the panels?
stopping content
posted by negush on 2008-11-07
If you had a video playing just before you selected another panel, off course you have to stop that video (or movie clip) from playing. You can access the panel contents the same way and stop the clip. In fact, you could go through all the panels (except the one that's been selected) and stop the contents.
panel performance
posted by tlc01 on 2008-11-11
I have stopped all movieclips by accessing the panel contents but the component is still sluggish. I'm using it for a project due thursday and must solve this issue before then. any other ideas to increase the performance of the panels? Any way you can take a look at my FLA?
stopping and playing content on click and on autoplay.
I saw a website that seems to use a simular component (advansed XML accordion)
http://www.ecco.com/pl/pl/index.jsp
Ia the a way to achieve simular effect with your component??
swf files play only when a certain plate opens during autoplay, all animation stops and only selected page starts playing + autoplay resumes after a few seconds…
Thank you for your time.
posted by fara2009 on 2008-12-17
Hello.I saw a website that seems to use a simular component (advansed XML accordion)
http://www.ecco.com/pl/pl/index.jsp
Ia the a way to achieve simular effect with your component??
swf files play only when a certain plate opens during autoplay, all animation stops and only selected page starts playing + autoplay resumes after a few seconds…
Thank you for your time.
stopping and playing content on click and on autoplay.
You could achieve a similar effect with this component but you'll have to write code for that. The main idea is that you need to access the contents of the panel, after the panel opens and start playing the contents. Also, before closing the panel, you have to stop the content from playing.
Here are a few resources that might help you out:
http://www.jumpeyecomponents.com/knowledgebase/Accordion-Panel-V3/Load-different-kind-of-data-into-AccordionPanelV3~228/ and http://www.jumpeyecomponents.com/knowledgebase/Accordion-Panel-V3/Access-header-title-and-panel-content~335/.
posted by negush on 2008-12-18
@fara2009You could achieve a similar effect with this component but you'll have to write code for that. The main idea is that you need to access the contents of the panel, after the panel opens and start playing the contents. Also, before closing the panel, you have to stop the content from playing.
Here are a few resources that might help you out:
http://www.jumpeyecomponents.com/knowledgebase/Accordion-Panel-V3/Load-different-kind-of-data-into-AccordionPanelV3~228/ and http://www.jumpeyecomponents.com/knowledgebase/Accordion-Panel-V3/Access-header-title-and-panel-content~335/.
Video keeps playing when panel is closed
posted by zombiesliketosurf on 2011-03-24
I have a flash FLV component playing a video alongside some text and url links, which I have combined into one swf file which plays fine when I open that panel. When I close it or open another panel the audio still plays. When I then re-open the panel with the video in it, the video restarts playing over the top of the audio that hadn't stopped. Is there any way I can stop the video or audio from playing when I close the panel? I think due to the video being inside the swf which is then played by the accordion panel could be causing the problem.
RE:Video keeps playing when panel is closed
posted by kneo on 2011-03-24
Did you look at the files from this post?
RE:Video keeps playing when panel is closed
The difference between the post file and mine is the post file's just loading a video. Mine is loading a swf file which contains amongst other things, a FLV playback flash component referencing a FLV file.
posted by zombiesliketosurf on 2011-03-24
I sure have.The difference between the post file and mine is the post file's just loading a video. Mine is loading a swf file which contains amongst other things, a FLV playback flash component referencing a FLV file.
RE:Video keeps playing when panel is closed
posted by zombiesliketosurf on 2011-03-24
Scratch the above comment. I just wasn't using all of the file correctly. Works now! Cheers.
Login to post your comment









