ActionScript 2.0 :: Better Alternative Than XML?

Oct 25, 2007

I have created a Flash application for a "big" client which communicates heavily with the server. Flash app is initially loaded with a big XML file, which is retrieved by an aspx file. Then every 5 seconds, it calls a different aspx file to update. There are 3 asp files, which also sends back XMLs, that it calls periodically on top of the aspx file. Buttons on the app calls 4 different asp files with data being sent via querystring, but, uses the XML.sendAndLoad commands since we want the communication being done behind the scene.

During testing on development and live sites, we noticed no problems. We had sporadic complaints about the application being slow, but, they were so rare that we let it slide.

Now, it seems more frequent. I went back to the application and tried utilizing the built-in garbage collection by deleting all temporary variables, but, that didn't seem to improve much.

Given this scenario... is there anything I could try to improve the speed of server communications?

View 1 Replies


Similar Posts:


Can't See Alternative Content

Dec 17, 2010

[code]...

iphone safari can't see <a id="alternative" target="_blank" href="#">iphone can't see me</a>

But PC's safari,firefox can see the alternative.

View 2 Replies

ActionScript 2.0 :: If Then Else Alternative?

Nov 7, 2006

I made a script which will tile dynamic mc in a way that after a number of clips (say 5) in a row, i would like the 6th mc to position on the next row below the first row, like this:

1 2 3 4 5
6 7 8 9 10

i was able to do it thru series of if-else if statements but the thing is that i was wondering if there's a better logic in doing this, i was thinking of using switch statement but is there a way to type "i>=9 && i<=20" into a case parameter? here is the code and i have also attached the fla if anyone would like to see:

