Knowledge Base


Important! All new questions are usually answered within the next business day.

Accordion Panel V3

(views: 13021)

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: 3592)

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?

A: See the attached files:
 
Files: AccordionFlvTrial.zip 


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
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.
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.
posted by negush on 2008-12-18

@fara2009

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/.


Login to post your comment login to post your comment

Other questions in this item:

Installing the Accordion Panel V3 Open the accordion panels automatically Vertical title for horizontal accordion panel Use the Accordion Panel without external XML file Accordion Panel communicates with a loader Use HandCursor on Accordion Panel's items Auto open a panel on startup the title isn't showing in the horizontal mode Load different kind of data into AccordionPanelV3 Dimensions Open the Accordion Panel upwards Panel opens only after content is loaded, when loadExpandedItemsOnly is true Access header title and panel content Access accordion panel loaded with loadMovie inside container clip Non Latin characters Panel opens only after content is loaded, when loadExpandedItemsOnly is true Get the size of panel's content Rotate the direction of the text on horizontal Accordion TEXTU appears in my file HyperLinking panels Getting accurate accordion height Flv playback inside accordion Open URL from panel content, not from panel header Open URL from panel content, not from panel header Load new content without XML Graphics below the accordion panel Acces accordion panel from content Access header title and panel content Acces accordion panel from content Open panels from bottom to top and left to right Non Latin characters Accordion Panel slide show Accordion Panel communicates with a loader Open panels upward for vertical accoirdion and to the left for horizontal accordion Get selected panel and content Panels with different sizes Load new content without XML Open Accordion panels automatically (slide show)


Back

Knowledge Base Search

Enter keywords below:
Advanced Search
FlashEff 2.0
Create professional flash photo slideshows online

FREE Flash Stuff

Check out these free, fully functional AS3.0 Flash components by Jumpeye:

FlashEff 2.0 Free
(free for non-commercial use)

JC Panorama
(free for non-commercial use)

JC Play List
(fully free)

Basic Menu Pack V3
(free AS3 version)

MCTE V3
(free AS3 version)

JC Player
(free for non-commercial use)

JC Flash Map
(free for non-commercial use)

Flash Bookmarks
(fully free)

ActionScript Bridge AS2-AS3
(fully free)

JS Charts
(free for non-commercial use)

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign