Actionscript 3 :: Flex SharedObject Crash?

Feb 12, 2007

I am working on a flex project using sharedobjects to store information on my server. I am not 100% sure how to do this, so I was looking up tutorials and came across this bit of code:

nc = new NetConnection();
nc.connect("rtmp://[website here]");
so = SharedObject.getRemote("ballPosition", nc.uri, false);

[code].....

View 7 Replies


Similar Posts:


Media Server :: SharedObject.NoAccess Error When Trying To SharedObject.getRemote?

Feb 18, 2012

I've installed developer version of Flash Media Server 4.5 and trying to get remote object, but no matter how I call my object all i get is this error .I've rad configuration guide and it told me that I should set StorageDir for shared objects, enable RPC (<RPC enabled="true">) and allow shared object (<Allow>users</Allow> in <RPC> - <SharedObject> tags)

View 1 Replies

Flex :: Itemrenderer Crash When Selected?

May 27, 2011

have an advanced datagrid with a simple custom mxadvanceddatagriditemrenderer. I want the renderer to only display an image when the row is hovered or selected. Right now I am doing that by using the excludeFrom="normal" tag on my image.

It works fine (minus the selected state, it disappears when selected) when I have the states hovered and normal defined. When I try to define a selected state, upon row click I get the following error:

RangeError: Index 0 is out of range.
at spark.components::Group/checkForRangeError()[E:dev4.xframeworksprojectssparksrcsparkcomponentsGroup.as:1106]
at spark.components::Group/setElementIndex()[E:dev4.xframeworksprojectssparksrcsparkcomponentsGroup.as:1265]

[code]....

View 1 Replies

Flex :: Why SWF Causing Flash Player To Crash

Aug 6, 2009

I've got a flex-based swf, which is loading an AS 2-based swf and then, negotiating further activity via a LocalConnection. From time to time, the AS 2-swf can request that the flex-based swf load a movie. I've arranged this via on(release){} functions. The AS 2-swf, I'm making in Swish Max. In Swish, when I set the on (release) on a text field, (to invoke .send() on my localconnection), it works splendidly. However, when I attempt to perform the same calls for an on(release) attached to a movieclip, it actually causes the Flash player, and even the browser plugin to crash. In fact, the browser (IE) crashes as well. I checked the debug trace that ie asked me to send to microsoft at the last IE crash, and i noticed a StackOverflow exception embedded deep in the trace, but I couldn't determine its source.

View 5 Replies

Html :: Rescue Flex HTMLLoader Crash?

Jun 7, 2011

I use HTMLLoader component, and I have to load thousand of different websites per days by this component.But some times, HTML component produce several crash/days of my AIR application

View 2 Replies

Flex :: Eclipse Adobe Plugin Causes Crash

Jul 4, 2011

I installed the Adobe Flash Builder 4.5 which includes the eclipse plugin.I want 2 use my existing eclipse, so I copied the contents of plugin and features folder to existing eclipse folder.I see the Flex features in Eclipse, but trying to open the Flex Builder Path causes eclipse to crash. Error Message is :

"Please uninstall and reinstall the product

If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.[code]...

View 2 Replies

ActionScript 2.0 :: Flex 2: Crash Bug In Canvas.measure?

Oct 6, 2006

The program croaks when measureContentArea (in package mx.containers.utilityClasses, file CanvasLayout.as ) loops through the target's children from 0 to target.numChildren. When the program errors: n == 1, i == 0, and target.numChildren is now 0, when it was 1 before the loop. target.numChildren has changed while the loop is running. It's as if a child was removed by some side effect of calls in the loop.

This happens even when I have many IOComponents on the screen: Here This baffles me because I don't see how I can debug it. I do add and remove and insert children in my game code, but unless ActionScript is threaded I don't see how my code can reach into a loop in CanvasLayout.as .

View 2 Replies

Flex :: Add Detailed Remote Crash Reporting To Air Application?

Mar 1, 2010

I will be releasing my Air/Flex application soon, but I am pretty sure there are a couple of bugs that may pop up on the various platforms that Air is available for. So I was wondering if there is a way to implement a mechanism, that would send an error report, logging where the error happened, to a remote server each time an app crashes? This way I might catch errors that otherwise would go unnoticed.

