Knowledge Base |
Important! All new questions are usually answered within the next business day.
Accordion Panel V3
(views: 6394)
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.
Auto open a panel on startup
(2008-02-12 - views: 1601)
Q: How can I open a panel when the swf is loaded?
A: You can do this using the expand(id) method of the component. The example here, shows how to transmit such an index from the HTML page, using FlashVars, and open the specified panel after the component has finished initializing. This happens right after the component dispatches the onDrawComplete event and the expand method should be called half a second later.
Files: AccPanel_AutoExpandOnStart.zip
Files: AccPanel_AutoExpandOnStart.zip
User Comments
You can use loadMovie()
If you load a .swf file containing an accordion panel, you can access it inside the container clip and call directly the component's expand method to expand the panel you want.
posted by negush on 2008-04-17
If you load a .swf file containing an accordion panel, you can access it inside the container clip and call directly the component's expand method to expand the panel you want.
Example?
OK -- since I know nothing about scripting, can you give us an example of what to do? If we have the panel showing 6 external JPGs and want the first one to automatically open, what code do we use, and where does it go?
Thanks!
posted by janericster on 2008-04-17
OK -- since I know nothing about scripting, can you give us an example of what to do? If we have the panel showing 6 external JPGs and want the first one to automatically open, what code do we use, and where does it go?
Thanks!
Example? Please?
Would really like to see example for the coding required to do this (for a simple loaded SWF within another SWF). Again, I'm not good with AS so need all the help possible and have no idea how to edit the HTML/FlashVars sample to make it work with a loaded MC.
Thanks.
posted by janericster on 2008-04-28
Would really like to see example for the coding required to do this (for a simple loaded SWF within another SWF). Again, I'm not good with AS so need all the help possible and have no idea how to edit the HTML/FlashVars sample to make it work with a loaded MC.
Thanks.
Example for loadMovie
We have a knowledge base item that shows you how to access the accordion panel from a .swf file loaded with loadMovie() inside a container clip: http://www.jumpeyecomponents.com/knowledgebase/Accordion-Panel-V3/Access-accordion-panel-loaded-with-loadMovie-inside-container-clip~621/.
posted by negush on 2008-04-30
We have a knowledge base item that shows you how to access the accordion panel from a .swf file loaded with loadMovie() inside a container clip: http://www.jumpeyecomponents.com/knowledgebase/Accordion-Panel-V3/Access-accordion-panel-loaded-with-loadMovie-inside-container-clip~621/.
Re: Auto open a panel on startup
I don't know about anyone else, but the "Auto Open Panel On Startup" example I downloaded from here doesn't work. When I preview it in Flash, none of the panels were open. As if the actionscript wasn't there.
Secondly, actionscript commenting in examples should be written, not for those fluent in actionscript, but for those who might need the layman's guidance. For example, no where in the commenting did it state: "Change this value to "xxxx" to auto open the first panel", or anything like that. Since the example isn't working for me, it's hard to know what needs to be changed.
Don't get me wrong, I'm not angry, but would like to be able to find the answers in the examples or the knowledge base provided. Can anyone help me with this?
Thank you!
posted by BriRedd on 2008-08-25
I don't know about anyone else, but the "Auto Open Panel On Startup" example I downloaded from here doesn't work. When I preview it in Flash, none of the panels were open. As if the actionscript wasn't there.
Secondly, actionscript commenting in examples should be written, not for those fluent in actionscript, but for those who might need the layman's guidance. For example, no where in the commenting did it state: "Change this value to "xxxx" to auto open the first panel", or anything like that. Since the example isn't working for me, it's hard to know what needs to be changed.
Don't get me wrong, I'm not angry, but would like to be able to find the answers in the examples or the knowledge base provided. Can anyone help me with this?
Thank you!
Re: Auto open a panel on startup
Sorry if the example seems too advanced for you. We tried to explain it the best we could. The panels do not open automatically when tested in Flash because the id of the panel that should open is received through FlashVars from the HTML page. So you should test this with the HTML page.
Also, you would have to replace the trial version component with the full version one, otherwise the page won't work in the browser. This example is only so you can see how to set up the component and write the ActionScript and HTML code to open the menu item automatically.
posted by negush on 2008-08-26
Sorry if the example seems too advanced for you. We tried to explain it the best we could. The panels do not open automatically when tested in Flash because the id of the panel that should open is received through FlashVars from the HTML page. So you should test this with the HTML page.
Also, you would have to replace the trial version component with the full version one, otherwise the page won't work in the browser. This example is only so you can see how to set up the component and write the ActionScript and HTML code to open the menu item automatically.
Re: Auto open a panel on startup
Thank you for your swift help!
Once you said the FlashVars are in the HTML, it all became clear. My bad! Love the component!
Thanks again!!
posted by BriRedd on 2008-08-26
Thank you for your swift help!
Once you said the FlashVars are in the HTML, it all became clear. My bad! Love the component!
Thanks again!!
Auto open first panel on startup
hello sir, i am facing some problem, actually i want when start file which have accordion v3, automatic open my first panel,
thank
posted by rahulkumar12334 on 2008-08-27
hello sir, i am facing some problem, actually i want when start file which have accordion v3, automatic open my first panel,
thank
Comments modified
Just added a comment in the .fla file saying that the panel that opens in the beginning is actually declared in the HTML file and passed through FlashVars to the Flash clip.
I hope this clears up some things for you :)
posted by negush on 2008-08-28
Just added a comment in the .fla file saying that the panel that opens in the beginning is actually declared in the HTML file and passed through FlashVars to the Flash clip.
I hope this clears up some things for you :)
Auto open first panel on startup
I just wanted open the first panel on startup. I downloaded the AccPanel_AutoExpandOnStart.zip but i could not get anything for my issue. Also the your solution is advanced and using html and setInterval. I creating an interactive cd so i can't use HTML. Please answer, thanks!
posted by Charlmagne on 2008-09-04
I just wanted open the first panel on startup. I downloaded the AccPanel_AutoExpandOnStart.zip but i could not get anything for my issue. Also the your solution is advanced and using html and setInterval. I creating an interactive cd so i can't use HTML. Please answer, thanks!
Auto open first panel on startup
The idea is that the panels open using code (the component's expand(itemId) or click(itemId) methods). When using HTML, that item id is passed from the html page, through FlashVars. In case of a stand-alone Flash clip you can directly specify the id of the panel like this: accordionInstance.expand(2);
posted by negush on 2008-09-05
The idea is that the panels open using code (the component's expand(itemId) or click(itemId) methods). When using HTML, that item id is passed from the html page, through FlashVars. In case of a stand-alone Flash clip you can directly specify the id of the panel like this: accordionInstance.expand(2);
Auto open any pannel at startup
hi,
i Wanted to open the my first pannel automatically in swf file.
i tried lot of using script but it didnt work.(expand method)
the file of example auto expand on start dosent work.
can u please send me the example file of that.
posted by freeroz on 2008-10-17
hi,
i Wanted to open the my first pannel automatically in swf file.
i tried lot of using script but it didnt work.(expand method)
the file of example auto expand on start dosent work.
can u please send me the example file of that.
Auto open any pannel at startup
The example works only if you change the trial component with the full version. It is made to work with data received through FlashVars from the browser, but the trial version does not work in the browser, only in the Flash IDE.
posted by negush on 2008-10-20
The example works only if you change the trial component with the full version. It is made to work with data received through FlashVars from the browser, but the trial version does not work in the browser, only in the Flash IDE.
Auto Open Panel on start
I'm creating a standalone exe file and want one of the panels to open on startup. I've downloaded the Acc_panel_AutoExpandOnStart.zip and changed the last line of script to accordianinstance.expand(4);
The auto expand works when I test the file directly from flash but does not work when I publish to exe. I am using the full version of the component. Please advise...
posted by tlc01 on 2008-10-21
I'm creating a standalone exe file and want one of the panels to open on startup. I've downloaded the Acc_panel_AutoExpandOnStart.zip and changed the last line of script to accordianinstance.expand(4);
The auto expand works when I test the file directly from flash but does not work when I publish to exe. I am using the full version of the component. Please advise...
Auto Open Panel on start
We tested the auto expand functionality in a projector exe file and it seemed to be working just fine.
By the way, your email address is not working. Please write an email to the support team (support [at] jumpeyecomponents [dot] com).
posted by negush on 2008-10-22
We tested the auto expand functionality in a projector exe file and it seemed to be working just fine.
By the way, your email address is not working. Please write an email to the support team (support [at] jumpeyecomponents [dot] com).
Auto Open Panel on start
I have isolated the issue in my EXE file. It does not work when I also have the following script for FullScreen active:
fscommand ("fullscreen", "true");
When I comment out that piece of script, the panel opens automatically. Any way to have both of these items function?
Sorry about the email issue, I sent this post to support@jumpeyecomponents.com as well.
posted by tlc01 on 2008-10-22
I have isolated the issue in my EXE file. It does not work when I also have the following script for FullScreen active:
fscommand ("fullscreen", "true");
When I comment out that piece of script, the panel opens automatically. Any way to have both of these items function?
Sorry about the email issue, I sent this post to support@jumpeyecomponents.com as well.
Login to post your comment
Other questions in this item:
Installing the Accordion Panel V3 the title isn't showing in the horizontal mode Open the accordion panels automatically Use HandCursor on Accordion Panel's items Use the Accordion Panel without external XML file Vertical title for horizontal accordion panel Load different kind of data into AccordionPanelV3 Open the Accordion Panel upwards Stopping video content when changing the panel Accordion Panel communicates with a loader Dimensions Rotate the direction of the text on horizontal Accordion HyperLinking panels TEXTU appears in my file Panel opens only after content is loaded, when loadExpandedItemsOnly is true Access header title and panel content Panel opens only after content is loaded, when loadExpandedItemsOnly is true Access accordion panel loaded with loadMovie inside container clip Acces accordion panel from content Access header title and panel content Load new content without XML Non Latin characters Flv playback inside accordion Non Latin characters Acces accordion panel from content Getting accurate accordion height Graphics below the accordion panel Get the size of panel's content Open panels from bottom to top and left to right Accordion Panel communicates with a loader Open URL from panel content, not from panel header Open URL from panel content, not from panel header Open panels upward for vertical accoirdion and to the left for horizontal accordion Get selected panel and content Panels with different sizesMenu |
|
|

What if we want to load an external SWF that has the component (not using HTML or FlashVars)?
Can this still be done?