Code:
if (i>=20 && i<=25) {
item._x = item._width+275;
yVal = (i-20)*(item._height+5);[code].....

View 2 Replies

Get Alternative Export Codecs For CS3?

Sep 5, 2009

I have an application requiring exporting of Flash animations to run on an embedded media player. This accepts a number of video formats. The most reliable I have found so far is DivX. The player supports DivX versions 3.11, 4.x & 5.x. The export codec in CS3 is DivX 6.8.5 which is not compatible with the player.The player also supports MPEG2 but the quality is not very good. Other options are Xvid Mpeg4 video (doesn't work) and MS Mpeg4 video codec V2 & V3 (also not supported in CS3).I have tried downloading a variety of alternative second source file converters but frankly tied myself in knots. Any idea how I can get around this problem and get a DivX 5.x codec to work natively within CS3?

View 2 Replies

ActionScript 1/2 :: Alternative To LocalConnection?

Sep 23, 2009

I'm having huge bug issues with LocalConnection that nobody seems to be able to find errors in my code/files. So... I'm looking for an alternative. I need a main swf file to load an external swf including the ability to have it move from one frame to another. If this isn't a possibility, I can also just have the main swf hide/reveal a div or just an image in the html.

View 9 Replies

Flex :: Alternative (free) IDE For It?

Jun 27, 2009

I am an Adobe Flex developer and I am sick of Eclipse. Is there an alternative (free) IDE for Flex? I am aware of Tofino, but I can't get that to work on my MSVS Express editions, and I don't want to buy the whole thing.

View 5 Replies

Flex :: Get Good Alternative IDE?

Mar 24, 2011

Good alternative Flex IDE? I am interested in free editions mostly but I will also take under consideration the paid ones.

View 2 Replies

Php :: Xcode As An Alternative Of Flash?

Dec 20, 2011

We have developed a magazine reader which is basically PHP application. Admin panel is built in PHP but when any user wants to read a particular magazine, it is handled by Flash i.e. we are embedding the .swf object with HTML in PHP page. But flash is not supported in iPad/iPhone. So we want to create this application in Xcode so that user can read the magazine in iPhone/iPad also. There is confusion how it can be accomplished.

View 1 Replies

ActionScript 2.0 :: If Statement Alternative?

Mar 17, 2004

I was reading through various source codes, trying to teach myself more and more AS as usual... and some things brought me to ask this question.let's say I place a movie clip on the stage, called gun. would:if (_root.gun) {} return a true statement, simply because a MC called gun exists on the stage?

View 1 Replies

ActionScript 2.0 :: Alternative To AttachMovie??

Apr 16, 2007

Is there an alternative to attachMovie that I can use to put my movieclips on to the stage. Here is my problem, I have 2 frames total in my fla file, and in each frame I have buttons that when you click on them it attaches the corresponding image from the library. Problem is when you click to go to the next frame, the attached image stays.

I basically want it to stay attached only until you hit the next frame.

View 4 Replies

ActionScript 3.0 :: Alternative To TileList?

Mar 9, 2009

I'm looking for a lightweight alternative to the TileList component. I'm currently designing and developing an MPU Ad Creative that references an XML doc and pulls in four FLVs and their appropriate meta data. These videos will then be playable in the merch window, and there will be some opt-in data capture going on as well.

I've got a prototype going at the moment that grabs the XML and populates a TileList, and then uses ListEvent Listeners to add functionality to each of the ImageCells. All working fine, except that the file size is already at 47k without any of the data capture form fields in there. This is already over the TZ polite-load limit, and I've only added maybe 60% of the functionality. When I remove the TileList class, the swf shrinks down to 3k (a much nicer size ), and even after adding the remaining 40% I can't see this going much above 15k.

So, anyone know of anything I could use to replace TileList? I thought about creating my own class that holds all the information for each Video I need, but I thought I should check first to see if there are any other alternatives.

View 1 Replies

ActionScript 3.0 :: Alternative To Drawing At Runtime?

May 7, 2009

I need to have the ablity to create 3000+ sprites so they can be interact. In this case it is a bunch of booths at trade show.  I have done a lot of experimentation about how to create/draw these in the quickest possible manner.I have used timers, loops, enter frame events and I am still not satisfied with speed.My new idea is to create a seperate swf before hand that has everything drawn out so this doesn't have to be done at runtime, the swf can just be downloaded.  So my question is.... What would be the best way to develop a module that draws out everything into a swf file so that at runtime, I am not drawing anything, I am just uploading the file.

View 19 Replies

Professional :: Flash Interface CGI Alternative?

Mar 2, 2010

I would like to have a flash app on a website where:A user can input some values Those values are then sent to a server which has an executable fileThe exe is run with the user's settings and then sends some data back to the userThe data is displayed in the flash app.Is it doable with CGI or is there a better alternative to this?

View 2 Replies

ActionScript 3.0 :: OnComplete Alternative For URLRequestMethod.GET In IE7?

Feb 13, 2012

I'm trying to use URLRequestMethod.GET to get some xml from our website.In ie7 the onComplete never fires so it gets stuck but it works great in every other browser. I know that to fix a similar problem with preloaders you change the onComplete to a ProgressEvent and check to see if bytesLoaded == bytesTotal.This doesn't seem to work for URLRequestMethod.GET because when bytesLoaded = bytesTotal it doesn't mean that you have your data. Is there another way to check to see when the data is finished?

View 7 Replies

Alternative To Sitepal (text To Speech)

Feb 26, 2008

Are there any alternatives to sitepal with the same or close the same quality of text to speech engine?

View 1 Replies

Flash 10 :: Alternative For Adobe AIR And Zinc?

Nov 27, 2009

I'm making a Flash app in Flash 10 and ActionScript 2.0 and need support for calling an EXE with some params and minimizing/close the application.

Neither Adobe AIR nor Zinc don't seem to support some code I made and I'm looking for a very simple alternative? Does anyone know about any?

View 3 Replies

Flash :: Looking For An Alternative To PTViewer For 360 Panorama

Dec 4, 2009

I've been using PTViewer but it is causing some issues with looking for the ptdefault.html everytime and I'm wondering what other options are out there?

View 2 Replies

Php :: Free Opensource Amfphp Alternative

Dec 17, 2009

is there any other framework that does the same as amfphp? I dont want to use amfphp because it hasnt been updated in years and looks like it's no longer under development, I have to use PHP so I'm looking for a PHP alternative.

View 2 Replies

Documentation - Flash CS4 Have An Alternative To ASDoc?

Mar 16, 2010

Does anybody know of a tool that will allow me to create ASDoc style documentation with a Flash CS4/AS3 application? From what I hear ASDoc only works with Flex.

View 2 Replies

Flex :: Free Alternative For BlazeDS?

Sep 28, 2010

Do you know any free alternative for BlazeDS? It's working fine here, but we're looking for alternatives to check wich one is better.

View 3 Replies

Actionscript 3 :: Alternative Way For Positioning Objects?

Jan 6, 2011

I'm looking for an alternative way to position a bunch of objects.

Here is my code:

private var orderContainer:Sprite;
private var currentOrder:uint = 1;
private var orderArray:Array;

[Code].....

View 1 Replies

Flash Alternative For FileReader HTML 5 API

Feb 20, 2011

I want the content of a local text file to become available inside JavaScript. I've achieved that using HTML 5 FileReader API, but this works only in Mozilla Firefox and Chrome now. I know that it is possible to create a cross-broswer solution using Flash. Is there any open-source project that do that?

View 1 Replies

Flex :: Alternative Behaviour Of && Operator

Mar 9, 2011

I've faced such situation. I've used to program in C#, and such code:

[Code]...

was asking both, condition1 and condition2 to be true (the case when they both are giving false and the end-result is true, could be achieved in other way). In Flex, same code would perform "some actions" if the both conditions are false. I just was wondering if is there any chance to make it break after finding first false in a queue, or I have no choice and should write nested if's?

View 2 Replies

Flex :: Simple RichTextEditor Alternative For It?

Apr 20, 2011

Does anyone know a good alternative to the RichTextEditor component in flex?

View 2 Replies

Java :: Example Of Inner Classes Used As An Alternative To Interfaces?

May 25, 2011

What I was told, which sparked my curiosity on this topic:Java gui classes can implement hundreds of Listeners and Callbacks and many books teach you to implement all these interfaces in your gui class. Alternatively, these aspects can be implemented in inner classes, so methods called by that listeners do not get mixed up.'d like to know how to do this in ActionScript, which doesn't have inner classes, but has private classes. But, I don't think I fully realize what inner classes are about, so I'm merely trying to wrap my head around the situation where I would use them to organize a class' methods by their usages.

View 2 Replies

Flash :: Alternative To Bitmapdata For Snapshotting?

Jul 4, 2011

I'm currently loading a remote swf through as3 (with a domain policy to allow all from that domain - the policy file can't be changed by myself), that i want to take a snapshot of. The problem is that the main swf that i load, is loading child swf's from another domain that does not have the allow all policy turned on.. This makes the snapshot feature call a "sandbox security" error. I'm wondering if there's an alternative to the bitmapdata draw function to still take a "snapshot" without conflicting the sandbox security.

View 3 Replies

Css :: Alternative To SimpleViewer Image Gallery?

Oct 27, 2011

I am using SimpleViewer to show images on a website. It's a nice and elegant tool. But, as it is using Flash not all devices (e.g. iPad?) will/can show the images. Does anybody know about a non-Flash alternative? Maybe totally CSS cased?

View 1 Replies

Actionscript 3 :: Alternative For Flash Only (not Flex)?

Dec 22, 2011

Ok we all know that you can embed assets with Flex using the [embed] code.

But is there anyway to achieve something similar to this when working with only Flash?

For example:I need to create a class (that contains certain assets) that needs to be used in the Flash IDE, but I don't want to have to drop all the assets into the library for every Flash file that happens to use the class.

View 2 Replies

ActionScript 2.0 :: SendAndLoad: Is There A Faster Alternative?

Feb 23, 2009

I am using sendAndLoad to query a database that returns over 30,000 records. While the query itself is executed in 0.43 seconds (says phpmyadmin) the sendAndLoad takes some 15 seconds to be executed in AS2. I am wondering if there is a faster alternative to this method.

View 2 Replies

ActionScript 2.0 :: Alternative To Scrollbar Component?

Aug 6, 2009

I've been using a scrollbar/scrollpane component to create scrollable timelines for use in court cases. However these components interfere with printing, I imagine because the content needs to be attached from the library and so the printJob function seems not to see the scrolling content.

View 1 Replies







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