Professional :: SWC Files Stop Working In Large Project

Aug 17, 2010

My company is working on a casual game which is entirely made in Flash. To speed up development/compile time we split some of it up into SWC files, for example dialog controls, cutscenes, particle effects are all controlled via SWC files. This was working great up until a few days ago, we have been working on this project for about 8 months with no major problems. However, now all of a sudden, when we compile the game, none of the SWC files work. The game compiles and runs ok, but nothing from the SWC files are working.

The strange thing is that if we remove one of the SWC files from the folder (the game reads all the SWC files from one folder) then the game will work. Even if you remove a SWC which isnt immediately used by the game it will still work. It's almost as if there is some limit to how many SWC files you can have loaded. (There are only 10 SWC files in the folder we are loading from).

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Working With Large XML Files?

Oct 10, 2006

I have to work with arather large XML file (about 25Mo).From that XML file (which I CAN'T touch in any manner), I actually need only a couple attributes in each nodes.Parsing the whole XML to load the data will (of course) lead to a "A script in this move is causing Flash Player to run slowly..."Ideally, I would like to browse the XML, only parsing data needed (like you would do in a database...without having to load the whole database before ;-)But I think this is not possible? Isn't it?So, I was wondering: why shouldn't I treat it like a text file, reading it and taking only the info needed from the file?The problem is that I don't exactly see how to do ;-)Following is a copy paste of the first node only...how would you do to read this text and put in an array:name, cloneof and description?etecting the node name, checking that it exists(i.e 'cloneof" isn't present in each node), and filling the array with the value

Code:
<game name="puckmana" sourcefile="pacman.c" cloneof="puckman" romof="puckman">
<description>PuckMan (Japan set 2)</description>

[code].....

View 1 Replies

Professional :: Dynamic Text For A Large Scale Project?

Jan 22, 2011

I understand that, in order get an anti-aliased font in a dynamic text field, the most given advice is to embed the font.  But that doesn't work for my project since we want to make it available in multiple languages, and there are too many fields that must be embedded, and it greatly increases the file size of just one scene.
 
The other option I have seen people use is to custom anti-alias, but for some reason, this option just is not working for me.  I fiddle and fiddle with the sliders, and no change is ever made.  We are only using Arial, so I am at a complete loss as to why I seem to get no changes in the text from this option.
 
shed light on what might be blocking me from using custom anti-alias in my flash files?

View 3 Replies

Professional :: Working With Large Objects?

Oct 12, 2010

I am preparing a navigation (using panning) movie in Flash. There is very big (6000x4000) image (area photo from top) on the stage and it's position moves once user moves his mouse. Thus, user can navigate on the area.But flash really drives me insane while working on this movie. It usually suddenly stops and quits with error.I'd like to ask what can i do? should i use a different method???It seems, Adobe becomes stupid on large files and there are bugs in somewhere Flash. For example; how can i use a method like Google Maps (it loads an another image when you move another position. Not loads all images together and doesnt consumpt large amount of resources.)?

View 1 Replies

Professional :: Large Vertical Gradients Not Working Like Examples

Mar 29, 2011

I am trying to create a simple gui component that has a vertical gradient, simple enough right... I create the sprite, and draw the gradient with beginGradientFill and a matrix with a 90 degree radian angle on it; but it stops working if the sprite has a long width, below is an exmaple of what I mean:

package {
import flash.display.GradientType;
import flash.display.Shape;
import flash.display.Sprite;
import flash.geom.Matrix;
[Code] .....

If I change
matrix.createGradientBox(800, 100, Math.PI*0.5, 0, 0);
to
matrix.createGradientBox(800, 100, Math.PI, 0, 0);
It works fine - but horizontally - why is it that applying 90 degrees the fill does not work?

View 5 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

Actionscript 3 :: Way To Visualize A Large Project?

Mar 9, 2011

I've build a fairly large system in as3 and now I need to introduce some other programmers in the different parts, and hopfully they will eventually grasp the entire system. I need to describe relations between classes and maybe some kind of flow, but the relations are the most important.

I've checked UML but I find it a bit strict and would like to be able to write comments about specific classes or relations and maybe be able to draw curved lines/arrows etc. In UML I also find it hard to know which kind of lines/arrows to use when and where.

So I am looking for a method/software/tutorial on this topic, either on some extended/simplified UML or a completely different method.

View 2 Replies

ActionScript 3.0 :: Splitting Up A Large Project?

Nov 4, 2009

I'm currently working on a little project of mine, where I have a character and a number of different items like clothing,hairstyles etc, which over time.. hopefully will grow into a tremendous amount.The thing is, if I have eveything in one fla file, there'll come a time where it becomes too bloated/large and Flash will eventually lag.So, is there anything way I can keep for example.. all the clothing in a separate fla/swf and the main character in another fla.But when I publish.. They all combine back together?I customise the character dynamically with references to linkage identifiers.. So I need a way which allows them to be split into different swfs, but still be able to call to the right clip.

View 6 Replies

Flex :: Large Project - Convert Swc Libraries To A RSL?

Jan 9, 2012

my Flex project has grown to over 1 Mb in size in release mode and now I am trying to cut it up into modules.

One of my SWC libraries is fairly large and I want to use it in multiple modules, so I think I can turn it into a RSL? how can I go about turning the SWC library into a RSL? I am building with Flash Builder (Flex).

View 1 Replies

ActionScript 3.0 :: Organizing A Large Game Project?

Apr 11, 2009

I really want to start work on a game idea I have using PaperVision.The largest/most complex thing in Flash I have ever made is probably my last project which is an interactive school map for my A Level [URL] . Check it out, its a little laggy in the browser but it is designed to run in the flash projector from the desktop.I used around 10 .as files and dumped all my graphics in 1 .fla as sprites and stuff.This is ok (...ish) as I had a large 'main' file and a massive 'main3d' file which (324 lines which is big for me :S lol).

Im planning on making it a big, 3D adventure style game with lots of elements and AI things. But how do I organise my code? If I continue like this, I'm going to have a few mahasssive files and lots of small ones.How to the 'pros' organise their stuff? All the time I see source codes for small experiments which are great, but I have never seen any layout overviews of what files they used and what kinds of things they put in them. I also have no idea how complex environments, where objects need to update to add/remove elements without having to check the position of the player every frame.

View 5 Replies

Flex :: Modules V/s Components For A Large Scale Project?

Feb 8, 2010

I am planning on a Flex project that involves incorporation of a lot of features.

Each 'feature' can be a component / module.

Which is preferred and what is the difference between a module and a component?

View 2 Replies

ActionScript 3.0 :: Splitting A Large Project Into Pieces Easily?

May 26, 2010

Let me first say that the project I am working with was my first foray into AS3 as well as OOP. I wanted to be a grown up so I wanted to use classes and not rely on individual swfs.Unfortunately, I didnt quite understand the spirit of OOP, or at least I dont think I did, and I made each section of the site into a separate class. I then integrated the classes and their library materials into one large project. The thing works great - but unfortunately the file has gotten too big.What is the most straightforward way to now break this project back up? Do I need to load in external swfs

View 0 Replies

Professional :: Move Project To See The Not-project Area Around The Project?

Jun 21, 2010

I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).

At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png

View 2 Replies

Css :: Setting Up Flex / AIR Project Structure For A Large Number Of Images?

Sep 29, 2011

We build prototypes and demo applications in Flex 4.5.1 and AIR 2.7 for mobile and desktop use. These tend to involve a large number of full-screen .PNG files. Lately we have been looking at ways to segment our code for flexibility and multi-screen re-use. What suggestions do people have for segmenting the project and libraries such that compile times are minimal and images are easy to replace?

View 1 Replies

Professional :: Flash 8 Links Stop Working?

Aug 31, 2010

I use Flash 8.I'm making this very simple Nav Box where on certain links open in a new window/tab. Those links work great.But most of the links are set to open in the same window that the Nav Box is on. When saving the SWF and HTML, the links work great.
The problem comes when I place it on other pages/sites. The "Self" links never work. Here are samples.

[URL]
 
Neither page nor link in the Nav Box requires a Iframe nor anything "special" to work.Here are to version of the AS2 code I've tried (Using the Day Of Victory Ministries link as a sample)
 
