Search  

ACCORDION V4 (XML)

HomeBrowse CategoriesFlashApplications and UtilitiesUtilitiesAccordion V4 (xml)
Full_screen_preview

Subscribe to bobocel’s New File RSS Feed


This is an accordion, very customizable as you can see in the preview above. Both versions are one and the same swf file, and the colors, size, effects and so on are changed from the XML and HTML .

No Flash editing needed with this update!

How to?

Customize the file!

You might also be interested in:

Video Players



Galleries



Templates



MP3 players



News readers



XML menus



Slideshows



Creative navigation



Utilities



New files

Posted 6 months ago

Nice file, well commented and laid out.

I’m using it for running different Flash files instead of jpegs… Do you have an easy way to target the other Flash files to stop playing and only play the one selected?

Posted 2 months ago

You mean all the files are swf files? If so, than put a stop on the first frame of each, and on rollOver gotoAndPlay(2);

Posted 2 months ago

Hi man, you have done good job with the Accordion! Great thing!

Anyway, I would like to kindly ask you to help me with following issue: I tried to include external .swf files, which works ok. But I am not able to display any dynamic text in dynamic fields in loaded file.

If in the loaded file is any logic present, it is computed, but the textfield with the output is not visible.

Please look at this example at http://www.testdomain.sk/accordionv4/. U can see, there are two files included, one standard jpeg and the other one is swf file with following AS code:

this._lockroot = true; _root.txtLabel.text = “B. dynamic text (passed to a dynamic textfield) that should be also visible in Accordion v4”;

The included file works fine standalone, check it out here: http://www.testdomain.sk/accordionv4/images/test.swf, and it contains also static text field, but this is neither printed .

The dynamic field that is directly put on the main stage of Accordion is OK (it is printed with text marked with letter C at the beginning).

Any suggestions?:-) Thanks.

Posted 2 months ago

Nice file :) Is there any possibility to be able to interactive with a flash movie within the accordion? I have a swf-file in the accordion, and this file is a presentation with click events. The problem is that I have to click on the accordion vertical menu until the embedded swf is out of click events. Then it will activate.

Just need a hint, and I can try to fix it myself, if it is possible. I only have basic flash knowledge.

Best regards Joran

Posted 2 months ago

bobocel wrote: “You mean all the files are swf files? If so, than put a stop on the first frame of each, and on rollOver gotoAndPlay(2);”

Yes, all the files are swf files. I tried your suggestion, but that won’t work as they will all start playing in the background when you just rollover the tabs.

I’m looking through your AS right now, basically, I just need to piggy back some code to your button action. So when the user clicks on the tab to expand that section, it plays that .swf, and sends all the others back to frame 1 and stop.

If you have any suggestions, I’m all ears, otherwise, I’ll post back what I find (as I’m sure it will be very useful to others). Thanks again!

Posted 2 months ago

OKay, in ‘Actions.as’, just below line 280 ( in the function mc.mcBut.but.onRelease…;) I added this line of code:

mcAll[“mcWindow”+selectedWindow].mcHolder.gotoAndPlay(2);

And placed a stop on frame 1 of my .swf movies.

This works great in both the click and in the automated slideshow for starting the movie. Now I just need to add in a line of code that tells the other .swf movies to gotoAndStop(1).

And the other thing I need is to have the very first movie start playing right when it loads.

Any help is appreciated.

Posted 2 months ago

@riesenia: is your font embedded? @joran: I don’t think it’s possible in AS2 . @Anticrombie: did you put the onRollOut code to go back to the first frame? ;) Also, do a for through all movies. That’s it.

Posted 2 months ago
Okay, I got it. For everyone that wants to use this for .swf’s, place a stop(); on the first frame of each external .swf, then palce this code on line 280 of the document ‘Actions.as’.:

for (var n:Number = 0; n <= nrImages; n++)
    {
        if (n == selectedWindow)
        {
            mcAll["mcWindow"+selectedWindow].mcHolder.gotoAndPlay(2);
            trace ("selected string =" +selectedWindow.toString());
        }
        else
        {
            mcAll["mcWindow"+n].mcHolder.gotoAndStop(1);
            trace ("n =" +n.toString());
        }

    }

Posted 2 months ago

This looks great and all, but how does one put it within an existing flash file? In this case, my full flash site ?

The help file isn’t really explaining much about that.

Thanks.

Posted about 1 month ago

Ah i got a bit further, at first when i hit ctrl&enter to view the file, i got a tiny picture in the left top corner..

At the values you’re uncommenting you need to add:

var sWidth:Number = Stage.width; var sHeight:Number = Stage.height;

As they are not in there, if you’re not using the vars you commented them below the ‘Read flashvars’.

You might want to add these to the action.as file bobo.. right below:

// Uncomment these values if you want to use the file without the need for flashvars // make sure to comment the next piece, where these variables are read

Posted about 1 month ago

Hey,

please help ASAP

How do I embed this into an existing FLASH file / website?

Please advise.

Posted 28 days ago

Another Thing,

I have added extra menus in the XML File. I want the menus to be positioned on the right and the first menu to be opened.

At the moment, the 3rd menu is always open.

What do I need to do in order to set the first menu to show up on start up.

Posted 28 days ago

Please get in touch for custom work.

Posted 27 days ago

I am having issues with the links as well

_self make the links not work not giving a target the links work in FF but not IE7

:-/

Posted 27 days ago

@brightstores: you are referring to the files you downloaded from FlashDen, or have you done any changes in the code?

Posted 27 days ago

I actually figured it out. Since the flash movie and the website are on different servers I had to set the allowscriptaccess to “always”

Thanks!

Posted 27 days ago

Cool. ;)

Posted 26 days ago

Hi Bobocel,

So… how do I adjust or remove the shadow at the top of the pictures?

thanks!

Malcolm

Posted about 23 hours ago

Hi. Delete the content of the mcShadow movieclip in the library, and compile the swf again.

Posted about 17 hours ago

Thank you, sir . . Malcolm

Posted about 11 hours ago

bobocel, first thank you for the great work and support. now my question. how can i add a mask to change the shape/look of the blinds a.k.a accordian folds?

Posted 23 minutes ago