View 1 Replies

Android :: Debug A Crash With A Flex/AIR Mobile Application?

Sep 12, 2011

I have a flex app using the 4.5.1 sdk and AIR 2.7 running on an Android 3.2 tablet. During use, I can get it to crash fairly regularly. It's usually when I'm rapidly scrolling around in a List control. I can't seem to find the cause.

The application will just suddenly close. It happens in both debug and release builds.

When in debug mode, it just disconnects from the debugger and doesn't give me any useful information.

I'm at a loss on how to debug this. What are some techniques I can use?

I found the "adb logcat" command. Relevant info from the log below, unfortunately it doesn't mean much to me.

[Code].....

View 2 Replies

Flex :: Flash Player 10.1 Crash On Shared Object Access

Jun 14, 2010

since updating my Flash Player plugin from 10 to 10.1, I'm seeing a weird crash when accessing shared objects. Flex Builder's debugger pops up and prints a stack trace like this:

undefined
at flash.net::SharedObject$/getLocal()
at my.code::MyClass$/load()[/my/path/to/my/MyClass.as:27]
(...)

This happens when calling SharedObject.getLocal("someString") for the second time for the same string, though it doesn't always crash. When using another browser on the same machine (not configured as the preferred debugging browser in Flex Builder), Flash Player remains silent. The code is wrapped in a try/catch(Error) block which does not catch this error. I'm using Flex SDK 3.5 and Flex Builder 3 on Mac OS X 10.6.3.

View 4 Replies

Actionscript 3 :: Flex Using Sharedobjects To Store Information On Server - Crash

Aug 26, 2011

I am working on a flex project using sharedobjects to store information on my server. I am not 100% sure how to do this, so I was looking up tutorials and came across this bit of code:

[Code]...

But when it gets to the 3rd line, it crashes. I don't know how to use the debugger for flex sadly enough

View 1 Replies

Flex :: Enumerating Keys In SharedObject?

Mar 21, 2011

in my code i get SharedObject instance:

_so=SharedObject.getRemote("streamSO",_soConnection.uri,true);

is it possible to enumerate everything under _so.data without prior knowledge of property names?

View 1 Replies

Flex :: Crash - IntelliJ IDEA Wrapper Html Crashes Browser?

May 22, 2010

I'm building an Flex 4 application using IntelliJ IDEA 9.0.2 generated sample Flex application. I replace the generated mxml with the following code from the book Hello Flex 4. It simply crashes the browser when I run it. It says "Waiting for [URL]..and then crashes I tried it on both FF 3.5.9 and Chrome 4.

[Code]...

View 1 Replies

Java :: Flex Compiler - Mxmlc - Makes 64bits JVM Crash (dcpr.dll)

Aug 12, 2010

I have a web application that converts SVG files into swf ones. In order to do so, there are 3 steps:

1 - Running through SVG Files in a folder

[Code]...

View 2 Replies

Flex :: Error #2130 Unable To Flush SharedObject

Apr 22, 2010

I cant flush the shared object in my project. What can I do for that problem?

View 4 Replies

Recovery - Flex: Recover From A Corrupt Local SharedObject?

Mar 29, 2012

