One swf loading multiple xml?

so- I have a gallery that pulls in an xml file... I'm trying
to have that gallery called and have a var as a placeholder for the
xml so i can use the same .swf and any xml based on whatever button
is pushed... i'm not sure how to do so- i have the gallery working
fine- i just need the 'xmlData' to be dynamic... if anyone could
help out- i've never had to do this before and it's a bit
stressful.
as is- and working fine... the gallery.fla has this to pull
in the xml:
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad =loadXML;
xmlData.load("xml/projects.xml");
i just need to figure out how to have the buttons in a
master.swf open the gallery.swf and a corresponding .xml file...
which i know how to do in the master.fla- i just don't know how to
set up the second fla to parse the corresponding xml based on which
button is pushed... would i set up an array that included all the
possible xml files?
pretty much this is what i'm trying to make happen:
projects_mc.onRelease - loads gallery.swf with projects.xml
staff_mc.onRelease - loads gallery.swf with staff.xml
etc...
thanks for reading!

If i understand correctly...
there are 2 options
number one -
use the loadmove function with 2 swf's
ex:
on(release) {
loadmovie("1.swf", 0)
One frame 1 of the 1.swf put in the as:
xmlData2 = new XML();
xmlData2.ignoreWhite = true;
xmlData2.onLoad =loadXML;
xmlData2.load("xml/projects2.xml");
then do the same for the second button (easier if there small
files i think)
solution 2 (more problematic) -
use the loadmove function with 1 swf
ex:
on(release) {
var xmlfile = "1"
loadmovie("1.swf", 0)
One frame 1 of the 1.swf put in the as:
if xmlfile = 1 {
xmlData2 = new XML();
xmlData2.ignoreWhite = true;
xmlData2.onLoad =loadXML;
xmlData2.load("xml/projects2.xml");
} else {
xmlData3 = new XML();
xmlData3.ignoreWhite = true;
xmlData3.onLoad =loadXML;
xmlData3.load("xml/projects3.xml");

Similar Messages

  • Loading multiple XML files into one XMLList

    I am working on an app where I will load a list of recipes.  Each recipe is an XML file.  I would have an XML file that lists the filenames that need to be loaded.  I am assuming in can use one HTTPService and loop through this list, and set the url and do myService.send() until all the xml files have been loaded and concatenated into one xml list. True?
    My main question here is how do I load each XML file and add it to the same XMLList?
    Assume each XML file's root tag is <recipe>.  I want to create an XMLList with the root  <recipes> with each <recipe> as a first child.
    Thanks.

    Why don't you use the Data centric workflows which will help you to deal with multiple XML files as AS objects? Something like this
    1. Create a HTTPService using Data menu -> Connect to HTTPService
    2. create a operation getRecipe and enter your URL example URL: http://myserver/recipe?name=recipename
    3. Use Configure Return Type to tell that this method returns a Recipe class
    4. Use DataBinding to bind the result of this to a DataGrid
    Call the following in a loop and
    recipeName = myRecipes+ // All of your recipe names, Recipe is a ArrayCollecition
    Recipe.setAt(i) = Svc1.getRecipe(recipeName);
    At the end you would have a Recipe[]
    This is one of the ways you could work instead of having a XMLListCollection and use e4x etc. to go through your collection.
    Let us know if this helps, or you are looking for something else.
    Thanks
    -Sunil

  • Loading multiple xml files in parallel

    I am using ODI 11g and able to execute a package, which can accept dynamic file names and schema name. This helps me to load multiple files with same structure in parallel.
    However, I am getting issue when I try to drop logical schema at the end of the process usinf command "Drop Schema <schema name>", which I am creating before load process.
    Error says that there are open connection, which are restricting the process to drop this schema. I have used disconnect command as well not it seems that connection still persists.
    Can anyone advise how to forcefully drop the schema, which ODI have created in the memory?
    Below is the error message
    ODI-1228: Task drop_schema (Procedure) fails on the target XML connection book_xml.
    Caused By: java.sql.SQLException: ODI-40700: Schema XSCHEMA cannot be dropped because it is referenced by one or more connections.

    Best to post in the ODI forum - Data Integrator
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • HR - XI - External System: one IDOC to multiple XML Files

    Hi,
    I have a scenario where I need, out of one HRMD_A07 IDOC send multiple XML files:
    The IDOC and the XML files can the Master data for many employee (IDOC has max of 200 as of SAP, external system, max of 1000).
    The IDOC will be generated with change pointers with all the needed filters (I can add/remove if needed).
    My goal is to generate 3 types of XML files:
    - 1 for the persons (containing basic info like name, firstname, persnr,etc)
    - 1 for the various unit (with basic info of unit like number, description & name)
    - 1 for the links between persons and units (this person is linked with that unit)
    The structures of the 3 XML files are know and can be imported via XSD definition.
    Do I need to use BPM for doing so or is there a way to do that with simple mapping?
    If BPM is needed, as I new to that, if you have a link to a begginer guide, fell free to send it
    Cheers,
    greg

    hi,
      For your scenario there is no need of BPM.
      In message mapping select the message tag.
      In the target add 3 message types.
      Just map the fields.Go to Interface mapping add the 3 message in the target.
      Get the mapping.
      In ID sender agreement,Receiver Determination is same.
      In Interface Determination select extended.Get the mapping.
      Create 3 Receiver agreement for each Receiver.
    Regards,
    Prakasu

  • Using URLLoader to send and load multiple xml nodes

    I am trying to use the URLLoader class to send and load
    multiple chunks of xml to a php script. Essentially I have the
    following bit of XML:
    <pages>
    <page>page children here</page>
    <page>more page children here</page>
    <page>even more page children here</page>
    </pages>
    I'm using e4x to loop through the XML and isolate each page
    node. I then want to send each node to a php script to be written
    to a .xml file on the server.
    I've tried inserting the URLLoader.load method within the
    loop but it only sends the last iteration. Do I have to create a
    new URLLoader instance for each iteration and if so is there a way
    to dynamically set the instance names?
    I'm new to 3.0 and have had success doing this in 2.0. I
    mostly want to get it right and in good form.
    Thanks for any help!

    The URLLoader class allows you to send and load data in the
    same pass. As help suggests...sendToURL Sends a URL request to a
    server, but ignores any response. To examine the server response,
    use the URLLoader.load() method instead. The send and load works
    fine, my issue is with needing to send multiple xml chunks using a
    loop.
    Here's the basics of the code I'm using. I was thinking that
    the try{....} section could be put in a loop attempting to send
    multiple items to the PHP page but only the last iteration is
    actually sent. I know I'm making a fundamental error here but need
    direction.
    var urlLoader:URLLoader = new URLLoader();
    urlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    urlLoader.addEventListener(Event.COMPLETE, handleComplete);
    urlLoader.addEventListener(IOErrorEvent.IO_ERROR,
    ioErrorHandler);
    var variables:URLVariables = new URLVariables();
    variables.xml = "<some_node>some
    child</some_node>";
    var request:URLRequest = new
    URLRequest("sendAndLoadXML.php");
    request.method = URLRequestMethod.POST;
    request.data = variables;
    for each(blah){
    try {
    sendToURL(request);
    } catch (error:Error) {
    trace(\n***\nUnable to load requested document." + error);
    }

  • Loading multiple XML files

    My problem:
    I have multiple XML files to load and each must pass a param
    to the loadedXML function below. How do I do this correctly. I have
    the loading part down, but I cannot get the param to pass.
    I was trying to feed another param to the onLoad function but
    it wouldnt take anything else except its "success" param. And I
    know that its clearly wrong (the prefix param that is). Is there a
    better way to do this? In my example I do not show the fact that I
    AM going to load muliple files within a loop.... im really trying
    to get that param passing to work.

    got it working now.
    i done a trace and it seemed the xml files were loading fine,
    it was a problem somewhere else in my code.
    Ive now ran into another problem.
    Ive got a movie clip with my xml menu inside it and an
    actionscripted blur filter on it.. so that when the user rollsover
    the mc it goes from blurry, to clear and back again on roll out.
    Problem is as the mc more or less thinks its a button, its
    stealing focus from the menu.
    Is there a way around this? or is there a better way of
    coding a blurfilter menu other than rollover?
    any help would be appreciated.
    Chris.

  • Check if Load Multiple XML file Complete. How ?!

    Hello,
    I want to create loading screen and i want to check if all my XML file ( class10.xml, class11a.xml & class11s.xml ) finish loading go to frame 2. How can i do that ?!
    Regards,

    No there are no core class doing that but it's quite easy to do it sequentially or to create a simple class that does that. That could go something like that:
    1. pass an array of paths to your custom loader class:
    var loader:MultipleLoader = new MultipleLoader(["path1.xml", "path2.xml"])
    loader.addEventListener(Event.COMPLETE, moveOn);
    loader.load();
    Then in your MultipleLoader class you can do:
    public function load():void
         loadNextXML();
    private function loadNextXML(e:Event = null):void
         if(!myxmlarray.length)
              dispatchEvent(e);
              return;
         var path:String = myxmlarray.shift();
         //code to load each xml from the array that was passed and stored in myxmlarray Array
         //you register Event.COMPLETE with loadNextXML method so you can cycle until the array is empty

  • One IDOC to multiple XML messages

    Hi! I am using the graphical mapper in XI to map the SHPMNT03 IDOC to an XML message. The IDOC has a shipment node and potentially multiple delivery nodes, for example:
    E1EDT20
      - E1EDL20
      - E1EDL20
      - E1EDL20
    I need to create one XML message per E1EDL20 node. I figured I could do this in the mapper but when I execute the map for an IDOC with multiple E1EDL20 nodes, I get a 'Cannot cast 2 to boolean' error. The map executes fine when there is a single E1EDL20 in the IDOC.
    As always, help is very much appreciated and points awarded.
    Thx, Duncan

    Hi Duncan,
    Can you just check if this is what you have done,
    IR
    1. Message Mapping -- Occurence of the Destination message type ( file ) is unbounded
    2. Interface Mapping -- Occurence of the Destination Interface ( File ) is unbounded
    ID
    1. No sender communication channel , sender agreement
    2. Receiver communcation channel for FIle with appropriate FILE CONSTRUCTION MODE
    3. Receiver Determination  and Interface Determination with Sender Interface as the IDOC interface and Receiver Interface as the FILE INTERFACE.
    I think there is some misunderstanding on this front.
    Multimapping will work if you are trying to  do an IDOC to FILE with a 1:N split
    just check this and let me know if you ve missed something.
    Regards,
    Bhavesh

  • Need to load multiple xml Files in ODI.

    I have successfully loaded on file by creating a topology for that xml file only.
    But I am facing issue when I created a variable based topology and now trying to load a different file.
    The variable based topology is like
    JDBC URL for XML Data Server is  :
         jdbc:snps:xml?f=#GLOBAL.GV_XML_FILENAME&re=MAIN&ro=false&case_sens=true&nobu=false&dod=true
    For physical schema i have created :
    SCHEMA : - #GLOBAL.GV_XML_PHYSICAL_SCHEMA
    SCHEMA (WORK) : #GLOBAL.GV_XML_PHYSICAL_SCHEMA
    Now I have created a package where I am initializing these tow variables first, and then calling the interface.
    The package gets executed successfully when same filename and same schema name is passed for which I have created a hardcoded dataserver and physical schema.
    Bue when I try to pass another xml file 2009D2.XML and a new  physical shcema, name 2009D , it gives error.
    ODI-1227: Task SrcSet0 (Loading) fails on the source XML connection Chrysler_var_ds.
    Caused By: java.sql.SQLException: unexpected token: 2009
      at com.sunopsis.jdbc.driver.xml.SnpsXmlStatementRedirector.executeQuery(SnpsXmlStatementRedirector.java:223)
      at com.sunopsis.jdbc.driver.xml.SnpsXmlStatement.executeQuery(SnpsXmlStatement.java:49)
      at com.sunopsis.jdbc.driver.xml.SnpsXmlSchema.initializeSchema(SnpsXmlSchema.java:1170)
    Please provide me any solution if any one of you have done this.
    Also provide me step if i am missing any.

    Thanks Alex, I was able to solve my issue with some help from your code. I rebuilt your valueObject class as a reference point to rebuild my arrays and parse the data into the grid. Works like a charm now. Thank you for your help. On a side note, I marked your blog as a regular read.
    ~ Ryan

  • SWF load a XML on an other server = BUG

    Hi AS3 fellaz,
    All sources availbale here : http://www.tapiocadesign.com/prods/xstrata/_CROSS_DOMAIN_EXEMPLE.zip
    MY GOAL :
    from a flash(swf) on server A, I want to download an XML file on server B.
    MY PROBLEM : it doesn t work
    1 - I use the Class URLLoader
    2 - I set both these domains ok with Security.allowDomain() method
    3 - I upload a "crossdomain.xml" (in folder and root server) file who allow crossdomain communication (adviced by Adobe)
    Here is the comparaison :
    LOCAL WORKS (swf and xml are on the same server) :
    http://www.tapiocadesign.com/prods/xstrata/_CROSS_DOMAIN_EXEMPLE/URLLoader_localXML.html
    var request:URLRequest = new URLRequest("XML_exemple.xml");
    DISTANT DOESN'T WORK (swf on server A, xml on server B) :
    http://www.tapiocadesign.com/prods/xstrata/_CROSS_DOMAIN_EXEMPLE/URLLoader_distantXML.html
    var request:URLRequest = new URLRequest("http://www.nullepart.com/prods/xstrata/_CROSS_DOMAIN_EXEMPLE/XML_exemple.xml");
    This is a very important project, I would worship your brain if you can solve this. And maybe a litle gift... so desperate...

    i used var request:URLRequest = new URLRequest("http://www.xstrata.com/operations/xstrata_map.xml"); and had no problem.

  • Embedded container swf loading swf with xml

    I'd call myself an intermediate AS3 newbe. I have a series of slideshows that is called by a 'container' Flash file.
    These slideshow swf files are now rather large (230 kb) so as a test, I redid one of them as a  Flash file that uses xml rather than the images called within the file itself (file size 68 kb), which is my first exploration into xml & AS3.
    All the non-xml files load and play fine locally (well, sort of, since there's some weird glitchs which show up in different ways at different times in the container loading too many files one after another at times - and sometimes there's no problem at all) but that's not my current problem here.
    Basic URL structure:  document relative
    1. container file (container.fla/container.swf) will be embedded in a html file. --> /Flash.container.swf The contain file has a series of links to other .swf files.
    2. The container file other .swf files (selection of 10) from a  subfolder called /sbrds i.e. --> UILoader loads "Flash/sbrds/albert.swf"
    3.  The albert.fla/albert.swf loads an xml slideshow from a subfolder of sbrds  called /AlBert  --> /Flash/sbrds/Albert code "loader.load(new URLRequest("AlBert/AlBertXX.xml"));"  (quotes in message only)
    4. Inside the /Albert folder I have the xml file and all the images. xml file  is AlBertXX.xml  (attached)  
    5. local structure --> desktop/workingFiles/storyboards (container.fla) /Flash /sbrds (albert.fla) /Albert (Albertxx.xml & image.jpgs)
    would equal on the server as  root html/Flash/sbrds/Albert
    Locally... The albert.fla (in the /Flash/sbrds folder) itself works fine with no errors when calling the xml file.  But when I test that file from the container.fla/swf  I get a 2044/2032 error "Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///.../myLocalDesktopFolder/storyboards/AlBert/AlBertXX.xml      at albert_fla::MainTimeline/albert_fla::frame1()"
    I've check and rechecked for any typos in the xml slideshow test and don't find any.  Any ideas?
    Could it be that I'm calling a xml driven file from a non-xml driven file?
    I have all the files including my buggy htm file at http://www.danwelter.com/susanTest_static.htm
    All the pertinent fla and image files are in the /flash folder (too many to attach).
    -- Thanks --- Susan

    Hi Jan
    Apparently the update went into place on my personal laptop
    overnight last night. I awoke this morning to discover it had
    rebooted itself and it was patiently waiting for me to enter my
    bootup password. Anyhoo, I happened to notice that today when I
    hovered the mouse over my Captivate movie, I saw the dreaded
    “click to activate and use this control” message that
    popped up in a tooltip. What to do?
    Well, I did notice that it seemed to require a mouse click to
    "activate" the control, but simply running the movie seemed to be
    fine. I then wondered what would be disabled. When my movie got to
    the first button, the initial click was used to enable the control.
    Then the second click was accepted and progressed the movie.
    I hopped out on the web and found a page at the following
    URL:
    http://www.amarasoftware.com/flash-problem.htm
    After following the instructions there, my files seemed fine.
    Here are the steps I followed:
    1. Copied the code on the page and pasted into an empty
    Notepad.
    theObjects = document.getElementsByTagName("object");
    for (var i = 0; i < theObjects.length; i++) {
    theObjects
    .outerHTML = theObjects.outerHTML;
    2. Saved as file name ieupdate.js.
    3. Copied the link code and pasted between the closing object
    and center tags.
    Before:
    </object>
    </center>
    After:
    </object>
    <script type="text/javascript"
    src="ieupdate.js"></script>
    </center>
    It occurs to me that one could easily modify the "seed" HTML
    page Captivate uses when it creates the HTML page. This page is
    named standard.htm and is found in the following location:
    C:\Program Files\Macromedia\Captivate\Templates\Publish
    This would save tweaking the HTM each time you publish. Then
    you would only need to worry about making sure you copied the
    associated ieupdate.js file to the same folder.
    You gotta love lawsuits. I really hope those that "won" are
    happy that we all now have to jump through all the hoops to make
    things work. Sheesh
    Hopefully this helps... Rick

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

  • Loading multiple swf's in runtime and playing them one after other

    Hi,
    I am looking for help in loading multiple swf's as a playlist and playing them one after other on top of the other, so here even we have to play with display list for the visiblity.
    Tried to load single files but not getting for multiple files, what will be the event with which the dynamically loaded swf switch to other.These file names will be mentioned in XML file.
    Please let me know your thoughts and will be greatfull if anybody can help with the script or any kind of tutorials.

    Hi,
    First of all am thanking you for showing your kind intrest towards this thread, and appreciate for spending time to work out this issue.
    I will explain you in deatil the issue what am facing,I am working on a project where basically dealing with flv player and videos, am trying to play multiple flv videos of a 3d human character who is speaking out a number like 3550.
    Here we are using multiple video files and joining them like videos where character says 3 then 1000 then  5 then 50.
    The issue here is after every video there is a fraction of second where the character is disappearing from the stage which we can't afford because all the numbers have to be played at once to show it as one single digit.
    So thought of trying swf's instead of flv so that we can omit the gap between the numbers, but even in this swf's also having same issue for a fraction of second the character is missing from the stage.
    I am looking for a solution to this, either the way can work out as flv or swf.For flv am trying to edit some player where we can remove the delay between the clips.
    I am attaching new swf where the character is speaking 3 numbers like 3,1000,40.You can notice there is a flicker between the swf's.
    Can we use Display list with which we can omit that gap.
    Looking for your thoughts and help.
    Thank you

  • Load multiple swf play one by one when required

    Dear Friends,
    i want to Load multiple swf play one by one when required, i mean, i want to reduce the loading time, so i cut my swf in to 2 portion, load both same time or load 2nd while 1st one playing and how can i show the 2nd one when first one finished?
    Thanks in advance,
    Regards,
    Syed Abdul Rahim

    see i write code for you may be it will helps you
    var vidno:int=1
    var totalvideos:int=10
    var ld:loader
    function loadvideo(str:String)
    addChild(ld)
    loader.load(urlrequest(str))
    loader.contentLoaderInfo.addEventListener(Event.Complete,loadnext)
    function loadnext(event:Event):void{
    removeChild(ld)
    if(vidno<totalvideos){
        vidno++
         loadvideo('vid'+vidno+'.swf')
    loadvideo(vid1.swf)
    try it..

  • Multiple XML documents in one SWF

    Hi, i'm trying to create a mix and match clothing application
    using flash for a school project but am having trouble with xml
    documents. Using an online tutorial, i found it was quite easy to
    load up one xml document, example of code below.
    I thought it would be as simple as copying all the code and
    changing the variable names to load a second xml document but i
    find when i run the code, that only the last xml document in the
    code loads, could anyone give me any tips? Thanks
    function loadXML(loaded) {
    if (loaded) {
    xmlNode = this.firstChild;
    image = [];
    description = [];
    total = xmlNode.childNodes.length;
    for (i=0; i<total; i++) {
    image
    = xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
    description
    = xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
    firstImage();
    } else {
    content = "file not loaded!";
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("images.xml");

    Hi, i checked my text and description boxes in my document,
    and it is in fact loading the separate xml document, the problem
    seems to stem from the fact that it is not displaying the xml image
    within the movie clip.
    I have two separate mc's on the stage, with different
    instance names, flash displays the description of each separate xml
    document, however, it only shows one of the movie clips images, if
    i delete one from the actionscript, it shows the other, so it must
    be something to do with them overwriting each other, i used a
    trace, so i know the data is in flash for the images which arent
    being shown, it just isn't showing for some reason.

Maybe you are looking for

  • WEB WIDGET - HTML SNIPPET  how to post myspace music in iWeb

    i'm making a site for a band. i'm using the *web widget- html snippet* to insert the myspace player from a band. the bands site is http://www.myspace.com/mod39lone. this is the code i'm putting in : <embed src="http://lads.myspace.com/music/musicplay

  • Java.io.NotSerializableException when overwrite the JTable data into .txt

    hi everyone i had java.io.NotSerializableException: java.lang.reflect.Constructor error when overwrite the JTable data into .txt file. At the beginning, the code will be generate successfully and the jtable will be showing out with the data that been

  • Resizing every page of a large iWeb website

    I've got a website built in iWeb with well over 100 distinct pages, each auto-formatted as 700 pixels wide. I'm now trying to reset every page to 750 pixels.... anybody know of a quick way to reformat every page to the new size, without having to man

  • TextEdit Applescript help counter of certain words

    I have tried to modify a script that finds and replaces text. My goal is to count the instances the script finds a word, say "love", and spit out the number of instances that the word "love" appears in the document so I can use it for another subrout

  • Condition Record FV11 Problem

    Hi all, I couldnt able to maintain condition record in the key combination of tax classification 003. For condition type JMOP, i have maintained 8% for V1 tax code. If i maintain 2% for condition type JEC1 and 1% for JSEP, the system is not allowing