Actionscript 3 :: AIR Application Fails To Start ServerSocket Then Published

May 27, 2011

I have strange problem, then I test AIR application in Dev mode - it creates working ServerSocket object. And acts as a server normally.If I package it as AIR app and install on windows it stops working - server is not created on designated port..[code]Or may it be because I am using generated Certificate?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: XML Thumbnail Gallery Fails When Published

Feb 10, 2008

I believe it's a scoping issue?????

[Code]...

View 1 Replies

Flash :: Professional CS5 Fails To Start?

May 27, 2010

I've bought the new Adobe Web Premium CS5 and I have big problems with the Flash Professional CS5.

First time the application started correctly, but didn't start next time. I always had to remove all application settings in "Documents and Settings/user/Local Settings/Application Data/Flash CS5", what is already not very good.

View 13 Replies

Media Server :: FMS Service Fails To Start Automatically

Nov 8, 2010

I have Flash Media Server installed on Windows Server 2007. I configured the Flash Media Server service to Automatic (Delayed Start), using a network logon instead of the local system account. In case you are curious, I use the network logon for the service because I need Flash Media Server to be able to access media stored on a network share. My problem is that, despite the Automatic start, the service does not seem to start automatically. Also, if I log out of that network account, the service seems to stop. what I can do to make sure that Flash Media Server will always start, as well as keep it running even if no accounts are logged in?

View 1 Replies

ActionScript 3.0 :: Scrolling A List In Application Published For IPhone

Jan 25, 2011

I am creating an application in Flash CS5 which will be published for iPhone. I need to scroll a list of entries, just like we have a list of songs in iPhone. I am not able to get how to make the scrolling of the list possible. I tried using TouchEvent class but it is not firing any method in Device Central.

View 1 Replies

Flash :: Start IPad Application From Another Application Builtin

Aug 19, 2011

Do you know is it possible to start iPad application from another application that is developed in Flash? I need to create small iPad app with two buttons (and some graphics/animation) in Flash. Clicking on those buttons, another iPad application should be started. My guess is that will use ExternallInterface, but I don't know what to send :)

View 1 Replies

Flex :: PenWithDefaultApplication Fails On Files In Application Folder

Oct 29, 2010

I'll ONLY recieve an "Error #3000: Illegal path name" if I try to open a file which is placed inside the app-folder of the air. If the file is somewhere else outside of the app-folder it works.