#1 
on (release) {getURL("http://www.dovm.org/DOVM_AVP.html");
}
---------------------------------------------------------------------- -------------------
#2

[code]....

Unless I'm mistaken, the way flash works, it matters not which server it is on so long as it's directory is public. This enables the flash to be placed on any page (via it's root link / Embedding code) and still have it's buttons work.

View 3 Replies

Professional :: Character Amimation- Stop(); Not Working?

Apr 2, 2011

I am trying to write code for my char animation. in the scene I have 4 layers: character, sky, ground and actions. all are to symbols(except actions of course) .For my character symbol(movieclip) I have one still frame as default, 2 walk cycles, and a jump. all done on a timeline. the main problem im having is that it doesnt stop, as it is supposed to, on the first default frame.

i put stop(); in the first frame of the movieclip and wanted to do my code in the actions layers in my scene but this stubborn character will not stop and I dont know what to do.....

View 3 Replies

Professional :: Working With Linked Video Files In Flash CS5?

Feb 15, 2011

However one problem I have encountered is the only way I can make the buttons appear after the video is finished, is by dragging out the single frame of video on the timeline to whatever length in seconds it is multiplied by the number of frames per second.

Is there some way to maintain each linked clip in a single frame and only move to the next frame (which contains the relative buttons) after the video is finished?

View 7 Replies

Professional :: Get Flash To Stop Playing Audio When Previewing While Working?

Nov 25, 2011

For a class project I have to make kinetic typography and so I need text to go along with some audio from a movie (in Flash). Every time I press enter to preview what I've done and what I have to do next, the audio starts and doesn't stop till it's done and this is a little over a minute long, and it's really annoying. If I don't start from the first keyframe, I can't even hear the audio, it doesn't play if I play from the middle. How do I press enter to play and have it stop when I press enter again? I can load the swf by CTRL+ENTER but then I can't see what frame I'm on and what frame I want. :|

View 4 Replies

Professional :: Mac Projector Files Aren't Publishing After Months Of Working Fine?

Dec 15, 2009

I've published Mac projector files and .exe file from Flash CS4 for several months without issue. For the past week when I've published Mac projector files the .app icon appears on my desktop but when I try to play the file the dock opens but the file doesn't play. Any Mac projector files I published prior to this problem play fine.I've tried creating a new .fla file and have reinstalled Flash but I'm still having the problem. EXE files and SWF files play fine. Also, the Mac projector files publish at about half the file size they did before this problem, while the EXE and SWF files are the same size.

View 3 Replies

ActionScript 3.0 :: Preloading Large Files?

Sep 17, 2010

I've built loads of preloaders in AS2 before. However I never ecountered so many problems as now. I'm confused about many things with preloading in AS3. This is my layout:I have a single frame on the first scene of my movie. The main content is inside a movieClip called container, placed on frame 1 of my next scene, which inherits from the class that holds the main code to initialize the game.(I read that this way my code will not try to access any movieClips, or sprites before they have been loaded... as they are not actually referenced from a document class).However my 1st frame where I have my preloader takes ages to load... My first question is... Does this happen because the loading procedure is different now? Or has it always worked like this... so that would mean that as I have many heavy assets in my library that are meant to load on frame 1. (Exported for actionscript in properties).I have a blank movie for a while. I'm using a simple code:

stop()
import flash.events.*;
this.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, Loading);

[code].....

View 3 Replies

ActionScript 3.0 :: Load Large SWF Files?

Dec 10, 2009

I have created a flash game which is about 11 MB in size and i have created the progBar in the first frame of the swf...

But it only shows the loading process after few MBs of data beign loaded...which might take some time and cause the user to close the tab..

I dont want this to happen...How i could tell the user at least that the swf is loading without any percentage and all the animations.

View 10 Replies

.net :: Uploading Large Files With ASP.NET: What Are The Best Practices

Jul 18, 2010