My Flex app uses local SharedObjects. There have been incidents of the Flash cookie getting corrupt, for example, due to a plugin crash. In this case SharedObjects.getLocal will throw an exception (#2006).

My client wants the app to recover gracefully: if the cookie is corrupt, I should replace it with an empty one. The problem is, if SharedObject.getLocal doesn't return an instance of SharedObject, I've nothing to call clear() on. How can I delete or replace such a cookie?

[Code]...

View 2 Replies

ActionScript 3.0 :: SharedObject Error: Error #2134: Cannot Create SharedObject?

May 9, 2011

Gives me this error:

Error: Error #2134: Cannot create SharedObject.
at flash.net::SharedObject$/getLocal()
at as3_shared_objects/showVar()

[code]....

View 2 Replies

Flex :: Upload Image Then Share Without Saving The File Using SharedObject Or Anything?

Jun 10, 2011

I'm currently working on a chat with uploading an image and sharing it. The problem is I can upload and display the image but I can't share it to the other side. Here is some code:

[Code]...

View 1 Replies

Java :: Send Data From Red5 To Flex Using Remote Sharedobject

Jul 3, 2011

I want to send data from Red5 to Flex using remote sharedobject.

my Red5 code :

this.addScheduledJob(5000,new IScheduledJob() {
@Override
public void execute(ISchedulingService jobs0)

[Code].....

it doesn't shows error or warning, but my flex function doesn't work, even Alert in my function not working.

View 2 Replies

Flash :: Flex 4.5 IOS Mobile Project: SharedObject Doesn't Seem To Work

Oct 27, 2011

I'm trying to use a SharedObject in a Flex 4.5 mobile project. The SDK I'm using is 4.5.1, and the AIR version is 2.6.0. I'm trying to locally store user credentials for my application using this piece of code:

[Code]...

View 2 Replies

Flex :: Adobe Air: Drag Application Crash - Error #3200: Cannot Perform Operation On Closed Window

Nov 23, 2009

Now I set dragEnabled="true", dropEnabled="true" and dragMoveEnabled="true" to archive the ability to reorder my Items via Drag and Drop. But as soon as I start to Drag an Item the whole Application crashes with:

[Code]....

View 1 Replies

Crash When Exporting Air For Ios

Feb 23, 2012

Flash crashed when i export an AIR Application for IOs.

Flash shows the following error code:

invalid memory access of location 0xc eip=0x58492db4

The problem is only exist for IOs. Export for Android and general air is successful.

View 1 Replies

Logging - Where (on OSX) Is The Flash CS4 Crash Log

Apr 15, 2010

I have one particular FLA that is crashing every time I try to compile (after switching to Snow Leopard). Flash just stalls and I am forced to use "Force Quit"... I have no idea what could be causing this and I cannot find any crash report. Where on the system does Flash put crash logs?

View 1 Replies

Flash :: IDE = CS3 Crash When Publishing

Jun 15, 2007

Installed Flash CS3 for the first month and everything was working ok. But mayhem kicks in the last couple of days when i tried to publish my document. it just keep crashing. i tried creating a new document with just one line of text and it still crash upon publishing. I uninstall the program, run winCS3Clean and install the program, THRICE, but the problem just wouldnt go away. this is very frustrating.

View 14 Replies

Crash When Changing Publish Settings?

Jun 2, 2009

I turned off all the check boxes in my Publish Settings dialog except for making Macintosh and Windows projectors. Now, when I try to check ANY of the check boxes (Flash, HTML, GIF Image, etc...), Flash crashes.

View 3 Replies

Flash CS4 :: Crash On Library Import?

Jun 16, 2009

Flash CS4 is crashing every time I attempt to import a collection of jpegs to the library.I've tried small groups (crashes eventually), running in obselete compatibility modes...This seems common (though no fix I've seen actually works) - is there an appliccable FAQ?

View 3 Replies

Immediate Crash When Switching To Graphic Tablet?

Oct 29, 2009

I just try to work on a document and need to draw something with my graphic tablet, but everytime I switch from mouse to graphic tablet, Flash crashes immediately.Is there any way to make it work WITH the tablet?! I remeber it worked once, but now it's pretty f**ed up.

View 1 Replies

Flash :: CS5 Crash When Editing Preferences?

Mar 25, 2011

Does it happen to anyone else when you edit anything in the preferences window that Flash CS5 crashes? I've reinstalled the program as well.. any tips I can try?

View 2 Replies

Flash - Crash When Linking SWC With Alchemy

Apr 12, 2010

I have a project I'm trying to compile with alchemy. It will compile .o and .a files, but when trying to create a .swc, it will fail. It appears to crash with this error:

g++ -swc -o mylib.swc my-flex-interface.cpp mylib.a
Cannot yet select: 0x279c810: ch,flag = AVM2ISD::CALL - A call instruction 0x279c7a0, 0x29c4350
0 llc 0x00636dfe _ZNSt8_Rb_treeIN4llvm3sys4PathES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE13insert_uniqueERKS2_ + 6078
1 llc 0x006373a2 .....

View 1 Replies

Actionscript 3.0 :: Cube Crash Like Game

Jan 31, 2012

I'm trying to build game like [url]... in actionscript 3 (flash builder).I am able to create an array of bricks (that are visible on game start), but I have no idea how to find a group of bricks in array.[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved