ActionScript 2.0 :: Buttons, Typed Text Become Inactive Using Shared Libraries?

Jan 26, 2011

I'm using AS 2.0 and experimenting. I've got one main movie, with buttons at the top, each button loading a movie into a common movie clip...there are nine buttons/movies in all.Here's my problem. The nine movies have some common elements which seem perfect to put in a shared library. The sharing works, but when I plug the shared elements (either backgrounds or buttons) into the movies:1. Any text typed in Flash disappears (the text is Classic and Static), and;2. The buttons lose their "button" properties. Hyperlinks/AS coding will not work on them. I've made sure the buttons have an instance name. I even tried creating invisible buttons on a layer above the library-linked buttons (having the latter just for show), but strangely, the invisible button, when placed directly above the library-linked button, doesn't work either.

View 1 Replies


Similar Posts:


Flex :: Changing A Flex Movie To Use Runtime Shared Libraries And Losing Text In Charts?

Dec 3, 2009

I'm creating a small size Flex movies which contains two line charts, at the moment the size of the release build swf is 343KB, which is too large for our needs.

I've tried changing the loading of the SWC file to Runtime Shared Libraries, but I found that this removed the text of the charts (the text for the x and y axis). Why would the text be removed when the Framework linkage is set as a Runtime shared library?

View 1 Replies

Flash Load Timing With Shared Libraries?

Jun 30, 2010

I've started using Shared Libraries and this subject peaked my interest... does Flash still have load timing issues with Shared Libraries? I found a few site online that mention that your Flash project will load but if it didn't have time to load your Shared Library, it simply won't load it and you are out of luck. Is this still true with the latest version of Flash? If so, how do I preload the library to make sure it doesn't happen?

View 1 Replies

ActionScript 3.0 :: Shared Libraries - Cached BUT If Add Another Element?

Jan 22, 2011

using shared libraries at the moment for a scalable e-learning course. All the elements are to be used over multiple screens. BUT if I have to add a new element to that published shared swf - then next time I access my learning program it will have to download the WHOLE NEW shared library - is that right? ie: defeating the purpose in the first place. So if that is true then the best idea would be to use separate shared libraries. ie: sharedLibraryMusic1.swf sharedLibraryMusic2.swf for newer mp3s etc...

Or is this nonsense. ie: A new updated shared library with a "little" new element would not cause the whole swf to be downloaded again??? This is so important as it can make or break the download speeds.

View 4 Replies

Actionscript 3 :: Allow Third-party Changes To Runtime Shared Libraries?

Jan 28, 2012

How can I do the following in Flex 4.5 or later: Compile an swc library file containing packages of simple functions Compile an swf application referencing the swc file as RSL Publish the swf application Send the source code of the swc file to another developer Allow the developer to modify the code of some functions while keeping their interfaces Allow the developer to compile the source code into a new swc file using only compc Allow the developer to replace my original swc file with his new swc file, then execute my swf application having the new swc file in the same directory.

View 1 Replies

Flash Runtime Shared Libraries / Memory Benefit?

Jun 7, 2011

Suppose that I have two applications running on the same page. I have the Libraries compiled into the SWF file: [code]Is RSL intended to just improve the download time (via caching) or does it also lower the memory foot print of an applicaiton?

View 1 Replies

ActionScript 3.0 :: Reference Error While Playing With Shared Libraries

Oct 1, 2009

1. I have a main app. It has a TweenLite project added as library. The linkage type is "Merged into code". All the classes including "TweenPlugin" are checked. If I check somewhere in code

ActionScript Code:
var obj:Object = getDefinitionByName("gs.plugins::TweenPlugin");

and then watch the object, it gives me: obj = gs.plugins.TweenPlugin$(@2edfbc1), which is pretty logical and is how it should be.

2. I have a module project, which has TweenLite project added as a library with linkage type checked to "External". I simply make a release build of this module.

3. In main app I load to released module manually (not through Flex module mechanisms), just with Loader class. Not really more complex than this:
ActionScript Code:

_loader = new Loader();
_loader.addEventListener(IOErrorEvent.IO_ERROR,onLoadingError);
_loader.addEventListener(ProgressEvent.PROGRESS,onLoadingProgress);
_loader.addEventListener(Event.COMPLETE,onLoadingComplete);
try
{
_loader.load(new URLRequest("some.swf"));

4. In the module there is TweenPlugin class used somehow in the code. Pretty natural thing is that class definitions are inherited from the application domain of a loader to an application domain of a loaded content. So the TweenPlugin class should be available.

However I get the error:

Quote:

ReferenceError: Error #1065: Variable gs.plugins::TweenPlugin is not defined.

View 6 Replies

Actionscript 3.0 :: Accessing Runtime Shared Libraries, Crossdomain & Security?

Sep 10, 2010

Preface: I'm using Flash CS4 Professional for the Mac, AS3 and Flash Player 10.

I have an RSL (runtime shared library) SWF that contains bundled classes which I store in an online location. I also have another SWF that access that runtime shared library in order to instantiate it's classes and use their methods/functions.

Here's the code of the RSL:

Code: Select allpackage  {
import com.thisCompany.customClassOne;
import com.thisCompany.customClassTwo;
import flash.display.Sprite;

[Code]......

I've also tried putting the code Security.allowDomain('*') (from import flash.system.Security) in the RSL SWF and it doesn't work.

what to do to let my my host SWF properly access the objects and methods/functions of my RSL in another domain?

View 1 Replies

ActionScript 2.0 :: Get The Mc To Move But The Buttons Remain Inactive And Also The Rollover States On The Buttons Don't Work

Jul 8, 2005

I am having trouble with a job I am doing at the moment which has an mc with buttons within it. I want it so that when I roll over the mc it tweens from a small version to a larger version, and on this mc there are some buttons. At the moment I can get the mc to move but the buttons remain inactive and also the rollover states on the buttons don't work. I have attached a simpler version of what I am trying to do to this post.

View 3 Replies

Using Popup Window While Keeping Buttons Below Inactive

Oct 30, 2009

how to keep items below my pop-up window (window-component) from remaining active even though my pop-up window is layered above my buttons. I've tried to program my buttons to be inactive but since my buttons are part of an intricate animated navigation system, it seems like a lot of work when there should be an easier fix.

View 7 Replies

Buttons To Become Inactive When External Movie Loaded?

Apr 11, 2009

I am working on a portfolio website and I have all my navigation with buttons linking to other pages, on the base level. All the buttons are scattered around the stage and when one of these buttons is clicked an external movie is loaded in the centre of the page.

The movie is a big white box with a slideshow of images from my portfolio in the centre of the stage.

My problem is that the buttons on the base level are easily clicked by accident, even though you cant see them with the white box.[code]...

View 3 Replies

ActionScript 2.0 :: Buttons Active/Inactive On Click?

Jan 6, 2011

i have movie clip buttons on main timeline, i want that the buttons should be active (as they are on mouseOver) when click on them, and become back to normal when other button is clicked....

button AS2 is:

Code:
on (rollOver)
{
gotoAndPlay(2);
}

[Code].....

View 2 Replies

ActionScript 2.0 :: CS3 Rollover Blur Tween For All Inactive Buttons

Mar 13, 2010

how do i create ascripted rollover blur tween for all inactive buttons??

i got this script: "ziel_mc" is the button blurring on rollover. it works!!! but how do i add more than this one mc?? z.b. ziel_mc1, ziel_mc2, etc.

is there any way to add more mcs, separated by commas or anyhow??

Code:

stop()
import flash.filters.BlurFilter;
import mx.transitions.Tween;
import mx.transitions.easing.*;

[Code].....

View 2 Replies

Professional :: Make Buttons Below Inactive/active When A Movie Clip Is Playing?

Dec 31, 2009

I've got an infographic I'm working on, and every time I roll over an image (a ring) the alpha goes up to 100, then I roll out and it goes back to 50. That much I'm good with.

Then, I click on each one of them, and a movie clip (built inside of each ring/button) pops up and plays. Fair enough.
 
I've got a script (ugly, but it works!) that will hide all other buttons while this movie clip is playing. But, when I click to close it, I can't figure out a way to make them reappear. I tried putting visible = true again for all of them, but no dice.

The actionscript for it is right below.

I'm not sure if there's anything I can do to make it modal in AS3 or something like that. Or should I go ahead and set it up in a parent/child kind of way (not too well-versed in that regard.
 
All the buttons to click on are in the same layer and I'm not sure if making them different layers in Flash would make any difference.

stop(); 
ring1926.movie1926.visible = false; 
// add a rollover to make the inside movieclip appear 

[Code].....

View 4 Replies

IDE :: Make The Dynamic_text_2 Apply It's Text When The Text Is Been Typed Staying On Frame 1?

Aug 1, 2009

By typeing the text in the input box while staying on frame1, DOSEN'T show on the dymanic_text_box2 on frame 5?? How to make the dymanic_text_2 apply it's text when the text is been typed staying on frame 1?

View 3 Replies

ActionScript 1/2 :: Have An Outline For The Text Typed In The Input Text Boxes?

Jul 16, 2010

I need to have an outline for the text typed in my input text boxes. How do I achieve this?

View 5 Replies

ActionScript 2.0 :: Create A Mc Of Typed In Text?

Dec 20, 2010

I have the input text component on the stage. I also have an empty movieclip on the stage called "contain_mc".

My question is how can i create a moviclips of the text that is typed in inside the mc "contain_mc"

so if i typed in testing and hit return then a mc of the text testing would be created inside the "contain_mc"

View 1 Replies

Actionscript 3.0 :: Moving A Movieclip As Text Is Typed?

Mar 17, 2010

I need to advance a movie clip onto the stage (that will look like a strip of paper) as the user types in a message from my text input window.Right now I am using this code to display the typed text on the paper, but I need it to look like a printer is pushing it out as the user types in the message and limit it to 50 characters.

import flash.events.*
input1_txt.addEventListener(Event.CHANGE, textInput);
function textInput(e:Event) {

[code]....

View 3 Replies

Professional :: Typed Text Does Not Appear At Flash Game Site?

Jan 23, 2011

I can't type into text fields in an online flash game. Videos play normally at sites like Youtube.I have uninstalled/reinstalled Flash to no avail.I have Vista Home and Firefox 3.6.13

View 6 Replies

ActionScript 2.0 :: Detect Typed Character In Dynamic Text Filed?

Sep 21, 2006

how to detect the number of character typed in a dynamic text field.

like
if (Text_field.CharacterSet = 12)
button._Enabled = true;

[code].....

View 3 Replies

ActionScript 2.0 :: Flash - What Has Been Typed In The Text Fields From Someone Responding To The Form

Apr 2, 2007

I recently created a form in flash and managed to get it all set up so i receive it through e-mail,But, I do not see the info. on what has been typed in the text fields from someone responding to the form. what script should I be using to see that info, once it's emailed to me?

View 2 Replies

ActionScript 2.0 :: Creating An Input Text - A Random Number Will Be Typed In That Text Instead Of Having A Fixed, Pre-set Number?

May 13, 2006

I want to change the code a little bit by creating an Input Text. A random number will be typed in that text instead of having a fixed, pre-set number.

View 6 Replies

ActionScript 2.0 :: Input Text - The Later Frames The Information The User Typed In The First Frame Is No Longer There

Sep 16, 2003

I have a movieclip (named "checklist")with a great number of input text boxes in it. This clip is used early in the my movie (frame 1) and again at frames 20 and 30. The problem is that in the later frames the information the user typed in the first frame is no longer there. Now I could use the var parameter and set it to _root for all of the boxes, but I've been told that the var parameter is a bad way to go. Rather, I should use the name option instead, i.e. "myText_txt". I tried experimenting with objects, but I am not a programmer and so I am probably doing this wrong.

[Code]....

So, I am looking for a best practice. Should I just use the var parameter? That way all of the text fields update when the movie hits frames 20 and 30.

View 1 Replies

ActionScript 2.0 :: Shared Buttons

Dec 20, 2006

I have created a shared library for one of my project.its running well.But the only thing is I am not able to add buttons from this shared library.How can I share buttons?

View 1 Replies

ActionScript 2.0 :: Shared Object - .sol File Remember What Buttons Are Clicked On By A User And Assign An Alphavalue

Apr 13, 2004

I'm trying to learn shared objects by attempting a basic function. I would like to have an .sol file remeber what buttons are clicked on by a user and assign an alphavalue for the buttons that have been clicked. Here's what I have..

[Code]...

View 8 Replies

ActionScript 2.0 :: Shared Objects And Dynamic Text?

Mar 2, 2008

I am grabbing userdata and saving it as a shared object (such as the name of the user) I am also displaying dynamic text later in the swf files - I would like to be able to replace (something like 'USERNAME' in the dynamic xml doc as it is being loaded) with the user.data.name = name; info instead - while keeping all the other text the same as from the xml?

View 1 Replies

ActionScript 3.0 :: AIR Shared Object Shared Between Flash & AIR?

Mar 13, 2009

I created a very simple experiment to attempt to access the same shared object in Flash Player and AIR.

A Flash SWF creates a local shared object.

A AIR application (being tested from CS3 or installed) opens the same shared object.

The data does not persist. Is this theoretically possible?

View 1 Replies

Media Server :: Make Text Chat Application Using Shared Object?

Jan 21, 2010

I'm trying to make text chat application using shared object. I'm using api Shared.getRemote("so",m_nc,true); to make the data persistent. It makes the file with extension fso. I want to save the chat history in notepad for further reference, and also load that data as per requirement.

View 1 Replies

Actionscript 3 :: Cannot Get The Shared Whiteboard To Be Shared?

Aug 18, 2010

I am building a shared whiteboard and I cannot get the shared whiteboard to be shared. I have successfully created a shared method and I see the shared object in the Admin Console that it is there and connected but can't see the drawing on a different browser. I am posting the entire actionscript code.

package
{
import flash.display.Sprite;[code]......

View 3 Replies

ActionScript 2.0 :: The Text Buttons Should On Rollover Move All Buttons To The Left

Oct 22, 2010

I'm creating a menu system, the text buttons should, on rollover, move all buttons to the left (of the button currently rolled over) 100 pixels, in the gap created a sub menu running vertically will appear which will break into a 2nd horizontal submenu etc. I'm still in the early stages, and have hit a stumbling block, I placed a trace (this); cmd in root of the roll over function then again in each segement of the IF/ELSE loop inside that fuction. The trace CMD in the root of the rollover gives me the feed back _level0.btn1 or 2 or what ever button I have rolled over but the ones inside the IF/ELSE loop all say _level0.btn0 regardless of the button I roll over!

[Code]...

View 2 Replies







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