private var file:File = File.documentsDirectory;
public function download():void{
var pdfFilter:FileFilter = new FileFilter("PDF Files", "*.pdf");

[Code]....

When i try to get the same file and copy it to another place it's doing fine.

Why that? Something special to do if i wanna open files which are inside the appfolder? It also don't work in debug mode - bin-debug.

View 1 Replies

Flash - AMF Sockets Out Of Sync When Using ServerSocket In AIR?

Mar 2, 2011

I have two (+) systems on a local network running an AIR application that need to send/receive updated positions and other events between each other. I'm currently using an AIR-based socket server one of the instances. The AMF and strong typing works great. What doesn't, however, is the syncing between clients.

In my example below, clientA is trying to send an AMF packet to clientB. The SOCKET_DATA events fire off as expected on the server, in sync with the mouse, however the data that clientB receives very quickly gets out of sync and events are lost.

It's fine if an occasional event gets dropped, however I need to know the most recent SOCKET_DATA event has the latest data. Instead, it just contains increasingly older data.

Code Snippets:

clientA writeObject: (on MOUSE_MOVE to test large number of events)
protected function stage_mouseMoveHandler ( pEvent : MouseEvent ) : void
{

[code]....

View 1 Replies

Flash - Have A XMLSocket On The Server Side For AIR ServerSocket?

Jun 28, 2011

I have two software to create with AIR: a server and a client. Both with AS3 and AIR.I want to avoid having a big architecture with Remote Shared Object, or using BlazeDS, or having to set a Java / Python / ... server in the middle.In order to avoid having to parse socket data in the server and in the client side, I thought about using XMLSocket on the client side: the data arrives in a way which is already parsed by the Flash framework.However, when I use this XMLSocket with the AIR ServerSocket, the "connect" event returns me a raw Socket on the server side. So I have to manually manage the XML data on the server side.

Is there a way to also use an XMLSocket on the server side to communicate with the client? A kind of trick to convert the returned Socket into an XMLSocket?If there is an AS3 library which manages that, I did not find it.

View 2 Replies

Flex :: Fails With "Error: Could Not Resolve <s:Application> To A Component Implementation"

Mar 22, 2010

I'm just starting with Adobe Flex on linux, and can't get the hello world example to work. My application.mxml file is simply

[Code]...

View 1 Replies

Flex :: Start Application From A Simple AS File?

Oct 27, 2009

I want to use vkontakte's new wrapper feature, that enhances your application abilities by running under SWF wrapper. This is a sample application that uses this mechanism. It uses pure action script to display it's contents rather than an mx:Application.

Using the wrapper on my mx:Application failed due to the following error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::FocusManager/activate()[C:autobuildgalagaframeworksprojectsframeworksrcmxmanagersFocusManager.as:702]
at mx.managers::SystemManager/activateForm()[C:autobuildgalagaframeworksprojectsframeworksrcmxmanagersSystemManager.as:2493]
at mx.managers::SystemManager/activate()

[Code]...

Unfortunately - it also failed, and the question remains, how to start Application from a simple AS file?

View 2 Replies

Media Server :: Any Way To Get Application To Load Automatically On Start?

Aug 10, 2011

We're trying to implement a load-balancing mechanism between FMS hosts in a virtual "farm". The mechanism we're using is to have the FMSs periodically send "load" data (along with a timestamp) to an application server. That server will then use that load information and timestamp to detect when an FMS server has gone down and to make stream assignments to FMSs. Right now, I've implemented this code via a setInterval() in live/main.asc.

I've added a "return false" to Application.onAppStop() to (according to the docs, I haven't tested this yet) keep the server from shutting down an idle instance. How do I get the interval running before the first request hits the application (and forces the load of the application)? I've tried putting the setInterval in onAppStart() and as a global. In both cases, it only gets executed after application is loaded. Any way to force an application to load (via a config file parameter or local command-line)?

View 2 Replies

XML :: Loading File In Flex Before Application Start / Initializes

Jul 22, 2009

I've got a configuration xml file that I need to parse for values before a flex application loads. I've created a static class that allows for the values in the xml config file to be retrieved. I'm initializing this class when the application first loads but as the xml file is loaded with a Loader class that loads a synchronously the class is being asked for values before the xml file is actually loaded - so it is throwing a error. Is there a way to load this xml file synchronously. We cannot embed the file as a class variable as we need to be able to change the values remotely.

View 5 Replies

Media Server :: Start With FMS For Implementing Web Conferencing In A Web Based Application

Jun 7, 2010

I have requirement of web conferencing for my website. for implementing that I have gone through google.Many suggested that go for FMS. I have never worked with FMS earlier.And requirement is urgent.Some people write that u hv to coding in Action Script 3 and I dnt knw Action Script. currently i need one to one conferencing...one to many can be done in later phase.
 
I m working as a developer from last 4 yrs on Microsoft Technologies. how to go about and is it right decision to start with FMS or any other alternative is there. What tools and which edition of FMS will be required?

View 1 Replies

Flex :: Setting Text Property Of A Combobox On Application Start?

Jul 20, 2011

I am using the combocheck example from the following site: [URL]

It's a very useful component and works very well.

Now, I need to set the text property of this combo box upon application startup with certain values (which are defined dynamically according to some criteria). The problem is that although I have no problem setting the text property of the combo box at other times of the application run, setting the property at startup seems to have no effect unfortunately.

For example, I want to set the text property of the combobox to "Bob" (which is one of the items in the dataprovider for the combobox) and the "set text" method is called on the combo box. Performing a step-through shows that the "set text" method is receiving the correct value item but not setting the _text property.

I have tried not doing anything until "ApplicationComplete" but no joy there either.

Here is the code (a combination of the code from the URL above and some other changes to it). However, as I've stated above, the codes does work. The problem is that it doesn't work at the application startup. Whenever an event is fired and setComboText is called as a result, the text of the combo box is set correctly.

private function onComboChecked(event:ComboCheckEvent):void {
var obj:Object=event.obj;
var index:int=selectedItems.getItemIndex(obj);

[Code]....

View 2 Replies

Actionscript 3.0 :: CSS - Make An Application For The Iphone - What / How To Start Learning Objective-C

Mar 13, 2010

I know javascript, CSS, AJAX, and HTML/ XHTML. I was told to learn these in order to make an application for the iphone. Now what? What/how do I start learning objective-C?

View 1 Replies

Flex :: Start Creating Voice Chat Application Using Adobe And Red5?

May 5, 2011

I will create a voice chat application with Adobe Flex and I want use the opensource Red5 as a server.But, I confuse how to start it. it's possible just use NetStream and NetConnection?

View 1 Replies

Flex :: Activate An Application So The User Doesn't Have To Click Inside It To Start Getting Keyboard Events

Nov 26, 2010

My Flex application is heavily keyboard-oriented. It uses 100% of the browser window and I'd like the user to be able to start using it immediately - as soon as it loads. However, it seems that the application is only first "activated" (i.e. the activate event fires) when the mouse clicks somewhere inside it, which is very inconvenient for my keyboard-heavy app.

Can I force an activation of my app at some point during/after it loads? I hope I don't have to display some silly "click inside to activate" overlay every time the page loads..

In certain browsers ([cough] Chrome [/cough]) the focus is lost whenever the user switches away from the browser (or even touches the address bar) and is not regained when switching back. So the solution has to take in consideration not just the first focus when the page loads but also "re-focusing".

View 2 Replies

Windows :: Start Air/flex Application With Windows?

Sep 21, 2009

I want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?

View 1 Replies

ActionScript 3.0 :: Once The User Clicks Start Again The Questions And Answers Arrays Start From The Beginning, Sort Of Reset Themselves?

Jun 21, 2009

i am making a quiz. My problem is that once the user completes the quiz and wants to start again the quiz is already on the last question. How do i make it so that once the user clicks start again the questions and answers arrays start from the beginning, sort of reset themselves.

View 1 Replies

ActionScript 2.0 :: Start Button Needs To Start Timer And Move To Another Frame?

Apr 24, 2011

I'm trying to broaden my horizons with it and so I'm trying to do an update of a quiz program my employer has. Everything has worked well, except for the timer. The button that starts the game has two options, "study" or "exam"; if the study is selected, there is no countdown, just the score keeper. If the exam option is selected, the timer is show (counting up). But, press "Start" and while the quiz begins, the timer, in either case, does not.

I'm going to post the actionscript for the timer that was already there, as well as the start button. I'm hoping someone can explain how this timer is supposed to work and why it's not; and where the disconnect lies in pressing the start button and making it run.The timer is embedded in a movie clip, with two dynamic text boxes, that are for some have no instance name; and actionscript spread out over several frames.Frame 1:

Minutes = "00";
Seconds = "00";
Centiseconds = "00";

[code]....

View 8 Replies

ActionScript 1/2 :: Using Start Button To Start And Stop The Scene Or Movie?

Nov 19, 2011

Here is the action scrip that I created. Correct it if you can.

Process.visible = false;
Cycles.visible = false;
stop();

[Code]....

View 3 Replies

Two CS4's Produce Different Published .swf From The Same Fileset?

Dec 12, 2009

*Can two CS4's produce different published .swf from the same fileset?I have a flash suite written by a young man in China.When I test the .swf file in the suite it works fine.However I need to make some minor redesigns so I need to change the .fla file - but before I do I found that when I publish a new .swf from the .fla file (with all the necessary action scripts/xml etc in the right place) it doesn't produce the same outcome. Instead the navigation (next page, items per page etc) is missing.

When he does the same thing (I trust his integrity) he gets the new .swf with the navigation in tact.You can see the two outcomes at the web address below (mock data).There are no code changes, no library changes that I can find.So I thought maybe there is something about different settings or 'environments' that can affect the outcome?

View 3 Replies

Professional :: .gif Not Being Published Correctly?

Oct 30, 2011

I created an animation in Flash CS5 and tried to publish it as a .gif. For some reason,there's a dark box around the moving text, as you can see.

View 5 Replies

ActionScript 1/2 :: Key.getCode() On PC And Published .exe - .swf And .app

Nov 3, 2011

I have a kind of unusual problem... Im building a prototype for a UI wich you can navigate around in. And we use a mockup-prototype-model with a numeric keyboard built in and connected trough USB to fetch keypresses and use that as a joystick to navigate around and get a feeling how it would feel like to navigate around using a joystick in your hands. The problem is that it sends kind of unusual keypresses from the joystick. Everything works fine when I test the movie in Flash CS5 on a mac (cmd + enter). But not on a PC or in all of the published modes (.exe, .swf or .app). The codes I use in my if statements to navigate that doesnt work is:

[Code]...

View 5 Replies

ActionScript 2.0 :: Not Centered When Published?

Feb 23, 2007

I can't get my "dock" to center horizontally when i publish the movie for full browser flash(100%/no scale).It works fine when you test the movie. I don't get it. heres the code

Stage.scaleMode = 'noScale';
this.dockActions = function(label) {
switch(label) {

[code]....

View 1 Replies

IDE :: Png Loses Transparency When Published As Swf?

Dec 22, 2008

I'm working on a project where I want to use a transparent png, and when authoring in Flash CS3 (using actionscript 2.0) the png image appears transparent just as it should. However when I test it the .swf file loses the transparency entirely. The png image was saved for web from photoshop as png-24.

View 1 Replies

ActionScript 3.0 :: Changes To Code Not Being Published?

Mar 8, 2011

I'm working on a project in Flash Builder 4 and I've run into an odd situation. The changes I make to the code do not seem to be published in the swf that pops up when I build and run. I can actually delete the entire main class and (even though I get lots of compile errors), the swf will still run just fine. This is actually a project I imported after it had been setup by a previous developer. We may be using different versions of Flash/Flex Builder.

View 2 Replies

Flash Won't Auto-start Flash Intro Will Only Start After Play (ctr+entr)

Jul 21, 2009

i have a flash clip that i am trying to imbed into a joomla website of mine, and the problem is that it doesn't auto-start. If i open the swf file it will show a blank screen until i right click play or ctr+entr, on the website it simply doesnt show the flash. here is the link to the swf file [URL]

View 1 Replies

ActionScript 3.0 :: Tell When A SWF Was Published (date Modified) Via It?

Sep 24, 2009

Is it possible to tell when a SWF was published (date modified) via ActionScript?

View 3 Replies







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