Load multiple action in single script

HI
I want to load selective action in single window with radio buttons
When click this actions it will run
i want this in script

Hi  c.pfaffenbichler
thanks for giving links for configurator
please tell me if theres is any possible convert script to plugin
OR
how to create plugins and how to place under filter menu
thanks

Similar Messages

  • Problem in Loading Multiple image in Single Sprite/MovieClip

    Hi All,
    I am having a killing problem in loading multiple images in single movie clip/sprite using a separate class.
    Here is the ImageLoader.as class
    package com.project.utils{
        import com.project.*;
        import com.project.utils.*;
        import flash.events.EventDispatcher;
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.ProgressEvent;
        import flash.display.Loader;
        import flash.events.IOErrorEvent;
        import flash.net.URLLoader;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        import flash.display.Bitmap;
        public class ImageLoader extends EventDispatcher {
            public var imgloader:Loader;
            public var imgMc:MovieClip;
            public var imgObject:Object;
            public var loaded:Number;
            public function ImageLoader():void {
                imgMc = new MovieClip();
                imgObject = new Object();
                imgloader = new Loader();
            public function loadImage(imgHolder:MovieClip, imgObj:Object):void {
                imgMc = new MovieClip();
                imgObject = new Object();
                imgloader = new Loader();
                imgMc = imgHolder;
                imgObject = imgObj;
                imgloader.contentLoaderInfo.addEventListener(Event.COMPLETE,onImgLoad);
                imgloader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onImgLoadProgress);
                imgloader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,onImageLoadFailed);
                imgloader.load(new URLRequest(imgObj.FilePath));
            private function onImgLoad(Evt:Event):void {
                var image:Bitmap = Bitmap(Evt.target.content);
                try {
                    imgMc.removeChildAt(0);
                } catch (error:Error) {
                imgMc.addChild(image);
                try {
                    if (imgObject.URL != undefined) {
                        imgMc.buttonMode = true;
                        imgMc.removeEventListener(MouseEvent.CLICK, onImageClicked);
                        imgMc.addEventListener(MouseEvent.CLICK, onImageClicked);
                } catch (err:Error) {
                dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD"));
            private function onImageClicked(evt:MouseEvent):void {
                trace("Image Attrs:"+imgObject.URL +" Target "+imgObject.Target);
            private function onImgLoadProgress(Evt:ProgressEvent):void {
                if (Evt.bytesLoaded>0) {
                    loaded = Math.floor((Evt.bytesLoaded*100)/Evt.bytesTotal);
                    dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_PROC",loaded));
            private function onImageLoadFailed(Evt:IOErrorEvent):void {
                trace("Image Loading Failed");
                dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_FAIL"));
    Here I am loading some images using the above class in a for loop, like
                for (var i=0; i < 3; i++) {
                    //imgLoader=new ImageLoader;
                    imgLoader.addEventListener("CustomEvent.ON_IMGE_LOAD",onImageLoad);
                    var target:MovieClip=videolist_mc["list" + mcCount + "_mc"];
                    target.list_mc.visible=false;
                    var imgObj:Object=new Object;
                    imgObj.FilePath=list[i].Thumbnail;
                    imgObj.Url=list[i].Url;
                    imgObj.Target=list[i].Target;
                    target.list_mc.urlObj=new Object  ;
                    target.list_mc.urlObj=imgObj;
                    imgLoader.loadImage(target.list_mc.imgholder_mc,imgObj);
                    target.list_mc.lable_txt.htmlText="<b>" + list[i].Label + "</b>";
                    target.list_mc.imgholder_mc.buttonMode=true;
                    target.list_mc.imgholder_mc.addEventListener(MouseEvent.CLICK,onItemPressed);
                    mcCount++;
    In this case, the ImageLoader.as works only on the last movie clip from the for loop. For example, if i am trying to load three image in three movie clips namely img_mc1,img_mc2 and img_mc3 using the for loop and ImageLoader.as, I am getting the image loaded in the third movie clip only img_mc.
    See at the same time, If i uncomment onething in the for loop that is
    //imgLoader=new ImageLoader;         
    its working like a charm. But I know creating class objects in a for loop is not a good idea and also its causes some other problems in my application.
    So, help to get rid out of this problem.
    Thanks
    -Varun

    package com.project.utils{
        import com.project.*;
        import com.project.utils.*;
        import flash.events.EventDispatcher;
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.ProgressEvent;
        import flash.display.Loader;
        import flash.events.IOErrorEvent;
        import flash.net.URLLoader;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        import flash.display.Bitmap;
        public class ImageLoader extends EventDispatcher {
            public var imgloader:Loader;
            public var imgMc:MovieClip;
            public var imgObject:Object;
            public var loaded:Number;
            public function ImageLoader():void {
    // better add you movieclip to the stage if you want to view anything added to it.
                imgMc = new MovieClip();
                imgObject = new Object();
                imgloader = new Loader();
            public function loadImage(filepath:String):void {
                imgloader.contentLoaderInfo.addEventListener(Event.COMPLETE,onImgLoad);
                imgloader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onImgLoadPr ogress);
                imgloader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,onImageLoadF ailed);
                imgloader.load(new URLRequest(filepath));
            private function onImgLoad(Evt:Event):void {
                var image:Bitmap = Bitmap(Evt.target.content);
                try {
                    imgMc.removeChildAt(0);
                } catch (error:Error) {
                imgMc.addChild(image);
                try {
                    if (imgObject.URL != undefined) {
                        imgMc.buttonMode = true;
                        imgMc.removeEventListener(MouseEvent.CLICK, onImageClicked);
                        imgMc.addEventListener(MouseEvent.CLICK, onImageClicked);
                } catch (err:Error) {
                dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD"));
            private function onImageClicked(evt:MouseEvent):void {
                trace("Image Attrs:"+imgObject.URL +" Target "+imgObject.Target);
            private function onImgLoadProgress(Evt:ProgressEvent):void {
                if (Evt.bytesLoaded>0) {
                    loaded = Math.floor((Evt.bytesLoaded*100)/Evt.bytesTotal);
                    dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_PROC",loaded));
            private function onImageLoadFailed(Evt:IOErrorEvent):void {
                trace("Image Loading Failed");
                dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_FAIL"));
    Here I am loading some images using the above class in a for loop, like
                for (var i=0; i < 3; i++) {
                    var imgLoader:ImageLoader=new ImageLoader();
                    imgLoader.addEventListener("CustomEvent.ON_IMGE_LOAD",onImageLoad);
                    var target:MovieClip=videolist_mc["list" + mcCount + "_mc"];
                    target.list_mc.visible=false;
                    var imgObj:Object=new Object;
                    imgObj.FilePath=list[i].Thumbnail;
                    imgObj.Url=list[i].Url;
                    imgObj.Target=list[i].Target;
                    target.list_mc.urlObj=new Object  ;
                    target.list_mc.urlObj=imgObj;
                    imgLoader.loadImage(pass the image file's path/name);
                    target.list_mc.lable_txt.htmlText="<b>" + list[i].Label + "</b>";
                    target.list_mc.imgholder_mc.buttonMode=true;
                    target.list_mc.imgholder_mc.addEventListener(MouseEvent.CLICK,onItemPressed);
                    mcCount++;

  • 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

  • Loading multiple forms in single jsp

    Hi,
    My jsp page has multiple forms (one form for each table which has specific info). So assume it has 3 tables, so 3 forms.
    I need to load all the form when the page is loaded.
    code:
    <FORM name=form1 action="/action1" method=post></FORM>
    <FORM name=form2 action="/action2" method=post></FORM>
    <FORM name=form3 action="/action3" method=post></FORM>
    So if I need to load all the forms, how should I proceed. Also please note each form has its own form class and action class.
    For e.g. Assume Page A (From Page A I am coming to this form page via a hyperlink and there is no action class in between) calls the page with 3 forms and I need to display all the values in the 3 forms. So how can I call the action classes for each of the 3 forms.
    So when and how will the action1, action2, action3 called?
    Any help would be greatly appreciated.
    Thanks.

    Thanks for your reply. I understand only one form would be submitted. Its ok.
    But the thing I am looking at is loading the multiple form values at a time.
    I have page A, Page B (where I need to display multiple form values. Actually this page has 3 tables, and each table is one form e.g. one table has all the name values, one table has all address values. So each has different actions).
    I am calling Page B via a hyperlink from Page A. Since I need to use hyperlink, there is no way (atleast I dont know) of using action class or anything.
    Now, my question is how do I populate the values for all these 3 forms.
    Any help would be great.
    Thanks.

  • Flash 8 listener loading multiple actions

    Hi,
    I'm back!
    I have a question. I want my preloader to be on the stage
    until a movie finishes loading. I have that working via a listener.
    However, I would like several things to happen once a movie has
    loaded. How do I write this in action script?
    I will attach the non-working code...
    Thank you!!!

    Hey janst, a couple of things here. You shouldn't have the
    'addEventListener' call within the event handler, that won't work.
    I think you should use the MovieClipLoader class and the loadClip
    method which has a variety of built-in handlers for just this kind
    of thing. More like:

  • Load Multiple movies into single container

    I am completely frustrated with trying to figure out how to
    click on a button in a menu of many buttons and have a movie pop up
    into a container that is a specific size and in a specific position
    on the screen. Is there a masking option that can be used to only
    allow viwing in a specific-sized frame? I can get the movies to
    play when pressing on each button, but controlling where it is
    positioned on screen, and how large is my problem...
    ...must be easy, but I'm stuck. I am trying to learn
    Actionscript, but am horrible at it. Thanks for any suggestions.

    Okay, good. Maybe just some advice, then. I am creating a web
    page that has a movie clip menu bar. When the user click on an
    image in the bar, the movie clip will pop up into a specific-sized
    frame, in a specific location on the page. Clicking on another menu
    item will replace the first movie clip in the same location. Would
    it be best for me to use a mask, or _x,_y, _width, _height
    properties to do this. I'm not quite sure which would be the best
    method for doing what I want to do (there always seems to be a
    hundred ways of doing things, and I use about 30 at a time).
    Thanks for you help, I now have a direction I can go in.
    REALLY appreciate it.

  • MAXL - using multiple Dimension build rules in single script...

    I seem to be having problems running multiple Dimension build rules in a single MAXL script, is this a known problem or just an issue that I'm having? The build rules independently work as designed but when joined into a single script the script hangs...
    So, this is a 2 part question...
    1) Does MAXL not play nice when using multiple Dimension load rules in a single script?
    2) Do I need to run the build rules independent of each other?
    Also, is there some type of refresh/update on the cube that you can use in the script and would it be necessary...?
    Thanks for any light you can shed on the issue.
    Adam,

    I've written multiple dimension build statements as a part of 1 long MaxL statement. I'm executing this MaxL via a shell script (that replaces the variables such as username, password, servername, file path etc.) I've not seen any issues doing so.
    However, I've noted that, number of imports statements in 1 single MaxL command does not bode well for more than *60* import statements at once. So, if you're using more than 60 source files to build your dimensions, please consider breaking up your MaxL into multiple statements.
    Note: All but last of the import statements have 'deferred' re-structure specified. It speeds up the build process.

  • Load multiple views in one server call

    Hello,
    We are developing SAPUI5 application with Master & Detail page pattern. On detail page, we have 7 tabs so to make it more manageable we have created 7 different views, one for each tab instead of writing all the code in one view.  And one extra view which hold the tab and 7 views.
    Now code is easy to maintain as we can go to specific view and do the changes instead of searching in one big view. But there is a new problem now, it take lot of time to load the detail section. It makes separate server call to load each view.  Earlier it was loading detail section with one server round trip but now it is making 8 server round trips ( one for every view ).
    So the question is, is there any way to load multiple views in single server trip?
    Regards,
    Vikram

    You can do so but then at the time of defining the viewset you need to ensure the rowspan and colspan correctly to fit the first and the second view. More over the configuration also needs to be maintained correctly.
    Regards,
    Harshit

  • How to apply multiple actions on a single file in one go to generate multiple watermarked pdfs?

    usually i need to create many watermarked datasheets for different customers using a single base pdf. currently i run individual actions for individual customers on the same file which means i have to runs 10s of individual actions every time i have  new source file. can i make a single action or a script which will take a single source file, run multiple actions(~15-20) for watermarks and save these files separately? basically what i need is instead of running many individual actions i run a single action/script to make it automatic. if yes, how to do so?

    Hi Monte,
    You can achieve this by assigning a secondary extension to another button, but this might not be what you want, so if you can elaborate a little further as to what you want exactly I can help you with putting together a solution
    Cheers,
    David Trad.
    **When you rate a persons post, you are indicating a thank you or that it helped, but at the same time you are also helping to maintain the community spirit - You don't have to rate posts and you wont be looked down upon :) **

  • SCRIPT TO IMPORT MULTIPLE PLACED IMAGES..AND OUTPUT MULTIPLE IMAGES TO SINGLE PDF.

    Anyone got a script to import multiple placed images into CS4? or is this possible in CS5?
    and can we output multiple layers into a single PDF in illustrator?  Or multiple layers into single JPEGS from illustrator with one command instead of individually saving out each page... would be a huge time saver for me.
    Currently I output each completed layer individually and then right click those outputted jpegs in their output folder and choose "combine supported files into acrobat..." to make a single acrobat file..
    I`d also like to be able to CTRL click multiple layers and go save as... only those layers get saved out...
    And so adding something in the Save for PDF output dialogue box to save layers to multiple pages would be a helpful time saver..

    In CS 4 and CS 5 you can drag and drop fro m the finder or the Bridge, and I guess any other similar type viewer, multiple number of image files to a document. You can configure the bridge in such a way as to allow you to see the Bridge and your document at the same time for this very purpose.
    If you just drag and drop the files are linked if you drag while holding the shift key then the files will be embedded.
    ID and PS CS 5 have a minibridge which works the sam way but is an actually panel and will stay in the front.
    I separate the images but they import one on top of another.

  • Can i call multiple actions sequentially in a separate action/script?

    i execute multiple actions on a single file. usually these actions number more than 20. is there a way to automate invoking of these actions so that i run something only once and all smaller actions are applied sequentially and automatically on the same file?

    You can combine the commands in all of these Actions to a single Action,
    but you can't call them automatically one after another if they're separate.
    On Thu, Dec 11, 2014 at 10:22 AM, navpreet87 <[email protected]>

  • How to call multiple strus actions froma single jsp

    how to call multiple strus actions froma single jsp, and that actions should be automatically called pls help me
    Thanks in advance

    how to call multiple strus actions froma single jsp, and that actions should be automatically called pls help me
    Thanks in advance

  • Script to load multiple linked smart objects to stack

    Hi
    we have a workflow where we work with exr images, and load about 15 of them at a time into a stack, then from there convert them into smart objects.
    As the linked smart objects is out this means we can replace a folder full of images and update them which would save opening up the psd and having to replace conent on all smart objects.
    but can't seem to find a way to load multiple smart linked objects in with out having to do 1 by 1.
    Is there a simple script to do this?
    Thanks

    I had asked Adobe about a modified script to do this, but at this time, they didn't seem interested in developing it.  Perhaps if more people ask for it they would add this feature, which would be extremely handy.  Don't know if anyone has come up with their own script for this yet, but I'm sure someone will.

  • [AS][CS5] Multiple action folder scripts only 1 Indesign app

    Hi,
    With this post, I would like to ask a question.
    If you use multiple action folder scripts that processes multiple files using only 1 Indesign application, can problems occure when multiple files are submitted at the same time?
    How does applescript/indesign handles multiple use of the same application? Will an error be trown? Or do I have to build a check mechanisme to know if the app is "in use"?
    Has the Indesign application a property "busy" or "In use"?
    Kind regards
    John

    Hi Mark,
    Thanks for your feedback.
    If build a lock/unlock mechanisme in my folder action script to prevent simultaneous use of Indesign. In my script I write the current application state into a textfile.
    John

  • 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

Maybe you are looking for

  • Help! help! hdmi for macbook pro erly 2011

    I've Macbook pro erly 2011 and i've two adapter mdp to hdmi, one moshi and one sqp, all two not work, I brought my mac in three centers approved in a apple store, but was not detected any hardware problem, before I had already triedtwo other adapters

  • How to call a preference value in XSLT

    Hi ALL, how to call a preference value(which is defined in bpel already) in XSLT?? Can any one help me plz Regards, Venkat Ch

  • Resource-Exception while mapping

    Hi, I'm getting an error "com.sap.aii.utilxi.misc.api.ResourceException: Connection is invalid" ...   <Trace level="3" type="T">Creating Java mapping com/sap/vv2/xi/mapping/OutboundMapping.</Trace>   <Trace level="1" type="T">Connection is invalid.</

  • MATMAS05 Idoc to Flat File : Multiple material into same file

    Hi ,   I am struck in simple scenario .Sending Materail Master data to flat file using idoc MATMAS05.  I made following changes to MATMAS05.xml file. I added MaxOccurs -=Unbounded and imported it in the interface mapping. <?xml version="1.0" encoding

  • Want to Buy Mac Mini.... HELP!

    I want to buy a mac mini, but my fear is that it says it comes with Tiger as the OS. Anyone with experience? If this is the case... I will be very unhappy.