Flash 9 :: Shared Library Process For The First Time With Audio Files Not Working

Sep 15, 2008

I'm trying to use the Shared Library process for the first time with audio files and I'm not sure why it's not working. I've followed both processes from here:[URL] and have a library file called libTestAudio.swf with all the audio files set up right (see Flash file here [URL] My question is should the testAudio.swf ever grow in file size? When it has no content it is at 4Kb but when it has the shared library file added to the timeline it becomes 8Kb. Now this might sound small but I've tried this with much longer pieces of audio and the file size does get bigger for testAudio.swf . I was thinking that only the libTestAudio.swf file would increase in file size and testAudio.swf would remain at it's 4Kb size. Am i wrong there?

View 0 Replies


Similar Posts:


Professional :: XFL-Based Author-Time Shared Library Workflow?

May 28, 2010

I'm creating a large project with many different FLAs using symbols pulled from a shared library FLA at author time. It works great, however, the workflow could be simplified (possibly) if the shared library were saved in XFL format.I saved a copy of the shared library FLA as XFL. Then, I tried to import a symbol to another FLA from the XFL as author-time symbol references. Flash recognized the XFL document as an accepted source, but did not offer a menu giving a selection of symbols.

View 5 Replies

ActionScript 2.0 :: Shared Library Embed Fonts NOT WORKING

Apr 22, 2006

I wanted to separate my embedded fonts to save filesize, so i've put them into sharedLib.SWF, and then preloaded sharedLib.SWF into flash using another SWF so that i could use these fonts further in multiple FLAs, without consuming additional bandwidth. I followed one tutorial, and checked out many different ones, to see if this issue occured to somebody else too. I had no luck finding the solution. Furthermore, i want to embed these fonts into AS-created textfields using AS.[code]I tried to create 1 TF manually, and placed it on the Stage, setting its display text to one of the embedded texts (Tahoma*). This actually worked! And one more strange thing happened.. Three of those TFs created using actionsctript, which were before blank, were NOW also filled with correct embedded text, EXCEPT one textfield which used Tahoma text non-bold, non-italic [!?]. Now how does this happen, and why the exception, i wonder.

View 2 Replies

ActionScript 3.0 :: Getting External Audio And Video Files To Start At The Same Time?

Jan 16, 2010

I've got a swf which uses AS 3 to load separate audio (mp3) and video (flv) files. The reason they're separate is because the audio is just background music while the video is navigatable. The video kinda goes along with the audio, but it's not imperative that the two sync perfectly. However, the audio always starts playing before enough of the video has loaded to begin streaming.I'm at a loss as to how to get the two to at least START at the same time.

View 14 Replies

Process Flex/Flash SPEEX Audio Data On The Server Side?

May 4, 2011

I'm implementing a very simple audio-only RTMP server.I have my client code like this:

// get the default mic
var mic:Microphone= Microphone.getMicrophone();
// best quality (picks up all sounds, no transmission interruptions)[code].....

Then on the server, I keep receiving audio packets with size of either 43 bytes or 11 bytes (no other sizes found yet).My questions are:

Why do I get size of either 43 bytes or 11 bytes (from SPEEX encoding?)?

Is the 43 bytes = 1 head byte + 42 data bytes?

What is the size of 11 bytes?

How should I process or convert the SPEEX to raw data, so that my server side app can use this audio data? My current implementation:

I pick up all 43-byte packets (drop all 11-byte packets);

Skip the first 1 byte;

Decode the left 42 bytes using Speex library.

How should I convert the raw data back to SPEEX audio data?

View 1 Replies

ActionScript 2.0 :: Call Sound Files From The Library And Play Them Each Time?

Jul 21, 2006

I have a 'back,play,stop,next btn in my playa...how to call sound files from the library and play them each time I press the 'Next' btn & the previous sounds files played in order when i press the 'back' btn?

View 1 Replies

Professional :: Use A Shared Library - Recompile The Library Folder When Do The Smallest Changes To A Component?

Jul 20, 2010

I am working in two different applications, one to be compiled for desktop use (AIR) and one to be compiled for the web. They are part of the same project and use the same visual components, but they are completely different apps. When a visual component is changed in one application then it should also change in the other one. Is this a good situation to use a shared library fla? I am new to the concept of shared libraries and I am considering the options.

On one had I would not have to update 2 applications everytime I change something, on the other, I would always have to recompile the library folder when I do the smallest changes to a component.

View 4 Replies

Flash :: How To Setup A Shared Library

Mar 3, 2009

Apparently, there is a way to have one library, update a symbol in that library, and have the one update be reflected in 10 different documents that share that library. However, I cannot find any (coherent) documentation on how to do that.

View 1 Replies

Flash :: Set Up RSL (Runtime Shared Library)?

Feb 8, 2011

I'm having a little trouble setting up a new project (an e-Learning) that I think will benefit a lot from RSL.My case is something like this[code]...

The Main will be the first movie to be instantiated, then, all that is necessary from here will be download.Every lesson will be put in a fla/swf apart from the "Architecture" (that is the Main, Scenes, Navigation and a whole bundle of classes called Engine) and will be added at runtime inside the Scenes.

The Engine is responsible for handling repetitive and necessary tasks, events, common methods, communication with server, among other things.The Navigation is responsible for handling user input, as the navigation (next/prev lesson and such), and then passes it to the Engine, that will manipulate the Scenes (and it's children).

Well, I have some restrictions too:Every swf file that will be handed to our client need to have less than 80kb, which means I'm tied.I can't compile the whole thing as a package ready to delivery.As size counts, I need means to alleviate the load as much as possible.So, I searched a lot these days and found out RSL.I've created some tests to know better how to use this and, of course, got into a trap.

I haven't been able to set up my Flash correct, haven't any success with the "Library Path" (under AS3 configuration), haven't been able to compile classes inside the SWC...

Another thing is that I won't make the lessons, only the Architecture.Those lessons will be created by people that may not have any knowledge in AS3 (OOP or program logic) at all.And I'm not inclined to delivery the whole engine (source code) to anyone from outside that may mess with it, making the whole app (apps, in fact, we'll produce hundreds of e-learnings).

How to use RSL efficiently

How to bundle classes inside the SWC

How to package all that is imperative for the whole thing work in the SWC, and then, delivery only this SWC

View 1 Replies

Flash - How To Setup RSL (Runtime Shared Library)

May 24, 2010

I'm having a little trouble setting up a new project (an e-Learning) that I think will benefit a lot from RSL.
My case is something like this:

Main.fla - A Shell
Scenes.fla - I'll explain this in a minute
Navigation.fla - Some kind of GUI
Lots Of Fla Files - The Lessons

The Main will be the first movie to be instantiated, then, all that is necessary from here will be download.Every lesson will be put in a fla/swf apart from the "Architecture" (that is the Main, Scenes, Navigation and a whole bundle of classes called Engine) and will be added at runtime inside the Scenes.The Engine is responsible for handling repetitive and necessary tasks, events, common methods, communication with server, among other things.

The Navigation is responsible for handling user input, as the navigation (next/prev lesson and such), and then passes it to the Engine, that will manipulate the Scenes (and it's children).Well, I have some restrictions too:Every swf file that will be handed to our client need to have less than 80kb, which means I'm tied.I can't compile the whole thing as a package ready to delivery.As size counts, I need means to alleviate the load as much as possible.

how to use this and, of course, got into a trap.I haven't been able to set up my Flash correct, haven't any success with the "Library Path" (under AS3 configuration), haven't been able to compile classes inside the SWC...Another thing is that I won't make the lessons, only the Architecture.Those lessons will be created by people that may not have any knowledge in AS3 (OOP or program logic) at all.And I'm not inclined to delivery the whole engine (source code) to anyone from outside that may mess with it, making the whole app (apps, in fact, we'll produce hundreds of e-learnings).How to use RSL efficiently How to bundle classes inside the SWC How to package all that is imperative for the whole thing work in the SWC, and then, delivery only this SWC

View 2 Replies

Actionscript 3 :: What Is RSL (Runtime Shared Library) Used For In Flash

Oct 31, 2011

Kindly note I am not asking what SWCs are used for, I know about that. I want to know, the use of RSLs in flash. Say i have some useful classes which i currently am using by specifying the particular folder as an "Additional source folder". So, can i make use of RSL here. If not, when and why i need to use RSLs ( I use SWCs without any problem, but i wanna know how to make use of RSL, without making SWCs, ie just by bunch of actionscript classes )

View 1 Replies

Flash :: Shared Library To Minimize Size Of FLA File?

Apr 6, 2010

In a project we use large flash FLA file with lots of graphic assets, but the actual data that is changed is just in a few symbols. Sometimes it is not very efficient to transfer the whole FLA file that comes up to 20MB now.

I was thinking about using Shared Libraries, but it seems that, even if you import external library, it still copies the whole assets into the destination file, but does not link it from external file. Consequently, size of the FLA file still remains the same.

Is there any way to split FLA files into few separate in order to minimise size of the most frequently updated file and keep all unchanged data in another file?

View 2 Replies

Fonts - Cannot Get Flash Runtime Shared Library To Work

Oct 18, 2011

I am using Flash CS5 (assets) and FlashDevelop (code) for my project. We have about 20 fla/swf's that contain textfields. All of our textfields use the same Font, and the font is specific to our company so won't be installed on anyones computers, hence it needs to be embedded.

My ultimate goal is to have one single font embedded that all of the textfields use, for 2 main reasons:

Whenever we add more characters to the font (other languages), we only need to add them once and not 20 times The file size doesn't blow out dramatically

I'm having great difficulty in trying to achieve this. It seems that everything I try, characters are missing (only characters entered in the text property of the textfields in each fla seem to be embedded).

The latest solution I am trying is using Runtime Shared Libraries, as this seems like it should work. I have an fla called FNFont.fla. It contains just one object in the library, the embedded font. The font is exported to AS3, exported in frame 1 and exported for runtime sharing. The URL is FNFont.swf (all swf's are in the same folder).

In all the other fla's, I create the font object in font embedding. I tick Import for Runtime Sharing and give it the same class name as the one in FNFont.fla. The URL is FNFont.swf. The fla(s) contain many textfields using this font. The textfields have instances of themselves as children of other movieclips.

When I run the program and attempt to load a movieclip that contains an instance of one of these textfields, I get the error:

[Fault] exception, information=ReferenceError: Error #1065: Variable FontName is not defined.

FontName is the class name of the Font object in FNFont.fla and all other fla's. It is not the instance name of the textfield (nor the class name), so I don't understand how it thinks its a variable.

View 3 Replies

ActionScript 3.0 :: Flash: Runtime Shared Library Preloading Warning?

Feb 22, 2011

I keep getting this warning coming up everytime I go to preview my file. Can anyone help me prevent this warning from coming up? I tried to create a seperate preloader for the website I'm making and that didn't work, and I think it might be because of this Runtime warning in my main file.

View 3 Replies

Get The Audio Level Chart From The Library Into View Along The Audio Timeline?

Oct 25, 2009

The images for animation load okay. The sound loads okay.  But the animation images need to be inserted in coordination with the sounds, which is difficult using only the ears  There is a visual graph of audio levels in the library window, which I have seen appear in the timeline also but only momentarily.  I do not know how to keep the audio graph on the timeline so as to know where to put the images.  I can keep the graph open on the little library window when it is open but not on the timeline. how to keep the graph open on the audio track while I work on the image tracks.

View 1 Replies

Actionscript 3 :: Run A Native Process In Flex Library?

Sep 6, 2011

It could run a native process in an adobe air application by enable extendedDesktop.
But if create an flex library, does it support running an native process. If yes, how to configure it?

View 2 Replies

Flash :: Editing .sol-files (LSO / Local Shared Object)

Jan 18, 2011

I am looking for a way to edit .sol-files (LSO/Local Shared Object). I have tried searching quite a bit, but I have not been able to find any program that can edit AS3-files properly. Is there a solution for me out there?

View 4 Replies

ActionScript 3.0 :: Make A Flash Game Have Save Files Using Shared Objects?

Dec 13, 2009

I'm trying to make a flash game have save files using shared objects and I'd like to keep all the data in one file with several children.

The three things I'd like to do are:Check whether the file exists (create a new file if it doesn't), then check whether to child named with text in an imput box exists, and if it doesn't create a new file (using the text in an imput box), and then set the value of that node to 0.

Then later I'd like to change that node to another number (the easy part).I'd also like there to be a way to disable the shared objects (incase the user doesn't allow shared objects).I've tried to do this myself using a few tutorials, but I could get it to work.I couldn't use the text in the input box to name the child,and I couldn't check the size of the child node to see whether it existed or not.

View 2 Replies

Possible To Use Shared Library?

Mar 22, 2011

In my child swf I am using the sound from library with "attachSound". I also use the play/pause button controls of this sound alongwith the other animation.

Now when I load this into my main swf file with "loadMovie", It plays fine but no sound. I found that this is due to no sound linkage in my main file library.

View 2 Replies

Flash :: Javascript Library For Recording User Audio?

May 8, 2011

This isn't another one of those "How can I record audio in the browser?" questions... I know that the HTML5 Stream API is around the corner and Flash can already access the user's microphone and camera. I'm simply wondering, as a Javascript developer with little knowledge of Flash, if anyone has developed a JS library that hooks into Flash's device capabilities for recording but sends the results back to javascript (presumably using ExternalInterface).

In other words... libraries like SoundManager2 utilize a Flash fallback for audio playback, but they don't seem to allow for recording. Has anyone written a JS library that uses an invisible Flash movie to allow audio recording?

View 2 Replies

ActionScript 2.0 :: Make Function To Process Few Movieclips At The Same Time?

Sep 4, 2007

I have a problem when few movieclips calls the same function, every movie clip when it is onMouseOver give to the function their properties witch function process.

If i OnMouseOver a few movieclips at the time the function cant calculate every movieclip alone... Maybe i have to put some array.. ??? i dont know..

On OnMouseOver the movieclips move i random direction and when i passes 15 seconds they return to their original place..

View 5 Replies

ActionScript 2.0 :: How To Use Shared Library

Mar 22, 2011

In my child swf I am using the sound from library with "attachSound". I also use the play/pause button controls of this sound alongwith the other animation.Now when I load this into my main swf file with "loadMovie", It plays fine but no sound. I found that this is due to no sound linkage in my main file library.Now the issue is that I want to share my child swf's library with main file's library.

View 2 Replies

ActionScript 2.0 :: Using The Shared Library?

May 27, 2007

I love this tutorialsBut I have one question:How can i Pre-load my external shared library file before loading my flash???

View 1 Replies

ActionScript 3.0 :: Font In Shared Library?

Jan 27, 2011

Been reading all your posts and tried everything, but nothing seems to work. The problem isindex.swf as a class named AssetsLoader.as. This class loads sharedlib.swf which as a font in it. I need to register the font at index.swf, but i get this damn errorError #1508: The value specified for argument font is invalid. at flash.text::Font$/registerFont()Here are the files:

***sharedlib.swf***Font properties at library panel:-Export for ActionScript (CHECKED)-Export in frame 1 (CHECKED)-Class: DINBold-Base Class: flash.text.font
**AssetsLoader.as***(...)var _loader = new Loader();_loader.addEventListener(Event.COMPLETE,

[code].....

View 2 Replies

Flex :: Use RSL(Runtime Shared Library) In It?

Dec 29, 2011

How to use RSL(Runtime shared library) in flex ?how can decrease loading time of swf using rsl?

View 1 Replies

ActionScript 2.0 :: Referencing To Shared Library?

Jun 1, 2005

I don't know how to reference to sharedLibrary.swf file.That sharedLibrary.swf is in root folder and another swf which uses sharedLibrary.swf is in folder TEST.I try to pur reference like: ../sharedLibrary.swf and ..sharedLibrary.swf and ..\sharedLibrary.swf and ..//sharedLibrary.swf

View 1 Replies

Graphic-type Symbols In A Shared Library?

Sep 16, 2009

Does anyone know if it's possible to have Graphic-type symbols in a shared library as it won't let you add an identifier to them? It's ok to use Move Clips but they increase the file size.

View 8 Replies

ActionScript 3.0 :: Shared Library - Loop Through To Get The Assets

Jan 8, 2011

I have a great shared library tutorial BUT I don't like one section. Assets.swf is the shared library with a variable array called availablegraphics on it's timeline where we put in the available assets That is the bit I don't like. Isn't there a better way to loop through to get the assets. Also they use a loop using library.availablegraphics - which I have never seen before and seems a little weird. In conclusion it's great but is there a better post or tutorial on shared library and how to loop through the assets without knowing exactly what or how many there are.

[Code]...

View 4 Replies

ActionScript 2.0 :: Tell If Shared Library Has Been Fully Loaded?

Dec 9, 2009

Is there a way to tell if Shared Library has been fully loaded?

I have external SharedLib.swf with fonts inside

I imported those fonts inside Master.swf and that's where I am using textfields that rely on those fonts...

I just need to know if theres a way to tell when sharedLib.swf was fully loaded and ready to use,

View 3 Replies

ActionScript 2.0 :: Percent Preloader When Using Shared Library?

May 3, 2008

Does anyone know how to have a preloader that shows a percent indicator when you are caching a shared library. The way I have it set up now is on the first frame of my main swf.playback is stopped until the trigger.swf (which calls the sharedlibrary.swf via the loadClip method) is cached. While it's stopped I just have a screen that says "now loading" (which is just some text on the main time line's keyframe) but I was wondering if there was a way to add a nice percent preloader instead. If anyone has read the book Flash 8 Beyond the Basics fromhey'll will probably know what I am talking about. I assume the script would need to monitor the caching of the shared library

View 2 Replies







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