Data Integration :: Manipulate A Large Number Of XML And GIF Files?

Aug 1, 2006

I had to manipulate a large number of XML and GIF files. In this case I will need to use a compressed file, like zip. if the flash can access this type of data like the Java do.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Handling Large Files/data Within An AIR Application

Sep 8, 2009

I've run into some problems trying to handle large text files in AIR (300+ MB in size). I can open a filestream and read the file just fine and even store it into a string variable. the problem occurs when i try to manipulate this data. Im trying to get each line as an element in an array so i can manipulate this data.Here's what i've tried:1. read the file into a string variable and perform a split looking for the newline character ). this freezes the program2. i've tried reading the file in one byte at a time and putting each line into an array AS it is being read from the filestream. This not only takes long but eventually freezes.

3. i've tried splitting the final string variable which contains the entire text file into chunks to process it separately.4. i've even tried putting the file contents into a sqlite database, but this also freezes.At this point, im not sure what my options are. Is AIR even equipped to manipulate data at this level? I could use a point in the right direction

View 2 Replies

Data Integration :: Playing FLV Files From VB.NET

May 13, 2007

I am developing a VB.NET Windows application that plays SWF and FLV files in popup windows.

The user presses a button on the main application form, a window pops up, and the Flash media will then play (in theory).

I was successful in getting SWF files to play. First, I added the Shockwave Flash Object AciveX control to my toolbox (VB.NET named it AxShockwaveFlash1), and then double clicked it to add it to my popup form. Then, in the startup routine for my popup, I added the following lines to play my SWF:

AxShockwaveFlash1.Movie = "path/filename.swf"
AxShockwaveFlash1.Play()

I attempted exactly the same approach using a separate form for an FLV file, this time of course setting the Movie property of the Shockwave Flash Object to "path/filename.flv". In this case, the FLV file did not play. There were no error messages, but just a popup screen with nothing on it.

View 7 Replies

Data Integration :: How To Run Exe Files In Flash

Mar 30, 2007

