Actionscript 3 :: Share TextArea Component In Multiple SWF - Runtime Share Library?
Jan 12, 2011
How to share TextArea Component in multiple swfsaylib.swf (has TextArea Componenet)main.swf (Import TextArea Componenet from lib.swf)section.swf (Import TextArea Componenet from lib.swf)
View 1 Replies
Similar Posts:
Jul 11, 2009
how can I share a libary over multiple swf's? Case: I made a few different swf's which all use one or two components, is it possible to create a shared libary, so that only one swf, the main swf, has to compile these components? Otherwise every swf is 20kb bigger than needed
View 1 Replies
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.I want to share my child swf's library with main file's library.
View 3 Replies
Nov 10, 2009
I have developed a flex application using the data visualization components. I am now trying to optimize the application and one of approaches I am trying is to use Runtime Shared Libraries.I have configured Flex Builder to deploy with Runtime Shared Libraries and have added the .swz file for the framework, datavisualization and rpc share libraries. After deploying, my application loads, however my axis values within each of my charts are missing. The axes themselves are shown, however they do not have their label units displayed. The series themselves are displayed too.I have tried this using the 3.4 SDK and also the 3.2 SDK within Flex Builder. I also tried compiling flex using the mxmlc ANT tasks and got the same results.I made sure that the framework RSL is getting loaded first and I also made sure that the global flash cache has been cleared before I tested.I can see from my access logs that the .swz files are getting loaded the first time I make a request for my application, so I am confident that I properly cleared the flash player global cache.
Does anyone know why my axis values would be missing only when I deploy with RSL??? Switching back to Merged mode, my application works fine and it is only when I deploy with RSLs that I get the issue.I have also tried to compile using only the framework RSL and not the datavisualization or rpc RSLs (keeping them in merged mode) and I get the same results, no axis values.
View 1 Replies
Apr 15, 2012
I'm involved in writing a Flex/ActionScript library and in the future I will be involved in writing the same library in JavaScript. Rather than writing a library in each language and having to maintain them separately I was wondering if it was possible to:
1) Write the code in one language and share the code into the other e.g. Write the code in JavaScript and use the same .js files in ActionScript
2) Write the code in one language and perform a conversion into the other
I know it's possible to communicate between Flash/ActionScript and JavaScript but I'd like to avoid the overheads in using the technology bridge so this isn't really an option.
How do other people deal with writing and maintaining libraries that do exactly the same thing but in different languages? Specifically how do people do this between JavaScript and ActionScript?
View 2 Replies
Feb 24, 2009
I have a bunch of games each in there own directory with there own classes. I need to make 1 global directory with a class in it that all my games can use.
The reason for this is if I need to make a change to this class, I don't want to have to keep copying it into each game folder.
View 2 Replies
Sep 19, 2010
In Flash CS5 it seems like there's an option to import .swc files into the library, but as an RSL (runtime shared library).
What's the difference between this option (swc) and using a runtime shared library .swf file?
Also, if you select a .swc file, and choose the "info" ("i") icon, there seems to be several options for .swc..."merged into code", "external", "runtime shared library":
View 2 Replies
Jan 4, 2010
I am trying to create a login system where a user would be able to login inside of one flash game on say, [URL], and then that same login data would be preserved for all the games on [URL] and also the games on [URL] and [URL] I am new to shared objects in flash so if anybody knows of a way to do this in either php, as3, html, js (or a mixture of all) then that would be great.
(PS. I would prefer not to use a method that requires a javascript bridge to retrieve cookies as this is impossible for games that are played on game-portal sites where only a swf file is used)
View 1 Replies
May 30, 2011
If I have one MovieClip which has two frame, each frame has a 1K Bitmap.When I create three instance of this MovieClip, Is these three instance share the same memory which will only cost 2K memory or they has their own memory which will cost 2K * 3 memory?
View 1 Replies
Nov 4, 2009
I have multiple scenes. In each scene I load lot of movie clips.I move from one scene to another scene and may come back to the already visited scene.
1. From one scene if I move to some other scene will it flush or unload the scene with the movie clips or they will be still floating in the memory? If it is going to be in the memory with the loaded movies how can I unload them when I move from Scene to Scene?
2. Can I reuse a loaded movie in one scene, in another scene? Basically can I share the same loaded movie in multiple scenes?
View 9 Replies
Sep 9, 2010
Is there a way to share common .as files with multiple swfs?
View 5 Replies
Jun 5, 2009
I recently completed a project for a custom report UI in Flex. Now, I've been tasked with creating a new application that is essentially a "lite" version of the original UI. It will include only a few of the options that are in the original application. Also, it needs to be a separate application.
I do not want to duplicate my code, so I am planning on moving a bunch of the classes from the original application to a new library that can be shared by both applications. However, I'm trying to figure out how to make this work in my MVC environment.
For example, I have an Accordion component that lets users filter several items. Each Accordion child is an instance of a custom component with two lists (one for entities available for selection, the other for the entities the user has selected). Each child component has properties bound to the Model and functions that call Cairngorm Events.[code]...
View 1 Replies
Oct 25, 2010
After a lot of experiments and reading many articles, Q&As, I still didn't find the answers to my problem, then I decided to ask my question at great stackoverflow forum:-)
The setup of my project is as follows:
- Create an AS3 project in Flash Builder 4 (Main.as3proj), and write source code in it;
- Create graphical assets in Flash CS5;
- Load the graphical assets in the AS3 project;
In the graphical assets (swfs), there are text fields, we would like to use Embedded fonts for the text fields. But we don't want to embed the fonts in all swfs, we want to create a swf as a font library (FontLib.swf), that embed all the fonts needed across all the graphical assets (swfs).
After loading or embedding the FontLib.swf to the main application (Main.swf), the embedded fonts is availabe: TextField.isFontCompatible(myFontName, myFont)
is true. And when I create a TextField with the embedded font at runtime, it works fine. But besides this, I want to use the embedded fonts for the TextFields in other graphical assets like what I described at the begging, but when I try to change the text for the dynamic text field in a movie clip, the text field will disappear. (Before changing the text, it can be displayed because Flash CS5 automatically embed the fonts for the characters already input in the fla/swf file).
I tried to clone the text field with the same properties of the text field in the movie clip and replaced the old one, as I said, this works as other text fields created at run time. But I have other problem with cloning and replacing the text fields in movie clip. I wonder if there is a way to instruct the flash player to use the externally loaded embedded fonts for the text fields in movie clip.
View 2 Replies
Jun 26, 2009
I am trying to have one single loader for different buttons to load their specific target. lets say I have btnOne and btnTwo, each of them have their page to link to, btnOne to pageOne, btnTwo to pageTwo, page one and two are external swfs. so can I load them into stage by sharing one single loader?
this is simply my script:
ActionScript Code:
var swfURL:String = ("external.swf");
btnOne.addEventListener (MouseEvent.CLICK, startLoad);
btnTwo.addEventListener (MouseEvent.CLICK, startLoad);
[code]....
View 2 Replies
Jun 26, 2009
I am trying to have one single loader for different buttons to load their specific target.lets say I have btnOne and btnTwo, each of them have their page to link to, btnOne to pageOne, btnTwo to pageTwo, page one and two are external swfs. so can I load them into stage by sharing one single loader? this is simply my script:
[Code]...
View 2 Replies
Jan 3, 2009
I have the details in my flash and swf file, but I'll explain what's happening. If you click on the green "i", it opens a window, you can drag the window by the top bar next to the exit and minimize. But unfortunately, if you close this window and open other (duplicate of MC), you can not move the window like you can on the original. My guess is that the AS does not carry onto the duplicate; I am stuck right here, if I can get this fixed, it will fix a lot of my other animations. I've been trying to search for this on Kirupa, but there are no results
Code:
on (press) {
bn = "window" add n;
[code]........
View 2 Replies
Dec 2, 2004
I'm wondering if you can either specify a specific path of where to save your S.O.'s? I'm trying to share a S.O. between two swf's. I know they get saved here:
Code:
C:Documents and SettingsusernameApplication DataMacromediaFlash Player#SharedObjects
and right now they reside under two seperate folders (named after the two swf's) under the localhost. The script for retrieving and saving, as well as the S.O. name are all the same for both files although the swf file names are the same.
View 2 Replies
Jul 13, 2009
Let's say I have 2 buttons at the beginning and 2 different endings, but same sequence in the middle, how can I click on button 1 > same middle > ending 1 ; as well as button 1 > same middle > ending 2. Surely I know I can do it by duplicating frames, however it seems not right if I have more buttons and more endings.
View 3 Replies
Aug 30, 2009
Is there any way to exchange data between 2 swf's?
View 2 Replies
Mar 17, 2011
I wonder if it is possible to share live video streaming between applications on the FMIS. and also if it's possible SharedObject sharing between applications.
View 1 Replies
Jul 15, 2009
I am developing a Flex / Flash application which talks to an ASP.Net / C# backend. Is there any way I can share code between the two?The server provides a reasonably interesting domain model which the client is designed to maniuplate. Ideally I would like to be able to define this domain model once and have both sides use it for consistency. I am after all the benefits that come with being DRY.I'm new to Flex but the sort of thing I had in mind was some intermediate language that compile to both C# and ActionScript.
Update:I currently have a basic REST style web service which sends XML serialized versions of the objects down the wire to Flex. This works fine but what I am really interested in is being able to share simple business logic that goes along with these objects. There are certain business rules that need to be processed on both the server and the client and is possible I would prefer not to have to call back to the server for performance reasons.
View 7 Replies
May 11, 2009
I've followed the documentation (I think) but it doesn't seem to work. I have a root document which loads a bunch of swfs created off a 'template' that uses two fonts. Rather than embed the fonts on each swf I though I'd embed them in the calling document and share them. The documentation explains to export them for sharing and give give them an identifier string and a URL. AS3 however doesn't permit the identifier string so I assume this is supposed to work with the class name.
As for the URL I'm giving it the name of the compiled root document (home.swf). I then copied the fonts from the calling document's library to the library of one of the called documents. I then told the pasted font symbol properties to import for runtime sharing and added home.swf to the URL field. The swfs are all in the same directory but when I compile the home.fla and call the swf there is no text visible. No errors show up.
View 8 Replies
Oct 2, 2009
[url]...I added clear button, which clears all lines from user's whiteboard, but every other user who is connected to whiteboard, still sees lines. But when other users refresh the page, lines are gone too. That means I'm able to delete data from shared object, but I don't know how to update other users' whiteboard.[code]...
View 2 Replies
Apr 26, 2011
I want to share a list of visitors of chat room with SharedObject. I was going to put and array into shared object's field. Is it possible? And also I was realized that it is impossible to synchronize shared array correctly. If two visitors will add themselves to the list simultaneously, then one can be lost.Is it possible to synchronize access to shared object somehow or the only way is to write server side function to control the array?
View 1 Replies
Jul 9, 2009
I have a Flex application that I'm working on for a new job. It's sort of a training wheels application -- I'm learning the language, and this isn't an app that needs to talk to a service in order to do its job. There are a few instances of combo boxes throughout the application that share the same set of possible values (say, a selection of states: "In Progress", "Rejected", "Complete") that I want to have use the same data source.
What is the best way to manage this?
View 2 Replies
Sep 24, 2009
Lets say I have two swfs A and B, and at runtime, swf A loads swf B, and I wish to share code between them, to minimize file size and download times.
If swf B has some code (say. com.blah.HelloWorld), I tell the compiler to have swf B's source in swf A's classpath, but only do a compile-time link and not actually compile com.blah.HelloWorld into swf A
This works, and I have tried it, using a the -includes and -externs compiler options.
However, My problem is that I wish to do this the other way. i.e. swf A and B (and potentially swf C) all need com.blah.HelloWorld, but I want com.blah.HelloWorld to be compiled into just swf A, have it as an external reference in swf B ( and potentially C as well.)
I tried doing this using the externs and includes, but I get ReferenceErrors when I do this.
I want to do this without a having a separate rsl, so I can reduce the number of http requests.
View 3 Replies
Mar 24, 2010
creating an AS3 Facebook share button? I need to be able to customize the title, description and picture.
View 3 Replies
Apr 16, 2010
Are IDs attributes shared between different modules in Flex ?
i.e. I have a text area with id="text1" in my menu.mxml file.
And I want to write on it from another module mainArea.mxml
The debug gives me error, so how can I share different components ?
View 1 Replies
Apr 19, 2010
I am trying to share encryption between Action Script and C#. My task is to decrypt the following message within C#
f1ca22a365ba54c005c3eb599d84b19c354d26dcf475ab4be775b991ac97884791017b12471000def05bb77bfe9c3a97d44ef78c9449f12daf6e25b61ab1a281
It uses Rijndael encyption , ECB mode (electronic code book), Key: Pas5pr@se , 128 bit key size and block size.
View 3 Replies
Feb 14, 2011
I've got a Flex 3 website. How do I add a Twitter share button?
View 3 Replies