Which Data-Types can be used as Widget Parameters?

Hi,
I have been playing about with widgets (specifically widget parameters) for a while now.
I've got to wondering, exactly which data-types can Captivate turn into widget parameters?
So far I know that you can use:
Numbers,
Strings,
Arrays,
Objects
and Booleans,
as parameters.
Which ones am I missing?
I know some don't work, because I tried storing a MovieClip as a parameter and that didn't work.

Hi Eccles,
You can set all basic data types supported in flash viz.,
1)Numbers
2)Strings
3)Arrays
4)Objects
Since in Action script , an Object can be anything (array , array of objects , array of objects which by themselves are array of objects and so on ) , you can virtualy send anything as widget params
But there are two caveats to this
1)Object References
-Object References do not have any meaning once the swf is closed.But the widget params have to be stored across sessions.So If you send a reference as part of widget params it is not going to work.
This is why sending a Movie Clip (which is actually a reference to an Object ) does not work
If you want to send such things you will have to 'serialize' the object.
2)Size of the Object that you send
The size of the object that you send can have an impact on performance.And since any object that you send has to be converted into XML , objects like bitmaps can turn out to be huge and difficult to handle.
This brings us down to this - you can send any object across as widget param as long as it is small and serialized.

Similar Messages

  • Which ssl type can i use to implement push notifications in safari

    Which ssl type can i use to implement push notifications in safari, i think there are different criteria which one can i use, what are the criteria to buy ssl keys
    are the ssl key used in a web site or in a web service or both

    Anyone?

  • Which data sources Can i use for Vendor line items

    Dear Experts,
    I want to load the Vendor Line Items Data.In Rsa5 I found
    0fi_ap_3: Vendors: Line Items
    0fi_ap_4: Vendors: Line Items with Delta Extrcation
    0fi_ap_30: Vendor Line Items
    What is the differences of the 3 Datasources.
    Which Datasource  can i use.In my R/3 side they used EHP3.
    Could you please guide me what is the use of EHP3. What Cude and Dso can I use.
    Thanks in Advance.
    Regards,
    Srinivasan.

    Dear Kulakarni,
    I found few of my fields in 0FI_AP_4.I did n't find few fields can i enhance the Datasourse.
    What is the respective Cube for that  Datasourse.
    I check  0AP_30,but in Business Content that cube is not available.
    Could you please give me guidance.
    Thanks in Advance,
    Srinivasan.

  • Which data types I have to use.

    hi all,
    I was using DEC '9' for a variable.
    ie., tunni type DEC of length 9. For smaller values like 000000488225584 is ok.
    But for larger values like 000001048988458000000513871057 is going to dump.
    Please suggest me which data type I have to use.
    It should not be effect the performance.
    Thanks in advance.

    Hi,
    Try use numerical character (TYPE N).
    Regards,
    Charles

  • What brands and type can I use for my iMac 20" internal Hard Drive?

    what brands and type can I use for my iMac 20" aluminium internal Hard Drive?
    can I use WD caviar black?
    is it too hot?

    If you are replacing the drive because the existing one is faulty, that's one thing. If you just want more space, you should take advantage of having a decently fast and relatively small capacity drive in there now (instead of a huge drive). Get an external FireWire drive and off-load most of your user data there. Make your internal drive dedicated to mostly your OS and app files, with plenty of free space. That setup will make your iMac run more efficiently. I won't go into more detail, because I'm not answered your specific question... You can post back with any questions, if interested...
    To answer your questions...
    You should be able to use any SATA 3.5-inch drive internally, but you should probably keep it at or under 1TB. The main concerns are power usage and heat dissipation. A drive like the WD Caviar Green would be ideal in terms of power and heat, but they do have slower (or variable) spin rate. I have one as an external drive (750GB) and it is amazingly quiet and cool. If I had to replace the internal drive because the current drive failed, I'd put it inside. I'll trade a bit of pure performance for the efficiency (including low noise), and these drives are more advanced with higher data density and larger cache, so the trade-off from slower spin rate may not be so bad.
    You can check your current drive's model number (which is shown in System Profiler) to get the specs online. The stock drive in my old +Late 2006+ iMac is a 7200 RPM drive. The Caviar Black is a 7200 RPM drive, with a newer design. So if you want to use a Caviar Black in there, I think it would be OK.

  • How to detect which data type is passed in ?

    Hello!
     I've built a VI function. But I want to make it more secure - that function could detect which data type is wired to the inputs and allow wiring only certain data types. How can I do this?
     Thanks
    Message Edited by ACiDuser on 05-23-2009 08:13 PM
    Solved!
    Go to Solution.

    I'm assuming you're talking about numeric datatypes. In this case that information is not available to you at the subVI level. The LabVIEW compiler will have already changed the datatype to match what your subVI expects if someone wires something of a different type.
    You could use a variant as your input. Then in the subVI you can use the Variant to Flattened Data to get the type. The OpenG LabVIEW Data Tools VIs will be useful if returning an enum specifying the datatype. Specifically, using the "Get TDEnum From Data VI".
    Now that we've gotten that out of the way, let's talk about the why. Why do you need to do this? What are you trying to "secure"?

  • Which data type for X_Data_Type argument to PlotXY(...)

    Using Labwindows/CVI 2013.
    I'm collecting data and time stamps.
    The time is acquired by calling time( &timeTag );
    timeTag is declared as time_t;
    So now I have a big array of time_t.
    I want to use PlotXY to display the data.  The x-axis of the graph control is configured for absolute time so it will display time and date.
    My question is:
    What data type should I use for the X_Data_Type argument to the PlotXY(...) function?
    Should I convert the absolute time to double and use VAL_DOUBLE?
    Or should I use the time_t values as is and use VAL_UNSIGNED_INTEGER?  Will this still work if I build as a 64-bit application.
    Thanks,
    Kirk
    Solved!
    Go to Solution.

    You can use both: the information is basically the same but using time_t datatype you will loose the fractional part of seconds, which may or may not be a problem for you (apparently is not since you are already getting data using time () and are satisfied with that).
    Look at <cvisampledir>\userint\TimeDateUnits example for an application of time graph using doubles: you can modify the example simply using time () instead of GetCurrentDateTime () and setting the appropriate data type in PlotXY ().
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Which user exit can be use before production order creating?

    which user exit can be use before production order creating?
    i want to check AFPO data,then show error message before production order creating.
    1.i try to use PPCO0001( enhancement when saving the order) to check AFPO data, then show some error message,sap system will generate a abap down error.
    2.i try to use PPCO0007(Exit when saving production order),
    i can show error message,but i can't check AFPO's data.

    Hi,
    You can access AFPOD structure using field symbols.
    Try below mentioned code in routing:
    constants: c_afpod TYPE char30 VALUE '(SAPLCOKO1)AFPOD' .
    FIELD-SYMBOLS: <fs_afpod> TYPE ANY .
    data: wa_afpod TYPE afpod.
    ASSIGN (c_afpod) TO <fs_afpod>.
    wa_afpod = <fs_afpod>.
    Then later you can use wa_afpod in exit PPCO0007. Hope this will work for you.
    Sumit

  • Which data source to be used to bring sales data for customers???

    Hi Gurus,
    I am using 0FI_AR_4 data source for one of report for DSO calculation.
    To complete the DSO( Daily Sales outstanding) calculation in BW I need sales data also for each customer.
    And this should be for all the past 12 months. Based on past 12 months sales data for each customer DSO calculation will be done.
    As this sales data is not available in the the 0FI_AR_4 data source so which other datasource can I use for the same purpose to bbring the sales data for the customer. I am thinking of COPA datasoure..... will it be right choice????
    Or I can go with some other option???
    Thanks in advance......
    Uday Shankar.

    Uday,
    You can use datasource: [2LIS_13_VDITM - Billing Document-Item Data |http://help.sap.com/saphelp_sm32/helpdata/EN/73/0bf23839caf878e10000000a114084/frameset.htm]
    datasource provides billing data item level.
    Srini

  • Which file type should I use and how I use it?

    Hello!
    I need to create a file with some data that has been inserted manually.
    In this file, for example, there are:
    ProjectName1: string1, string7… string10, date1
    ProjectName2: string11, string15… string20, date2
    ProjectNamek: string 100, string 116 … string 140, date1
    I know only one thing: one of the strings.
    What I need to find in the file:
    I need to find the string at one of these rows and get its ProjectName and date.
    For example: if I have string15,
    I should find string15 in the file, and get its ProjectName and date:
    ProjectName2, date2
    Which file type should I use and how I use it? What is the best solution?
    Thanks!

    800512 wrote:
    I need to create a file with some data that has been inserted manually.
    In this file, for example, there are:
    ProjectName1: string1, string7… string10, date1In addition to Pandiya's advice, if the string is always in exactly the above format
    (ie:
    1. ProjectName always starts the line and ends with a ':'.
    2. The rest of the strings on the line are separated by ", " and will never contain ", "
    you might also want to have a look at String.split().
    Winston

  • Please advice which T-code can I use

    hi experts,
    I need a report to display the entire PO created by Company code xxxx from July to Sept 08.
    Please advice which T-code can I use.
    thanks in advance,
    mohammad

    Use ME2N Report on Purchase Orders and Input Document Date From Date and To Date Field and Select the scope of List as ALLES_ALV / as per your Requirement and Execute.
    Else Go to SE11 and Input Table EKKO and then Click on Display / F7 then Execute / CtrlShiftF10 and Input Document Date and Execute.

  • Is it possible to use HP Laserjet P1005 with OS X Mavericks? If not which HP printers can I use?

    Is it possible to use HP Laserjet P1005 with OS X Mavericks? If not which HP printers can I use now?

    https://discussions.apple.com/message/23481997#23481997
    You can also check the HP web site for drivers.
    HP Support
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4159&lc=en&cc=us&dlc=en&s w_lang=&product=3435676

  • Does anyone else use a PDF form to extract data they can then use to populate Dynamic Content in Ill

    Does anyone else use a PDF form to extract data they can then use to populate Dynamic Content in Illustrator?

    You can connect the form to the DB using anODBC connection. This functionality comes as part of Acrobat but the form must be Reader Extended by the full LiveCycle Server version of Reader Extension to allow this in Reader. In your case, if your system is the only on ethat will interact with the DB then this might be a viable solution (but you woudl have to use Acrobat). This solution woudl involve create an ODBC connection in your system then configuring the form to make use of that connection.
    Does that make sense?
    Paul

  • TS1424 I can not login in to my inbox for Apple ID email so i am unable to verify my account, which means i can't use icloud or use the app store.

    I cannot login into my inbox for Apple ID email so i am unable to verify my account, which means i can't use icloud or use the app store.

    For all Users...I just fixed mine and am now able to log on.
    Yesterday there was a Quick Time update to 7.3.1 that fixed a security issue that was allowing access to your computers. I thought that my auto update would install this and it didn't. I had to manually download from apple and install the update.
    http://www.apple.com/quicktime/download/
    I used the "with iTunes" version and now I can log into my account with out the "null" error appearing.
    This was pointed out to my by QuickDraw so he gets all of the credit.

  • Which duplicate cleaner can i use on macbook pro

    which duplicate cleaner can i use on macbook pro?

    Skytag's File Buddy.   I would just use it to sort by file name.  Don't use the duplicate cleanup as it may get too much!  Note it may also show applications as packages, and their contents as individual files within a .app folder.  Do not confuse the various .app folder contents for files that are duplicate, since they are default files for the various Mac OS X applications.   Make sure the duplicates have the same file name and byte size, before choosing to delete one file.

Maybe you are looking for

  • How do I hook up a G3 iBook to my home network with only Windows machines?

    I'm completely ignorant of Apple technology but pretty good for a novice with Windows PC's. To help a family member with an iBook (Mac OS 10.3.9) back up a gazillion family photos (at least 3.2GB in the iPhoto Library), we want to connect his iBook t

  • Issues on iPad with html 5

    The App packager doesn't have a config.xml file so you can't add icons, splash screens, etc. You can do this by exporting to html 5 and packaging on phone gap, however either way I get a blank screen with a play button after the splash screen. Can I

  • Lion - pdf-x has gone - what now?

    I'm missing the pdf-x item in lion. Does anybody know an alternative? Until we switched to Lion we used the "save as pdf-X" for giving flowcharts designed in omnigraffle to our printing department, which can only deal with pdf-x files to ensure the c

  • Quick Question:0FISCPER

    Hi All, I am trying to load data into a transactional info cube from a flat file, Which has 0fiscper and fiscal year variant. How do we enter the values for fiscal year period in csv file? what should be the format? I would appreciate if you can answ

  • Posting to non-open item

    Can you post to an account if there are no open items?