Im making a three related VB program and i want to integrate them into one package, for the easier access and navigation on those program, I make a flash file which serves as interface or menu for the navigation. My problem is how to call or run on those program in just one click of a flash button, i want to run the exe program not the installer. I mean if I install the program that I made in the VB on my PC, there must a menu to choose on the three program. I try to use the geturl and it works but there is prompt(popup message for to choose run and save. I want if i click the button, it will go directly on the application.

View 1 Replies

Flash :: Data Integration :: CFML / Read Number Using Embedded HTML

Jun 10, 2006

Ok, heres whats going on - I have a CFML Tag that displays a number from my Database. I want to get flash to be able to read this number using embedded HTML. However, I can't find a tutorial in Google I may be searching for the wrong thing.

View 1 Replies

Data Integration :: Some Files Are Not Displayed On Macs

Aug 30, 2006

I have a swf which it receives it's content from xml files. It displayes jpg's and mp3's by getting their paths from xmls. (also I must note that these jpegs and mp3s are uploaded from an asp.net form)

My problem is some jpgs are not being displayed & some mp3s are not played at macintoshs. I've tested with almost all mac browsers and flash plug-ins. It's all same. While some files are being displayed some do not. I see blank the area where the jpgs should be shown.

View 3 Replies

Data Integration :: Dynamically Loading PNG And GIF Files Through XML

May 19, 2006

I have a project where I need to use XML to dynamically load PNG and GIF files not just JPEGs. I have found forums and information from 2004 of users complaining about the capability not being available but since then we now have Flash 8.

View 2 Replies

Data Integration :: Picture Files Integrated Into Swf?

Jul 10, 2008

I started to develop my first flash web site. I use to import pictures into the stage, so far I only use
jpegs. I am wondering, after I will have finished my fla and export to swf, will these source picture still be useful when I will upload the site to my ftp? Or will they be part of the swf?

View 4 Replies

Data Integration :: Saving Variables In Files?

Jun 18, 2008

Is it possible to make such a thing: When Button_btn is clicked (onRelease), var( var Name:String = new String("Flash MX|) ) is send to file (File.txt) and saved there.

View 1 Replies

Flash :: Data Integration - Exchange Information Between XML And Files

Jan 17, 2008

i'm remodeling a website i've done ([URL]). i want to exchange information between XML and Flash files. i almost did it, but where shoul display information about one item, the whole content of this 'field' is shown. i'll explain better. this swf displays works of an artist. but the field 'date' (or any other text field) display the content of all works (separated by commas). i'll post the xml code and the actionscript code.

View 2 Replies

Data Integration :: Load Multiple Text Files?

Apr 20, 2007

I've got several archived text files - 040107.txt,040207.txt, 040307.txt, for example - and I want to be able to build a dynamic link which loads whichever file is selected intothe Flash movie. This list needs to be able to build itself as Iwrite new files every day and add the old ones to the archive.

View 6 Replies

Data Integration :: Merging Multiple Files To One File?

Apr 6, 2007

We are mainly developing On-line web application works on Flash Movie remixer which remixes more than two flash movies (Picture In picture), SWF layers, Run-time special effects (Chroma-key, fire filter, etc.) and sound layers.This site is similar to the [url].... Recently we were having an issue that user should render the remixed movies and layers to one flash movie file (FLV format).

View 2 Replies

Data Integration :: Set The Path And To Autoload But The Jpg But Files Won't Load

Oct 27, 2006

I have a website im making in which jpgs are loaded through the loader component (using flash pro 2004) and I set the path and to autoload but the jpg. files won't load; something to note I have many instances of one loader but with different paths for different pictures.

View 1 Replies

Data Integration :: Get List Of Selected Files From Swf To Javascript?

Jul 23, 2010

i want to make an upload script with swf and javascript. I want to do selecting files via swf then uploading files to server via javascript. I have searched SWFupload plugins but they are not working as i need. I am new here and i do some search, i see it is possible to save list of selected files in FileReferenceList array, but i dont know if is it possible to pass this array into javascript and then make upload progress via javascript ?

View 1 Replies

Data Integration :: Prevent Player From Using Cached Files

Jul 7, 2007

I am working on a page the allows the user, once logged in,to upload information and a picture. The picture is saved as his/her username, and if they upload a different picture, the old one is still displayed unless they leave the site and come back 10+ minutes later.I tried the HTML no-cahce headers and they don't even help load a new (up-to-date) version of the main movie.This should have an easy solution, that Adobe should have
addressed if they expect flash to be capable of being a dynamic site with user interactivity.

View 1 Replies

ActionScript 2.0 :: Retaining Order Of Files Loaded Externally From Large XML Files

Jul 18, 2006

I was messing around with some old examples, and I ran into an unfinished example where several 30k-100k XML files are loaded and stored as a string into an Array. The code looks basically like:[code]Basically, when I trace the 'this', the order of the files that are loaded is off. Out of about 10 tries, about 3 times the order is perfect. The remaining 7 times, the order is a bit off. Does anybody have a suggestion on how to ensure the files are loaded prior to the next file being loaded? I tried placing a while loop that basically delays the clock for a few milliseconds, and that didn't work either. Besides, that is not really a good solution to arbitrarily waste clock cycles.

View 6 Replies

Flash :: Data Integration - Huluesque Video Integration

Jan 1, 2010

I have a video player that is currently using XML for its video library which is all fine and dandy. Now I have some developers working on a CMS type page in PHP that is going to hopefully pass some sort of information to my player that will let it know where the video is stored on our server. Is there a way to do this without using FMS? If so does anyone have ideas where I can find the information for it.

View 2 Replies

ActionScript 3.0 :: Manipulate Bitmap Data Of Externally Loaded Image

May 2, 2011

I need to be able to manipulate the bitmap data of an externally loaded image (an image from the internet), however there seem to be security protocols preventing access to this.Is there a way I can gain access to the bitmap data of an image loaded from an external source? What I'm after is being able to save the image to disk, or pass the image to the printer. (I can do both of these things, but I'm not being given proper access to an external image)I've done a few work arounds and the best I've been able to get is it working for a few images, but not all images. Even if the image loads properly and can be displayed in flash, I'm not guaranteed access to the bitmap data.

View 1 Replies

Flash :: Flex - Manipulate Data Returned From PHP Service In Builder

Mar 12, 2011

I'm using the data/services in Flash Builder 4 to access the php functions of a site within an Air based Crud, and figuring out the most efficient ways to work with the data objects that come back.

[Code]...

The data comes back as an associative array, which is fine if I want everything from it to be treated the same. But I'm not sure how I am supposed to pull a particular column from the array without having to go through a for loop to parse through it.. since right now the contact name would be at allContacts[i].name.

Basically I want to make a list of the names from the allContacts, so I want an array of allContacts[i].name to set as the data provider for a element. Is there any way to get that done without having to write a for loop to convert it into a new array or writing a new php function?

View 1 Replies

ActionScript 2.0 :: Flash Not Allow To Manipulate Data Imported From Text File?

Mar 4, 2009

I cant believe that Flash will let you load data from a text file then doesn't allow you to do anything with the data other than display it. Surely there must be a way you can do something the data imported ie perform some calculations. Is this beyond Flash or is this something that has been addressed in AS3? All the tutorials I've found all stop at just displaying and 'swonking'.

View 8 Replies

ActionScript 2.0 :: Flash8 : Why Does Flash Not Manipulate Data Imported From A Text File

Mar 4, 2009

I cant believe that Flash will let you load data from a text file then doesn't allow you to do anything with the data other than display it. Surely there must be a way you can do something the data imported ie perform some calculations.Is this beyond Flash or is this something that has been addressed in AS3?

View 4 Replies

Data Integration :: XML Integration In Flash?

Nov 12, 2007

I'd like to create one empty Flash movie that is essentially a placeholder for externally loaded content I can change through XML. This content would just be able to randomly load 1 of 3 photos, with a button linking to a website within each of the photos on page load. If the user refreshes the page, a new photo with it's link would appear, but I understand since it's random,having 3 images the same image is likely to reappear, but I can always add additional photos and links.

Does anyone know of a tutorial that might lead me on the correct path to create this? I've found some tuts, but they've been different than my need.

View 2 Replies

Data Integration :: Flash And FTP Integration?

Feb 1, 2007

We want to be able to upload over 100+ files (if needed) to a server along with desc + keywords. I see that Flash 8 has the neccessary tools to handle file uploading, but my question is, can we have it act as a Stand alone FTP program so that we can utilize the fastest user upload, or will we be confined to the settings in the server INI settings.IE MAX_UPLOAD_TIME,MAX_FILESIZE, etc. If possible we want to avoid using the HTTP upload as it is noticeably slower. So if we can use flash to utilize user BW to upload, then that would be ideal.

View 1 Replies

ActionScript 3.0 :: Can't Round Or Subtract A Large Number

Nov 23, 2010

When getting the rotation of a movie clip I sometimes get a number like this: -1.4033418597069754e-14
 
And this number seems to break simple math.  see my code below:
 
var thisRot:Number = rotation;
trace("thisRot: " + thisRot);
//outputs - thisRot: -1.4033418597069754e-14

[Code].....
 
How can -1.4033418597069754e-14 round down to 0? And Math.round(thisRotAbs) also results in 0.  So how can this be? And how can 180 - -1.4033418597069754e-14 = 180?

View 3 Replies

Flex :: Loading A Large Number Of Images?

Aug 31, 2010

I have this code which works fine when selecting a small number of images.

public var fileReferenceList:FileReferenceList;
public function browseFiles(event:Event = null):void
{

[Code]....

However, when selecting a large number of images (1000+), the fileList isn't initialized yet when the SELECT event is dispatched. Is there a way to wait for the fileList to be initialized?

View 1 Replies

Flex :: App With Large Number Of UI Objects Is Slow

Jun 10, 2009

I'm building my first Flex custom component, in Flex 3. It is a data table based on the 'Grid' container class, with a simple text Label in each cell. (DataGrid and AdvancedDataGrid were not appropriate starting points for my needs.) The component works quite well using smallish tables, but I tried stress-testing it using a larger table, and have been disappointed by the results.

The component creation process has some slow spots, but those are in my power to optimize and aren't my primary concern. What worry me more are what appear to be limitations in the Flex framework itself.

This 'large' sample table has a bit over 7000 cells in it. This is largish, but still 1-2 orders of magnitude less than the biggest I need to accommodate. In standard Grid structure, the main portion of the component consists of a Grid with 400 GridRows of 16 GridItems each, plus a few other smaller ancillary Grids.

Once the table renders, I find the following:

Mouse-related events are slow to fire. Specifically, I have rollOver/rollOut event handlers registered on each table cell, to let me highlight the cell under the pointer. On a small table, I could move the mouse over the table very quickly, and the highlighting would follow the pointer in real-time. With the larger table, the highlighting is very jerky, changing only about twice per second, skipping over many cells.If I place the mouse cursor over the component and leave it there, my CPU is pegged (one processor core, anyway), and stays that way until I move off of the component, when it drops to idle. My component isn't doing anything at all at this point.

It feels like Flex simply cannot scale to support component trees that are this large. I shudder to imagine how it would behave with 100,000 cells. Perhaps I'm pushing the Grid beyond its intended use, but having an object per table cell doesn't seem like an unreasonable model, and ~14,000 objects in the tree (a GridItem and a Label per cell) seems pretty modest.

View 5 Replies

ActionScript 3.0 :: Lineheight In TLFTextField Is Getting Set To A Very Large Negative Number?

Aug 24, 2010

how or why it is happening??
 
example:
 
var myText:TLFTextField = new TLFTextField();
//lots of initialization to myText.
var myFormat:TextFormat = new TextFormat();

[Code]....
 
The last statement is the one with the trouble

View 1 Replies

ActionScript 3.0 :: Large Number Of Movieclip Slowdown The Application?

Jan 10, 2012

I have a scrollbar function.In the content area i attached movieclips.Those moviclips have dynamic textfield.The scroll bar working for small list of contents.up to 500 or 600 moviclipsWhen i attached 2000 or larger number of movieclip the Entire flash get slows. How to i fasten them with same number of movieclip. why flash player slow when attaching large number of movieclip? it takes near by 58% cpu usage at this time.What is the reason for

View 2 Replies

Actionscript 3 :: Why Is The Dynamic Type Of Large Int Values Number

Feb 25, 2012

I have noticed that if I create an int with a large value, the dynamic type of the object seems to be Number. Example:

[Code]...

View 1 Replies

ActionScript 3.0 :: Number Arrays - Cannot Do Calculations For Large Values

Jun 12, 2011

I've been making arrays from numbers produced by the Collatz conjecture. But when the number where we start calculating exceeds over 1x10^16 program can't do any more calculations. It loses it's capability to handle odd numbers. Heres a part of my code that makes calculations:

ActionScript Code:
var a:Number;
var result:Array = new Array();
var count:int = 0;
function calculate(e:TimerEvent):void{
[Code] .....

View 6 Replies







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