A query regarding the creation of shared objects.

Hello

I have a query regarding the creation of shared objects.

I saw an example where the author is creatining Shared Object as shown
below:


SharedObj = null;
sharedObj = SharedObject.getLocal ("myTasks");

and there is nothing related to the word "myTasks" anywhere in the Application.

Can someone please let me know what this word "myTasks" mean here?

Thanks in advance.

Hello

With a shared object, it will create one if it does not exist, then "myTasks" becomes the name of the shared object or if it exists it will load all the objects that are in the shared object.

Here is a simple example that uses the sharedobjects to store the connection information.

http://gumbo.flashhub.NET/login/

David

Tags: Flex

Similar Questions

  • Query regarding the change of the background color of an input text

    Hello
    I want to change the background color of an input text element. When I tried with the background color inline style, he has changed the color of the label instead of changing the background color. Is there a way I could do?
    Thanks in advance

    Hello

    Use the contentStyle property (or counting af: inputText::content if you want to change it in one place for all input text fields)

    Frank

  • The creation of Group of disks with clever storage capabilities enabled? Attribute of Req

    Hi Experts,

    We have a single query about the "creation of the disk group with Smart storage capacities Enabled? Attributes of Req? How to set and list of minimum parameters

    -Vincent

    Hi Vincent,.

    Basically, it should set the following parameters for exadata smart storage features:

    compatible.RDBMS a.
    compatible.asm b.
    c. cell.smart_scan_capable

    Also, please update what is the version of database Oracle & Exadata version...

    It could be that useful...

    Thank you
    LaserSoft

  • Shared Object working locally, but not online

    My game saves your high score using the sharedobject object and the test it locally it works fine, but when the swf file is published and played online, it does not record the score of salvation. Is there some kind of new security problem with the registration of shared objects on the hard drives of the people now?

    you only need a sharedobject, but it will not cause a failure to use two.

    However, your 3rd line of code is problematic and should cause an error when you download (and it is no longer a sharedobject that hiscore associated with this server).

    You must use:

    {if (OwlHiScore.Data.HiScore)}

    hisc.mainScore.text = (OwlHiScore.data.HiScore) m:System.NET.SocketAddress.ToString ();

    }

  • question of shared objects...

    I create a kiosk with room for comments from visitors.  There are several sections to the kiosk each with their own standalone .swf file (not browser based; no html).  I plan on the use of shared objects to collect the entrance of visitors in each section and these will be periodically reviewed by the staff of the Museum before actually posting.  My question is, can I create a .swf to the staff of the Museum that uses a table to examine each of the SO created by the different sections or will a flash read ONLY in a SharedObject file, forcing me to create a separate application for each section for the staff of the Museum?

    Thank you!

    It depends on how you define your so if they are defined with the more permissive setting ("/"), you can use a swf to load all the so

  • Creation of several objects in resource for OOTB connectors

    All,

    I am trying to create a second object of resource AD user for the STANDARD connector. I'd like to think that the connector AD (and all connectors, for that matter) has been designed to manage the creation of several objects in resource for the same Types of resources, but I'm bad? It does not appear the IOM connector can handle this easily.

    Does anyone has created several objects of resource for a connector? It is a relatively simple task, or it will require a big effort? Is it still possible? Pointers?

    Thank you!

    I'll give you a little help with replication. I found the best way to do is to import the original connector. Cross the diff鲥ntes pieces that each have a unique name, which is not part of one of the other names of piece. You must have unique names for the following:

    1 object resource
    2. process definition - commissioning
    3 resource
    4. form - process
    5 scheduled task

    After you import the connector, all of the following for renaming into something unique. I would also update your form of process to have a default value of your IT resources, as well as your scheduled task for point values to new unique names. Export the 5 elements, without addictions. The cards will be the same. Use find and replace the values, and then import the new XML. If it works, duplicate the XML file for each of the new workflows that you want to create.

    -Kevin

  • anyone having problems with the shared objects in iOS?

    I have a program that uses shared objects to keep track of the level information. It works well in android, but it stopped working in the iOS. He used to work in the iOS I think. What could happen? My shared object is always undefined in iOS

    -Scott

    Hi Scott,.

    It seems that you explicitly 'flush' data in the SharedObject instance on iOS, see about similar:

    http://forums.Adobe.com/message/3731055

    Try the linked thread implementation details and post if it works,

    HTH,

    Kind regards

    Peter

  • Video metadata date is incorrect: the value and not of creation date sharing

    10 iOS, iPhone 6 +, Windows 10. Photos and videos are shared through iCloud, but NOT stored in iCloud.

    Once synced on my PC, the photos and videos have a truncated name (for example, "016a1f2e11dfcc680e1009cb96346b67678fb2c6bc.jpg"). Of course, this is not acceptable at all to me when I organize them on my NAS: I prefer a significant, sortable name, as "2016-09-16 18-15-20259 (Apple iPhone 6 more) .jpg.

    To do this, I simply read the EXIF information directly from the image, and I rename the image accordingly. No problem for the photos.

    But for videos... I do the same, in the world, but with less information. I can extract only creation date/time from metadata of the videos, not the unit that captured video. Sad, but I have not found anything else, and at least it's automatic.

    Recently, I found that the date in the video file is NOT correct: this is the timecode of SHARING via iCloud, not the timecode CAPTURE. I have therefore some videos with a delta of two weeks between the true creation as well as the "official" date

    I checked this on my phone: date is correct (once the video is no longer in full screen, the date is displayed at the top of the screen, and it is 'the' date I'm looking).

    So, question: How can I get the date of the 'real' creation of all these videos on my PC? It exists: it appears on the iPhone that took the video (a woman) AND mine. Information is 'lost' only on the PC, but I think it's a problem of reading of 'bad' metadata (I use FFMPEG to get currently), or the wrong file for reading (perhaps within an iTunes/database file, but didn't find, not found in the registry or the other).

    Best solution is to find something operate locally, through the command line, to do it in batch mode. A solution of GUI PEUT agree if I can automate with AutoIt (i.e. should not be a native Win32 application, not Java, .NET, GTK, QT and so on, OR must have an export feature). A solution based on the web is not suitable, but can be less boring to review each video one after another to manually check the date.

    Thanks in advance.

    In my opinion, the only way to fix this is with third-party software like this one.

  • Cannot bind to the shared object created with LabVIEW 2009

    I have problems referring to a shared library built from a LabVIEW VI under RHEL 5 with LabVIEW 2009.

    To illustrate the problem, I created a VI with a digital input and output that corresponds to a certain number. Then, I created a draft specification of build to create a shared library with a feature that makes use of this VI square. The shared object is created successfully (square.so).

    When I try to compile a test application written in C, that connects to this library, I get errors in the following link:

    cc  -I/usr/local/natinst/nidaqmxbase/include -I/usr/local/natinst/LabVIEW-2009/cintools build/square.so  test.c   -o test/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(float&)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(double&)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(double&)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_ostream >& std::basic_ostream >::_M_insert(double)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(float&)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_ostream >& std::basic_ostream >::_M_insert(double)@GLIBCXX_3.4.9'collect2: ld returned 1 exit statusmake: *** [test] Error 1
    

    Running ldd reveals that liblvrtdark.so.9.0 is used for the execution of labview.

    In order to investigate on what could be the cause of the problem, I have compiled the nidaqmx basic examples, and I don't have an error. Current running ldd as reveals that he uses liblvrtdark.so.8.2 for the view of laboratory, time of execution.

    My suspicion is that some components of labview are being compiled with gcc 3.4 while others are being compiled with gcc 4.1 (which is the default compiler in RHEL 5).

    Any ideas how I could fix the build errors?

    Thanks in advance for your suggestions.

    PS.

    I enclose a tar file with the source files and here are the details of the ldd:

    ldd build/square.so         linux-gate.so.1 =>  (0x008de000)        liblvrtdark.so.9.0 => /usr/local/lib/liblvrtdark.so.9.0 (0x00b9c000)        libc.so.6 => /lib/libc.so.6 (0x00110000)        libstdc++.so.6 => /usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6 (0x009a7000)        libm.so.6 => /lib/libm.so.6 (0x00756000)        libdl.so.2 => /lib/libdl.so.2 (0x00256000)        libpthread.so.0 => /lib/libpthread.so.0 (0x0025a000)        /lib/ld-linux.so.2 (0x00b80000)        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00272000)
    
    ldd /usr/local/natinst/nidaqmxbase/lib/libnidaqmxbase.so.3.3.0         linux-gate.so.1 =>  (0x00e50000)        libnidaqmxbaselv.so => /usr/local/lib/libnidaqmxbaselv.so (0x00248000)        libc.so.6 => /lib/libc.so.6 (0x00689000)        /lib/ld-linux.so.2 (0x00b80000)        liblvrtdark.so.8.2 => /usr/local/lib/liblvrtdark.so.8.2 (0x00e51000)        libdl.so.2 => /lib/libdl.so.2 (0x00813000)        libpthread.so.0 => /lib/libpthread.so.0 (0x001b0000)        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x009c7000)        libm.so.6 => /lib/libm.so.6 (0x00b0a000)        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0050c000)
    

    Hi mimi,

    I'm happy to report that I managed to get the code to work. I have included some of the steps I experienced the problem in case it might help improve the documentation or future generations.

    In response to your question about the "error 1" reported by do, it's just an indication that detected a compiler error (it probably resembles the return code of the compiler).

    The errors ' undefined reference... @GLIBCXX_3.4.9 "have been narrowed down. The generated labview shared library, the square.so, links to /usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6 which is a symlink to usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6.0.9. I decided to compare this version of libstdc ++ that included with RHEL:

    strings /usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6 | grep GLIBCXXGLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIBCXX_3.4.3GLIBCXX_3.4.4GLIBCXX_3.4.5GLIBCXX_3.4.6GLIBCXX_3.4.7GLIBCXX_3.4.8GLIBCXX_3.4.9GLIBCXX_FORCE_NEW
    
    strings /usr/lib/libstdc++.so.6 | grep GLIBCXXGLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIBCXX_3.4.3GLIBCXX_3.4.4GLIBCXX_3.4.5GLIBCXX_3.4.6GLIBCXX_3.4.7GLIBCXX_3.4.8GLIBCXX_FORCE_NEW
    

    So libstdc ++ RedHat does not include a string for GLIBCXX_3.4.9.

    With this in mind, I was able to get my test application to compile using the version of LabVIEW libstdc ++ using the following makefile:

    .PHONY: all cleanCPPFLAGS=-I/usr/local/natinst/nidaqmxbase/include -I/usr/local/natinst/LabVIEW-2009/cintoolsLDFLAGS=build/square.so \        /usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6 \        -Wl,--rpath -Wl,/usr/local/lib/LabVIEW-2009/patchlib/
    
    all: test
    
    clean:        rm -f test *.o
    

    When you try to run the application, I got the following error:

    ./test: error while loading shared libraries: /usr/local/lib/liblvrtdark.so.9.0: cannot restore segment prot after reloc: Permission denied
    

    But apparently, it's because of SELinux prohibiting the use of libraries shared with moving text.
    This can be disabled by running /usr/sbin/setenforce 0 as root.

    The test application now works!

    See you soon,.

    RW

  • using the shared object

    The game I'm going to have a modified visual element.  Is it possible to save the entire objects?

    The way I see now I have either the database of every possible item edit and save whoever he is, or save each property of the item in a way where it can be re-created whenever it is loaded.

    Yes, this last part of what you said is what you need to do, where it is via a database or a shared object... 'save each property of the item in a way where it can be re-created whenever it is loaded' the choice is that you want to carry the burden of storing data on a server versus storing locally on the user's computer.

  • The Adobe Labs Cirrus Server does support Shared Objects?

    Anyone know if the labs of adobe cirrus free service provides support for remote shared objects?

    Im trying to use a remote shared object to communicate between instances of my NearID flash application.

    Synchronization event does not fire after setting a property on the shared object, no errors are triggered either.

    function initialize (): void {}

    try {}

    SO = SharedObject.getRemote (false "distinctive sign", NetConnection.uri),

    }

    catch (error: Error) {}

    status_textbox. Text = Error.ToString;

    }

    SO.addEventListener (SyncEvent.SYNC, syncUpdateHandler);

    SO.addEventListener (NetStatusEvent.NET_STATUS, netConnectionHandler);

    SO.connect (NC);

    SO.setProperty ("nearid", NC.nearID);

    }

    function syncUpdateHandler(event:SyncEvent):void {}

    status_textbox. Text = "Sybc Trigerred ';

    }

    The help is much appreciated, thanks in advance.

    the name of Cirrus service code does not support shared objects. Cirrus isn't FMS.

    the * only * things done Cirrus are: accepts client connections P2P Research/introduction by peerID, bootstrap group RTMFP (via "server channel" if active group) and a short message relay function.

    things Cirrus does not: save data, stream video on demand, relay of client-to-Server stream between connected clients, shared objects, scripting on the server or any other function FMS side performs.

  • shared object why? If you already have all the data in a mysql database

    Hello.

    I see that a shraed object can be used to store the data locally is to say: what avatar you use, what level you are and what the screen you are currently on. But why you need or use a shared if object you all this info on a mysql database, anyway.

    In addition, a shared object can get destroyed as you clear the cache, as many people have. In addition, Governments are looking at the cookies and they start to hang.

    That is to say: should really so we have?

    I quite often to store a user name in a shared object and pre-fill the login form

    most of the browsers that will be for text html in any case boxes

    you could add an option "Remember me on this computer" connect directly, and then you would save username and password

    your site might only need to login to some privelidges, like posting in a forum. You may want to save the preferences for the shared object if they are applied before the opening of the session

    BTW, the shared object is not a cookie. clear cookies, cache and browser history make the shared object. In fact I bet that most of the users don't know how to delete it.

  • prevent the creation of objects when duplicate areas of diagram

    Hello

    When on is a copy - paste in the diagram of an object in front, a new object is automatically created.

    If the fact a copy - paste of a local variable associated with an object en front, a new object is also created on the front.

    There - it a way to avoid it?

    IE to be able to copy - paste local variables in the diagram without adding to each time an object in the front.

    I wish I could duplicate areas whole diagram that contains the local variables without creating new object...

    Thank you

    Gregory

    OK, I got the answer.

    Please select the local variable, press CTRL and the move.

    Gregory

  • With regard to the creation of the wish list

    Where the creation of desire come at ATG out of the box? What component/class is responsible for creating repository wishlist item?

    Because when a user registers, there will be a list of default assigned.

    Thank you.

    If you look at the ProfileAdapterRepository, there are properties on the user point-descriptor called giftlist and wish list which are both of type the GiftListRepository giftlist. Every time that an item the user is created, a correspondent giftlist/wishlist will be created. If you don't want to do, you need to remove these properties in a custom userprofile.xml.

    If you are looking to create a new, GiftlistTools (ATG Java API) will create a new giftlist (use the same method if you want a new wish list.

  • A small query on last time of the compilation of an object

    Hello

    By which point of view, I see last time of the compilation of an object?

    My version of the database is 9.2.0.4.0

    Thanks in advance

    Hello

    USER_OBJECTS last_ddl_time field

Maybe you are looking for

  • Browser is stuck in mode full screen, restart does not help.

    I entered the mode full screen on a website and now cannot get out. Restarting my computer does not help. Problem is that when you are using Firefox, no other browsers. Firefox continues to open full screen mode whenever I open it, and I have to rebo

  • Origin of the Firefox logo

    Hello, I'm a fan of Firefox, and it is not a problem as such, so apologies if I lose all the time! I'm a designer, so I couldn't help but notice the similarity between the logo of Firefox and the moon. I ran over a picture of the Moon horizontally an

  • Printing with Safari and Firefox

    Lately, some sites say that they do not support older SAFARI browsers. When I print something, print is extremely low, even with a new print cartridge. When I print with FIREFOX, printing is crisp but the print menu displays the pages. Therefore, I'm

  • PXI-6070E, how can I configure which are two analog input pins?

    Hello I'm reading 3 analog signals using PXI or 6070E simultaneously. I'm looking for on what axes correspond to what analog inputs? It's the same thing all the time, or should I set up? For example, currently, the pines 68 and 34 are the + and - of

  • Impossible to uninstall Norton

    I did a reset of my laptop, lost I've installed all the programs.  While trying to install my Microsoft Antivirus trend, it has not transferred due to a failure to uninstall Norton antivirus. I tried to uninstall previously, I thougth I did, but when