What are, nowadays, the best practices for uploading a large file (which may cause a timeout) with ASP.NET Web Forms and/or MVC? Increase Server.ScriptTimeout (only for the specific POST request); Use some flash client-side uploader like swfupload ([URL]) or plupload ([URL]), but Flash uploads have some issues with proxies; Use some gmail-like javascript (like [URL]

View 2 Replies

Php :: Upload Large Files Through A Web Interface?

Jul 6, 2011

I have a site that deals with large video files (sports videos). The site allows users to upload any source file, but most of the videos come from DVDs. I am currently using a modified version of jumploader to encode and upload files to the webserver with an HTTP request. The jumploader is a java client, and looking at my webstats, only about 75% of my users have java installed.

What I want: I have looked for a flash based uploader that transfers a byte stream to a server. Byte streams would be ideal so I can capture partial videos for failed uploads. I have also looked for flash-based ftp clients, but I haven't found anything promising. There are some flash-based uploaders that post via HTTP, and I'm considering this. I do not want to use a simple file post. Some upload methods also put the full file into memory first, and this obviously is not an option for me.

View 1 Replies

ActionScript 3.0 :: LoadSound With Large Mp3 Files?

Jan 21, 2009

I'm writing a small mp3 player. It reads the playlist from an xml file, then at the end of a song (or when the "Next" button is pressed) automatically plays the next song in the list.My problem is that if the song is a large file (around 16MB), the player doesn't play the song -- I have to click pause then play a couple of times to play it.

The code is roughly:

Code:
function playSong():Void
{
tune = new Sound();

[code]....

where 'tunes' is an array of paths to the file. I've missed out a couple of things, but that's basically it. Is there an issue with loadSound needing to load some of the song first?

View 0 Replies

ActionScript 3.0 :: LoadSound With Large MP3 Files

Jan 22, 2009

I'm writing a small mp3 player. It reads the playlist from an xml file, then at the end of a song (or when the "Next" button is pressed) automatically plays the next song in the list. My problem is that if the song is a large file (around 16MB), the player doesn't play the song -- I have to click pause then play a couple of times to play it.

The code is roughly:
function playSong():Void {
tune = new Sound();
tune.onSoundComplete = playSong;
tune.loadSound(tunes[++current],true);
}

Where 'tunes' is an array of paths to the file. I've missed out a couple of things, but that's basically it. Is there an issue with loadSound needing to load some of the song first?

View 2 Replies

ActionScript 3.0 :: Possible To Load Large Files Behind The Scene?

Feb 13, 2010

Is it possible for in a website to start loading a file after it's loaded the initial setup, so that when the user clicks to see the larger file, it's already loaded, or at least part of it's started loading, all without totally stopping other basic rollover functions and so on that appear with the initial setup?

View 3 Replies

Php :: Flash Uploader To Upload Large Files?

Dec 6, 2011

I need a flash uploader, to use it in my CMS project. I need something like this, but with greater max upload size (it doesn't allow to upload files larger ini_get('upload_max_filesize')).

My server doesn't allow me to overwrite ini settings, so I'm looking for an uploader which can upload large files independently from the ini settings.

View 2 Replies

Flash 10 :: CS4 Crashing With Large Transparent PNG Files

Dec 29, 2010

I'm working together with some designers to build a project in flash CS4. They normally send me their work as either jpg's or png files. When importing a sequence of png files I find that flash slows down considerably... but not only that, when I try to copy and paste a symbol that contains transparent png in their timeline it crashes. For instance if I select a frame which contains a movieclip with png's inside from the general timeline, and try to paste that frame on another layer I will get a message of Flash stopped working and eventually it just closes down. I tried this on a version of Flash CS5 and it also has the same problem but worse, as soon as you press Control + C the whole thing closes down. I'm suspecting this is caused by large transparent png files, but I'm not sure.

View 0 Replies

ActionScript 2.0 :: Upload Fails On Large Files?

Sep 28, 2007

I built an uploader which works fine on decently sized files.

When I upload say a 2mb picture however, everything appears to be working fine - all the progress indicators, on completes operate as usual.... but then the file never shows up on the server?

I realize this is pretty vague, lacking code examples, but I just wanted to kind of put a general question out there, see if anyone suspects anything right off the bat..

ie, is it maybe something more wrong with my server? flash dosent have some upload limit i dont know about?

View 4 Replies

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







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