Need to load multiple skins with only a single .swf and config.xml

Hello
These are part of some instructions that were of a AS3 Mp3 Store I purcased
Well guys the new AS3 flash cart system can have skins hot swapped in and out with out having to recompile the actionscript code.
You can even have multiple skins on the same cart and use different ones in different places of your website.
This is all because the flash cart system itself runs seperate from the graphical user interface that the customer visits.
When you purchase a new cart skin, or if you edit your own custom skin, you can place the swf file for it in the "skins" directory of your flash cart installation directory. Then in the config file where you "embed" the cart on your website you include the name of the skin you'd like to use (the skin MUST be available in your skins directory).
The other plus to using the skin system is you can keep the cart application seperate from your site. No longer do you have to have all that ugly php code and cramped swf files floating along side your website html files. No instead you create an install directory then simply embed the cart from where ever it is. The only litigation is that the cart must exist on the same server as the website you are showing it publicly on.
So right now I have a website with the store set up and working, allowing the buyer  to listen to the tracks, add to cart and checkout after which they are given an instant download link to the purcased files.
What I want to do now though is break up the songs into differents carts/skins within a dropdown list in my website as quoted in the instructions above, according to genre.
So I have published 4 different skins  as
MusicSkin 1.fla
MusicSkin 2.fla
MusicSkin 3.fla
MusicSkin 4.fla
and have placed these on my server
The cart works by Index.html > loads the Main.swf >loads MusicSkin.fla which is called by via config.xml 
(<?xml version="1.0"?>
-<config><skin src="MusicSkin"/><db src="/" sandbox="false" type="sql"/></config>
I am having trouble configuring how to call on 4 different Skins into different pages on my site if I only have ONE index.html, Main.swc and config.xml files which according to the instructions is possible!
Hope this makes sense, I get how it works on one skin but not how it works/or to make it work with multple ones on a website.

Is this possible...anyone!!!!!!!!!!!!!!!!
Really hoping to getting this working soon.
I am wondering if i have to copy the instances of the different skins into the config file above and each swf and html file loads the corresponding on in the list, or does each instance require it's own config file, which would then be a problem I think, because I could not have 4 config.xml files in the same directory which is what the Action Script is calling on.

Similar Messages

  • How do I use edge commons composition loader to load multiple compositions with a next and back button?

    I am working on an interactive book and have set up each page as a separate composition in edge.
    I am using  the edge commons JS library to load multiple compositions into a main composition.
    You can see how this works here: Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    The way the edge commons tutorial is set up requires a button for each composition i want to load. I am interested in loading multiple compositions with a "next" and "back" button, and a "swipe left, "swipe right" gesture on the content symbol that each composition is loaded into. I also need the swipe features on the content symbol not to interfere with the interactive elements on the loaded composition.
    Please suggest a solution that will work without adding additional scripts beyond edge commons and jquery.

    Sort of. I'm using this code inside an action for a button symbol. But it doesn't work perfectly. Trying to debug it.
    Let me know if you have any luck.
    //Check to see if pageCounter already exists
    if (typeof EC.pageCounter === 'undefined') {
      // it doesn't exist so initialize it to first page
        EC.pageCounter = 2;
    //check if the page is only 1 digit -- patch for single digit
    if (EC.pageCounter < 9) {
       // it is, so we need to pad a 0 on the front.
      EC.pageCounterString = "0" + EC.pageCounter;
      //e.g.  01 ...09,11,12,13....115,222352,,....
    else {
      EC.pageCounterString = EC.pageCounter;
    EC.loadComposition(EC.pageCounterString + "/publish/web/" + EC.pageCounterString + ".html", sym.$("container"));
    EC.pageCounter = EC.pageCounter + 1;
    //TODO for back  -1

  • When iam loading multiple datatargets with single datasource request failed

    when iam loading multiple datatargets with single datasource request failed
    i want to delete the  bad request at a time in all datatargets

    Hi Neeraj,
    The only thing you can do is go in to theMonitor screen of that IP and select the datatargets from the Monitor screen.In the next screen you can see all the targets included in the IP at the top.But the only bad thing is you have to manually delete the Bad request only from each target.
    Regards
    Sandeep

  • I have an iMac with only 1Gb of memory and am running OS X 10.5.8; do I need to upgrade it and if so, to what?

    I have an iMac with only 1Gb of memory and am running OS X 10.5.8; do I need to upgrade and if so, to what?

    Michel PM and CRP 101, thanks for your replies.
    My machine was purchased in 2007, I think.  It's model iMac8.1 with the Intel Core 2 Duo processor and CPU speed is 1.07 GHz.
    What I am asking has to do more with the OS X opsys version than the size of the memory.  My question is prompted by my son suggesting that I should upgrade and purchase MS Office and substitute for the factory-provided OpenOffice.org application.
    Thanks!

  • Creation of Multiple Shipments with respect to Single inbound.

    Hi,
    This is regarding creation of Multiple Shipments with respect to Single inbound.
    In standard SAP, you can create Shipment cost based on Inbound number.Requirement is here for single inbound can we create multiple Shipment document.
    Can we do shipment costing for Multiple shipment in single document through VI01.
    Yours Help in this will be highly appreciated.
    Regards
    Sunami.

    dear friend,
    to process shipment cost documents you can either call up a shipment cost document in change mode or you can create lists of the shipment cost documents
    you can create the following lists:
    -Shipment cost documents for calculation
    -Shipment cost documents for settlement
    to process a single document use t-code VI01
    to create lists of shipment cost documents to be changed use t-code  VI11
    so, if you need something very special you would think about the new enhancement...
    good luck!

  • Set up After Effects CS 6 for network rendering with only a single license.

    I have searched on and off a couple of days to find specific setup instructions for submitting projects to network rendering but all I can find refers to somehow installing AE on several machines in a non-license mode and, essentially, submitting a "batch" type job that get distributed, sync'd and collected. OK, I get this. But I find nothing on the details of installing on several machines.
    So assuming I understand things to this point, the question is really how do you install multiple AE6 copies to systems with only a single license? I have a single license key with a CS 6 Premium Suite and would expect that I wouldn't be able to get past Activation after installing or am afraid of trying lest Adobe think I'm attempting to circumvent licensing.
    Thanks in advance for any help.

    > am afraid of trying lest Adobe think I'm attempting to circumvent licensing
    Have no fear. Just do it. There's no risk to trying to install software on as many machines as you like. Even in the cases in which you only have a license to use our software on two machines, the worst thing that happens is that you are told to deactivate on one computer before activating on another.
    See these posts:
    installing After Effects CC render engines with Adobe Creative Cloud
    codecs and the render engine in After Effects CS6 and After Effects CC

  • I am having multiple issues with syncing my iphone calendar and outlook There are often 1 hour time differences in the entries on the 2 devices and sometimes events that have been amended are not updated on iphone I mostly enter items on my laptop

    I am having multiple issues with syncing my iphone calendar and outlook calendar on my laptop
    I mostly enter the original items on my laptop
    There are often 1 hour time differences in the entries on the 2 devices and sometimes events that have been amended are not updated on iphone

    This sounds like an error in Time Zone support. The time zone needs to be the same in Outlook as well as the phone.

  • Can I setup an Apple ID with only a Paypal account and NO credit card?

    I recently purchased an iPhone and am looking forward to getting everything setup. I'm currently living in Japan and my japanese bank doesn't have a card that has the jcb logo, nor do I have a credit card. So...
    Can I setup an Apple ID with only a Paypal account and NO credit card?

    You can set up an apple Id without a credit card using this article: http://support.apple.com/kb/ht2534
    After that, you can login at iTunes on a computer, go to 'Account' and just change the payment information to something else.
    NB: where I live, the only three options for payment are creditcard, iTunes gift cards and Click&Buy, not Paypal. It might be possible elswhere though, I'm not sure.
    Good luck

  • I need to interface SCC-TC02 with help of SC 2345 and PCI-6024E DAQ Card.please tell me the procedure and if possible send me the program

    Dear Friends,
               I need to interface SCC-TC02 with help of SC 2345 and PCI-6024E DAQ Card.But i can not understand example program.please send me the procedure to interface these three componnets and if possible send me the program.
    With Regards,
    Eswaramoorthy K V

    nce of nth triggering pulse. i need to know when the when the ist trigger occurs and when the nth trigger occurs . please tell me how to to . what i know is that event triggering has to be done with start and stop trigger. please tell me how it has to doneSuresh;
    What you will need to do is to set up a digital start and stop triggered Analog Input acquisition. Then you will need to have a counter set as event counter, having the specific number of pulses you need configured as the preset value, configured to count down, and generating a pulse after the terminal count has been reached. That counter output will be the stop trigger of the Analog Input operation. In summary, you will have the external pulse being both the digital trigger of the Analog Input operation and the source pin of the counter, and the counter output being the digital stop signal for the analog input.
    I'm attaching a Labview VI that does the start and stop analog input acquisition. You will need to include the counter part and set the stop s
    ignal to be the counter output.
    Hope this helps.
    Filipe
    Attachments:
    AI_Start-Stop_D-Trig.zip ‏25 KB

  • TS3274 My ipad2 is not responding..I want to restart it but i can get nothing but a black screen with only the apple logo and a small gear icon. It occasionally beeps but no other response.  Any ideas as to what may be wrong and what I can do?

    My ipad2 is not responding..I want to restart it but i can get nothing but a black screen with only the apple logo and a small gear icon. It occasionally beeps but no other response.  Any ideas as to what may be wrong and what I can do?

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPad fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • When I use Firefox, my email comes thru with only 1/4 showing and is unreadable. what can I do

    when I use Firefox, my email comes thru with only 1/4 showing and is unreadable. What can I do? I like using Firefox.
    When I open my email with another browser, this does not happen.
    [email protected]

    Do you think it might be possible that your phone is a 3G instead of a 3GS?  The reason for asking whether this is a possibility is because 3G iPhones cannot be updated any further than ios 4.2.1.  3G and 3GS are very similar in external appearance.  One way to tell the difference is that the 3G cannot record videos in the camera app, while the 3GS can do this.
    Another way to tell is by introducing your model or serial number in the Apple Support page that identifies your iPhone.

  • Loading multiple files with SQL Loader

    Hello.
    I will appreciate your recommendation about the way to load multiple files (to multiple tables) using SQL Loader with only one Control file.
    file1 to load to Table1, file2 to load to Table2 etc.
    How the Control file should look like?
    I was looking on Web, but didn't find exactly what I need.
    Thanks!

    Ctl File : myctl.ctl
    ---------- Start ---------
    LOAD DATA
    INFILE 'F:\sqlldr\abc1.dat'
    INFILE 'F:\sqlldr\abc2.dat'
    INTO TABLE hdfc1
    (TRANS_DATE CHAR,
    NARRATION CHAR,
    VALUE_DATE CHAR,
    DEBIT_AMOUNT INTEGER,
    CREDIT_AMOUNT INTEGER,
    CHQ_REF_NUMBER CHAR,
    CLOSING_BALANCE CHAR)
    INTO TABLE hdfc2
    (TRANS_DATE CHAR,
    NARRATION CHAR,
    VALUE_DATE CHAR,
    DEBIT_AMOUNT INTEGER,
    CREDIT_AMOUNT INTEGER,
    CHQ_REF_NUMBER CHAR,
    CLOSING_BALANCE CHAR)
    -----------End-----------
    Sqlldr Command
    sqlldr scott/tiger@dbtalk control=F:\sqlldr\myctl.ctl log=F:\sqlldr\ddl_file1.txt
    Regards,
    Abu

  • Talking amongst multiple computers with only one .mac acct

    We have multiple computers but only one .mac account. We would like to isight/ichat with our home-based computers from our laptops (ie: talk with the kids at home while we're on the road...) but can't figure out how to make it work. Do we need to set up SEPARATE .mac accounts ("Family Plan") in order to isight/ichat amongst our computers or can we arrange it all, using only one account?

    Magpie is right.
    You can get FREE AIM Name(s) here.
    You can also get additional free dot mac names if you like. The names will continue to work as iChat names after the free trial (and other dot mac features) expire.

  • Lost a 2 hard drives, have 7 k photos on a touch that I need to load on IMAC with a new hard drive, how do I do it.  Just never went from a Touch to iMac.  I have the cable hooked up and then what, I don't want to mess up,my last chance to save 7k pics!

    Lost my hard drive and also an Ipad, but have 7 k photos on a Touch that I need to load on fixed IMAC with a new hard drive, how do I do it. (There were more photos than the 7k, but they were saved on other drives, thank goodness).  7K pohotos on the Touch are no where else, must be saved!  Just never went from a Touch to iMac.  I have the cable hooked up and then what, I don't want to mess up,my last chance to save 7k pics!  New Aperture and IPhoto on IMAC with no other photos loaded on the new hard drive yet.

    I'd ask in the iTouch forum where there are more iTouch users there than here and they should know how to off load the photos.  It might take a 3rd party app. 
    OT

  • Need help - Loading Multiple instance of the same image

    Hi guys,
    I have been trying for days now, to get this working but i'm not able to do so, i have been trying to get actionscript to load multiple instance of an image file using a for loop.
    Would anyone be able to enlighten me on this?  the other functions are located on a seperate actionscript file.
    many thanks
    part of the code is as follows: (it works if i use the graphic class)
    function makeRoad():void{
        var row:int = 0;//the current row we're working on
        var block;//this will act as the block that we're placing down
        for(var i:int=0;i<lvlArray.length;i++){//creating a loop that'll go through the level array
            if(lvlArray[i] == 0){//if the current index is set to 0
                block = new EmptyBlock();//create a gray empty block
                block.graphics.beginFill(0x333333);
                block.graphics.drawRect(0,0,25,25);
                block.graphics.endFill();
                addChild(block);
                //and set the coordinates to be relative to the place in the array
                block.x= (i-row*22)*25;
                block.y = row*25;
                } else if(lvlArray[i] == 1){//if there is supposed to be a row
                //just add a box that will be a darker color and won't have any actions
                block = new Shape();
                block.graphics.beginFill(0x111111);
                block.graphics.drawRect(0,0,25,25);
                block.graphics.endFill();       
                block.x= (i-row*22)*25;
                block.y = row*25;   
                roadHolder.addChild(block);//add it to the roadHolder
            } else if(lvlArray[i] is String){//if it's a string, meaning a special block
                //then create a special block
                block = new DirectBlock(lvlArray[i],(i-row*22)*25,row*25);
                addChild(block);
            for(var c:int = 1;c<=16;c++){
                if(i == c*22-1){
                    //if 22 columns have gone by, then we move onto the next row
                    row++;

    @Kalisto - i don't think that is the real issue here since we cannot see what is in the DirectBlock class and the OP has not mentioned any compiler errors.
    Desmond - it appears as though you are constructing this in the form of a 'grid' - correct?  but the problem i believe is that the positioning is not being determined properly - to do something like you want here (i think) you would use what known as a 'nested loop' - this means the 'outer' loop handles iteration of the 'rows' and an 'inner' loop handles the iteration of the columns.  the way you have this set up above, you are attempting to use the 'row' value to position both the row and column - this wont work and it's likely that everything is getting 'stacked' on top of one another.
    may want to structure things a bit more like this:
    function makeRoad():void {
         var index:int = 0;
         for(var row=0; row<22; row++) {
              for(var col=0; col<22; col++) {
                   index = (row*22)+col;
                   if(lvlArray[index] == 0) createBlock(0x333333, col*25, row*25);
                   if(lvlArray[index] == 1) createBlock(0x111111, col*25, row*25);
                   if(lvlArray[index] is String) roadHolder.addChild( new DirectBlock(lvlArray[index], col*25, row*25) );
    function createBlock(color, xp, yp):void {
         var block:Shape = new Shape();
         block.graphics.beginFill(color);
         block.graphics.drawRect(0,0,25,25);
         block.graphics.endFill();
         block.x = xp;
         block.y = yp;
         roadHolder.addChild(block);
    note: i do not know how many 'rows' you intend to have and are stored in the array so the row<22 will need adjustment

Maybe you are looking for

  • What's the best iMac cleaning software

    What's the best iMac cleaner for optimizing disk performance

  • Photo element 9

    How to get rid of the hour glass symbol to view all photos downloaded from my camera?

  • How to pause a dmg download?

    I'm downloading a huge .dmg file and I can't do it all in one sitting. How do I pause it without losing the progress I've made? Thanks for any help.

  • Please help me with my inbox

    Can someone please explain me where can I read my skype messages. I have had a yahoo account for bilion years and it is my most important account. Today I forgot the pass and my recovery mail was my skype adress, but I can't find my received mail wit

  • ITunes shuts down Internet after installation & Firewall

    Okay, i have a very weird problem and i REALLY need this fixed. I am having issues after installing iTunes. I download iTunes for Windows 7 64 bit off of the Apple website, it downloads fine and i open up the setup and it installs fine, after install