Embeded Fonts And Shared/linked Libraries
I have movie A that has 5 embeded fonts. Works great within itself. The font symbols in the library have all the export options on and the linked URL to itself.
I have movie B that I copied the embeded font symbols from movie A's library into. The copied symbols have the import link option on and the URL to movie A.
However, movie B's fonts do not show up.
Any suggestions? Using the Macromedia help, I followed all the instructions. (Flash MX)
Thanks! Liam
FlashKit > Flash Help > Flash ActionScript
Posted on: 06-24-2003, 12:50 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Embeded Fonts And Shared/linked Libraries
I have movie A that has 5 embeded fonts.
Works great within itself.
The font symbols in the library have all the export options on and the linked URL to itself.
I have movie B that I copied the embeded font symbols from movie A's library into.
The copied symbols have the import link option on and the URL to movie A.
However, movie B's fonts do not show up.
Any suggestions? Using the Macromedia help, I followed all the instructions. (Flash MX)
Thanks!
Liam
Embeded Fonts And Shared/linked Libraries
I have movie A that has 5 embeded fonts.
Works great within itself.
The font symbols in the library have all the export options on and the linked URL to itself.
I have movie B that I copied the embeded font symbols from movie A's library into.
The copied symbols have the import link option on and the URL to movie A.
However, movie B's fonts do not show up.
Any suggestions? Using the Macromedia help, I followed all the instructions. (Flash MX)
Thanks!
Liam
Dynamic Linked Shared Libraries? Is It Possible?
I've been toying around with the use of a shared library or two in building a templated application and was wondering:
Is there a way that you can dynamically assign the url field in which flash expects the shared library to be?
lets say you have one wireframe movie and you utilize a shared library to supply the graphical elements to your interface, but you'd like to be able to change the entire appearance of the interface for another user. It seems to me the easiest, most painless way is if you had another library that had the same components as the shared lib you were originally using, and just redirect the flash movie dynamically to use that one. But no! =( It seems that you have to hard code the URL or relative URL into the movie? I don't really have the option of using an alternate version of the wireframe that has the alternate shared library URL hardcoded instead of the original one. Anyone?
Using Fonts In Shared Libraries Help
Hi there! Was wondering if anyone can help me.
I was wanting to use a font in a shared library. I know how to create the font symbols in a shared library. but i dont know how to properly use them. whenever i keep trying it doesn't work. Was hoping someone could tell me how to use them so that i can see where i'm going wrong.
Can anyone help??????????
Embedded Fonts As Shared Libraries?
I searched the archives and could not find this particular issue addressed and was hoping someone has tried this and has it working.
Is it possible to embed a font on the main timeline of a movie (either in the library or on the stage via a dummy textfield) and have external movies that are loaded in access those fonts via a shared library?
I have tried a few different approaches but nothing has worked so far. I have 180 different pages I am developing for a client and it seems ludicrous to have to have a font embedded in each .swf. The files before the font are only 4kb and afterward 38-50kb.
Any help suggestions would much appreciated.
broD
[AS2] Using Shared Libraries For Dynamic Fonts
Ok here is the problem i have made a custom comb box and the user selects the font they want to use (its like an admin panel) and then a dyanmic text box below will display the string "The cat jumped over the lazy dog" in the font selected. You can view what i have got so far here:
http://www.nineminds.com/php/store/f...n%20panel.html
I am using shared fonts in the above swf after following the tutorial at:
http://www.macromedia.com/support/fl...haredfonts.htm
However i cant figure out how to get it to work when the font type isnt determined at the start (defined in the textbox at the beginning)
TY in advance
Mark
Dynamic Libraries(shared Libraries)
Hi,
I'm a total AS3 noob, so bare with my learning curve please.
I would be interested to load multiple swf files in the main movie and use the libraries from each swf file.
Can I do that with AS3. I know it's impossible to do that in AS2, where you can have only one shared library, but how about AS3 and FP9?
I've found some threads + posts on the internet, but they are not really helping as I need to understand the foundation and how to and what it means, so I'm hoping for a really helpful soul out there to enlighten me...
Pages I read:
http://www.flash-db.com/Tutorials/lo...ata.php?page=1
http://www.ultrashock.com/forums/act...swf-92007.html
http://www.scottgmorgan.com/blog/ind...-swf-with-as3/
Thanks in advance,
Eddie
Shared Libraries
i heard that you can link an mp3 or wav file to use in your flash movie from a shared library that would be outside your movie. So the loading time will be cut down.
Maybe i don't understand the shared library concept but my problem is i have to use an mp3 for background sound and if i load it in directly my movie will be too big.
any ideas on how to solve this?
thanks for you help in advance...
Shared Libraries
Can anyone give me some insight into shared libraries and how they work. Right now I have a window "class" that I drag from swf to swf to use. If I open up a shared library will that in effect keep classes from being duplicated?
Shared Libraries
hi
i'm looking to better understand shared libraries. my impression is that utilizing them offers the potential to save loads of time when dealing with, for example, a presentation that contains similarly structered but different (in the details) swfs...
i'm even just looking to be pointed in the direction of a good explanation.
thanks
Shared Libraries
OK here goes...
I have 2 movies, A and B. A is the main movie. B has nothing on the stage, just some objects in its library which I want to dynamically load onto movie A's stage. Movie A is on level 2 and Movie B is on level 1.
What is the syntax for loading an object from movie B's library onto Movie A's stage? I suppose attachMovieClip comes in somewhere, but what are the arguments and the prefix?
cheers,
Darkwhiteorange
Shared Libraries
Hi,
I have set up a common shared library that will
hold things like my icons, and other movie clips that
I may decide to change at a later date.
It seems to work ok for the movie clips, but not for variables stored inside the movie clip.
In my test movie that loads the shared library, all the
movie clips come in fine. I placed a piece of dynamic text
and set it to _root.myclip.myvar and it correctly displayed the string set by that variable.
However when I try something like
trace("var = " + _root.myclip.myvar);
It doesn't display anything. I need to be able to swap in libraries with different values for that variable.
So the question is, how come the dynamic text pick up the variable, but the action script doesn't?
Cheers
Shared Libraries
I am trying to use a shared library that holds navigation buttons, and it's acting a little strange... I made the buttons in a separate .fla file, and set them all to export for runtime sharing, and then published that movie, and then i dragged each one into a test movie, and it automatically set them to "import for runtime sharing," but when i publish the movie, the actions on the buttons aren't executed, but the look right, and the over and hit states work fine... any ideas?
dave
Shared Libraries
I am trying to create some swfs using the shared library function. My problem is that I expect that when I change a symbol in the shared library swf that it should change in all movies that use that symbol. I republish the shared file and my original movie still shows the original symbol. I must be doing something wrong.
Oh yeah v.5
Shared Libraries
If I decide to use shared libraries, when are they downloaded? When I need them or in the first frame?
Shared Libraries
I have a file folder full of sounds which I want to download into the shared library sound folder.
It looks like the only way to do this is to laboriously take each sound WAV file and load into the main library and then transfer that to the shared library. Is that right or is there a way that i can take the whole folder and dump it right into the share library.
Would appreciate any help on this.
Dave
Shared Libraries
Hello, I am designing a flash site which should be as streamed as possible. I was noticing that utilizing some of the components provided by Flash MX 2004 adds to file size considerably. Thus, I have attempted to better utilize shared libraries containing common components such as Buttons, Labels, and TextInput fields.
The problem I have is that the shared library is attempting to load twice. I am loading the shared library into _level1 at the beginning. However, when I later load in the flash file which contains the links to the shared library components, it loads the shared library again. The problem is that I don't want it to load twice, and it is also causing functions which I am calling on a clip which is supposed to be loaded to fail (because it is re-loading the shared library instead of using the shared library already loaded into _level1).
I was under the impression from the various books and tutorials I have consulted that once a shared library has been properly loaded, it will not need to be loaded again by swfs or clips which contain linked components.
By loading a "dummy" clip which has a link to the shared library, I am able to load the shared library first. Later, when the actual swf which has the links I care about loads, it does not reload the library. However, it seems like there must be a better way to do this. In order to create a loading bar for the shared library, the only thing I can think of would be to put the actionscript code inside of the shared library itself, and then it would have to call a known function at the root level to have its information displayed. Either that or I could just put the loading bar into the shared library. Both of those seem like hacks and I am trying to keep my app nice and cleanly designed. I don't understand why the shared library can't only have the shared library components (instead of the actionscript or loader bar I described above).
Please help me!!!!
Keith
Shared Libraries
Is there any way to use shared libraries in an application that will run from CD. I have a presentation that shows a technical assembly and I was hoping to use a single component library for all the separate animated movies. I have tried to use the readme files with flash but I am not having any success.
Can anyone shed any light onthis matter for me.
TIA
Rob H
How To Use Shared Libraries
Hey guys, I imagine that no one will answer this in any one post, but I'd like to ask if anyone can point me in the right direction of a tutorial for shared libraries.
Also, the pros of using a shared library are obvious, how about the cons? Anyone know?
Shared Libraries
Does anyone know if Shared Libraries are still permitted in AS 3.0, and if so, have an example of how to use them.
This is one area that I really don't understand, well actually haven't really used much. I have several SWF files that may require components which are currently stored in a single swf file. I want to access those components without copying the files to different libraries.
Thanks in advance.
Shared Libraries
This is probably a stupide question and I am ashamed to pose it but I need some better understanding.
I am using a shared library for all my graphics which are used by many movies.
I was wondering about the size of the shared library and how I could have a visual that tells the user some assets are loading. I suppose that the movie that contains all the graphics has to be totally downloaded before the other movies can use the graphics. So, what would be the max size recommanded for it? and how do I show the loading of the shared library in the main movie?
Shared Libraries
please someone show me a good tutorial on doing this..... I can't find one.
Shared Libraries
Hi all,
Ok, so here's my problem:
I have a main flash, with many mc's in my library, everyone with an identifier relating to an object (in this case, sounds) exported from others swf's... I make it work nice, and I can play the sounds, make them stop and everything, nicely.
The problem I have is that all the swf containing my sounds are loaded on the first frame on my main flash... which I don't want.
Is there a way to load these external swf only when... let's say the user presses a button? Or define when the "sharing the libraries" starts?
Is it clear?
I really need help on this one.
Thanks in advance
Shared Libraries
Hi all,
I read through the Technote by Macromedia Flash Web and sort of found jhow to do this sharing of MCs from a shared Library. However, I found out that a MC can only be shared to 1 .swf. How to make the MC shared to unlimited swfs?
When I check the box for export for runtime sharing, Im required to type in the targeted swf which I want the MC to be exported to. If i have 3 or 4 swf that needs this MC to to be exported to, how am I to do it?
Regards
Shared Libraries
I am working on 3 different projects right now and all of them I am including a .as file that has alot of generic functions that I reuse. How do I make this a shared library when I cannot specify 1 url as the projects wont be on the same server and wont have access to the web?
How do I make a shared library file so when I build a project it pulls in the specified file for deployment without me having to manually update a copy of the source .as file.
Frusterated. please enlighten me!
Shared Libraries
Is it possible to store a component(and it's necessary skins/symbols etc) in a shared library?
I've tried and it seems to work until i try and modify a component's parameter.
Steps to recreate error:
1. store a Button component and it's symbols in a shared library, with relevant 'export for runtime sharing' and URL fields set up.
2. Add the button from this shared library into another flash file and drag it to the stage.
3. Compile the file and everything works okay.
4. Change a parameter of the Button instance - change the label to something other than 'Label'
5. Compile the file again.
This time the error messages appear:
tempInit, Line 1 1172: Definition fl.controls:Button could not be found.
tempInit, Line 1 1172: Definition fl.controls:Button could not be found.
Scene 1: 1046: Type was not found or was not a compile-time constant: Button.
Edited: 02/05/2008 at 06:00:39 PM by Craig Grummitt
Shared Libraries In AS3
Hi guys,
I want to know if you know any article or something like that where I can read about share libraries in AS3, I mean usually we can have shared libraries in AS2 as images, movies and fonts... I know that we can have fonts in order to use and change in run time and we need to use or extends a Font Class... but I'd like have more information in order to be clear, specially with other kind of assets as Movies or images.
Any way... any article about these topics will be great!!!
:)
Shared Libraries: How To?
Hi,
How do shared libraries work? I read the Flash help file and it wasn't very clear.
Is it possible to have one external .swf file "LIBRARY.swf" including all the library files I need, load it once onto a root movie._level2, then have all subsequent loaded movies rootmovie._level1 use the library from LIBRARY.swf?
Shared Libraries: How To?
Hi,
How do shared libraries work? I read the Flash help file and it wasn't very clear.
Is it possible to have one external .swf file "LIBRARY.swf" including all the library files I need, load it once onto a root movie._level2, then have all subsequent loaded movies rootmovie._level1 use the library from LIBRARY.swf?
Shared Libraries...
Has anyone had good luck using shared libraries? I've had countless problems with them - sometimes the shared element disappears altogether, and sometimes, when a shared object is moved, the wrong symbol appears.
The lessons I've learned are to: 1) put the shared symbols on the stage of the .swf before publishing; 2) Don't use any moving shared symbols.
Does anyone know the trick to shared symbols in Flash?
Thanks!
Shared Libraries
I'm fairly new to Flash, less than a year in addition to my other responsibilities as a designer.
The site I'm working on is pretty expansive. There's more than 150 pages (swf files) and there's the likelihood that the navigation will need to change at several points during the year as new products are designed, so I need a way to update the navigation on every page as a separate linked item.
I've read a bit about shared libraries, but nothing that's helped.
Here's a link to the site: http://origin-8.com/site/index.htm
Thanks in advance.
Shared Libraries?
i'd like to share movieclips across a number of swf's.
is that accomplished with the linkage checkboxes from the "Covert to Symbol pane"?
i really don't even know what i'm asking for. perhaps someone could direct me to an online tutorial or something?
thanks ultrashockers!
Shared Libraries
Shared libraries, do they make a big difference to KB size or isn't it worth borthering? Just thought I'd ask before I got myself into a whole load of unneccesary work.
Using Shared Libraries (F5)
Hi,
I'm about to use Shared Libraries in Flash 5. I have been warned that this is bad though, that it doesn't always work, and that I should rather use LoadMovie instead.
I would appreciate any input ASAP.
Also, how does one preload shared libraries? Is there anyway to getBytesTotal() the shared asset?
Thanks
Shared Libraries And Preloaders
can anyone save me?
I'm trying to get a simple preloader to work with an .swf that's linked to a Shared Library (I know, bad move, but I'm a bit commited now...).
Problem is, it looks as if the Shared Library stuff loads itself before allowing the preloader to kick in, resulting in centuries of blank screen before anything happens. Does anyone know a workaround for this?
Any help would be mosted appreciated - ta.
Are Shared Libraries Reliable?
I have just finished learning the basics of flash through the book Flash 5 bible and have started my first proper flash site. However I would like to use the shared library feature as several of my .swf files will use the same graphic symbols and movie clips, thus I only want to download them once. However in the flash 5 bible there is a warning that the shared library feature of flash has proven to work very inconsistently, so I just wanted to know if anyone knows exactly what the problems are with using shared libraries and if they can be avoided or is it simply not advisable to use a shared library at the moment?
thanks for any help
Shared Libraries And RAM Usage
This is a bit complex to explain but ill try my best.
Im making a course, and this course is big.
Originally it consisted of a main.fla file that contains all the menus, functions etc etc, and a content.fla file that on each frame in master timeline contains one MC that is one "page" in the content. This file was loaded into a "holder" mc in the main.fla file.
When the user navigated around in the main.fla file, the content file would jump to the appropriate frame on the timeline and display that.
This system worked pretty good until the content got _large_. And i noticed that if one took the whole course, the complete content of the content file would be loaded into RAM.
So i then decided what if i split up the content file into several swf files, one for each page, then whenever i load the appropriate swf file into the holder MC in the main file, the previous content of the holder mc would get unloaded, freeing up ram (since only one of the several content swf's is loaded at a time).
However no the total filesize will increase since several of the content files uses alot of the same elements. So i was thinking, and here is the question, If all the content files use the same shared library and i keep all the elements in there, will the elements unload from RAM when i unload the swf file that uses that element from the shared library ?
(im not talking about unloading the library itself)
Another way of phrasing the question: In this scenario, at the end of the course, will the entire content of the shared library be loaded into RAM ? or will the elements beeing used in the last content swf that was loaded be in ram and the other elements in the library only exist in the actual file on the disc ?
Loading Swf's And Shared Libraries
this is my first time using loaded movieclips, so i'm having a hard time understanding what happens with libraries and symbols.
i've read the flash help, and i understand i can share a library across .fla's but for doing this do i just open the main fla as a shared library in the movieclip .fla's?
or do i need to export the symbols from the library? (read this in a tutorial)
any help would be very much appreciated,as i am a bit confused...
Tell Targeting/Shared Libraries
Hello.
I am having quite a problem with a Flash file I am currently developing.
I am using a shared library for my re-occurring graphics and buttons.
The buttons in the main flash file have tell targeting scripts on them.
However since I put these buttons in the shared library the tell targeting has ceased to work.
The library and the main flash file are in seperate directories, could it be that this is my problem?
The buttons are appearing in the file, so I have the shared-library working and referenced correctly, but they do not perform the tell targeting function.
If you have any ideas I would love to hear from you.
.:: Shared Libraries Problem ::.
Hello evrybody :
I have a streeming problem
i have used a shared library for images but the problem is that i need to pre load all the swf for the shared library so that i can use it .
Does anyone have any idea on how to load just one object from that shared swf ??
Help Shared Libraries Problems
Situation: I'm using a button in a project. I gave to that button a verry simple AS :
on (rollOver) {
tellTarget ("_root.selectname") {
gotoAndStop ("eda-eq 3100");
}
}
Shared Libraries Prob
Situation: I'm using a button in a project. I gave to that button a verry simple AS (Roll Over action that crontroled a MC)
And the AS was doing the job verry well. I decided to replace that button with a Shared Library Button... To replace the button without redoing all the resize and inputing the AS again (cause i have 20 of that button in my project), I used the "Swap Symbol" function, and it works too!!! The size stay the same and all the Action Scripting stayed also (for each button).
But once I export my SWF, the button no longer control the "selectname" mc.
Can someon explain what is the problem with this?
And if theres a solution for this problem?
Thank you in advance!!!!
Components In Shared Libraries?
Is it possible to define a component and use it
from a shared library. I try but can't make it work.
Please help me.
"Diplomacy is the art of saying 'F**k you' and make
it sound polite"
Flash Mx Shared Libraries
hi everyone!
sorry to bother everyone. but if you could please take a look at http://www.ionami.com/momentsinbetween/ and perhaps give me insight to why the shared libraries i have do not work on browsers other than ie? basically the index.htm is the main file. and when you click on services, about, etc. you will get the secondary files which refer to the flash file embedded in the index.htm.
any help welcome!
thanks!
if you could email me at jhu@ionami.com that would be cool too. thanks
Shared Libraries And Levels...
If I use lv0 as my main movie AND share it - can i load the shared library from any other level???
Plz someone - just a simple yes or no!
Shared Libraries > Components ?
Hi,
I'm wondering if it's possible to share Flash MX components.
I have several movies, and all of them are supposed to use the scrollpane component. The file size is about 30+ for the scrollpane component, so I was thinking if there is a way to share it so that every movie can use the same one.
If so can anybody explain it a bit and maybe direct me to a tutorial of some kind.
thanks in advance
Shared Libraries In Flash MX
I'm trying to use a shared library in Flash MX. My shared symbol appears in authoring mode, but when I export the swf, the symbol disappears.
The links are all correct, because I'm not getting an error that Flash can't find the library or the symbol. It just disappears!
I even tried creating a blank movie and dragging the shared symbol from the library onto the stage, but it still doesn't show up in the swf.
I tried a test in Flash 5 too. Shared symbols are displayed while authoring, but not in the swfs?
Runtime Shared Libraries
i'm just starting to use shared libraries
i have a mc that has linkage to a shared library. this mc contains other mcs that do not have linkage but are in the library. does this mean that i have to provide linkage for each nested mc in the main linked mc? it is my understanding that if i link the main mc containing the nested ones, the nested ones should be shared at the same time as the main one is.
is this correct?
|