Editable Assets Within A Swc-based Component

Nov 5, 2009

I created several swc-based components with AS3 and Flash CS4 extending the UIComponent structure. After exporting a fla-based component to a swc-file i created a flash-extension with the Adobe Extension Manager and installed the component.This swc-based component works fine and shows up in the component panel, but i'm not able to edit the components assets because they don't show up in the library anymore.Can someone please tell me if there's a way to export the components assets respectively the components symbols with the swc-file in order make them editable and show up in the library of the FLA which's using the component?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Disable Editable TextArea Component?

Nov 14, 2010

I have a TextArea component in a flash document, and this TextArea is loading text from a .txt file.

However, when you're viewing the textarea in a webpage, you can not only select the text that has been loaded into the textarea, but you can also delete the text written there, like it's a word document or something.

Is there any way I can disable this?

View 3 Replies

Flash :: Create Reusable Component Which Contains Assets In CS5?

Feb 26, 2011

I need to create slideshow for gallery. And one thing that i don't know is how to create reusable components. For example i want to create 3 components ImageLoader, Dock(that consist drom ImageLoaders) and SlideShow(that consists from Dock and ImageLoaders).

ImageLoader it is a container which loads image and while it loading showing some animation
Dock it is a container wich have few of ImageLoaders, it used to create Dock of thumbs images to chose.SlideShow it is a container wich have few of ImageLoaders, it used to preload images to ImageLoaders and the change them on mouse click.I need that all of this components was accessible fom action script, so i can create new instances of them.

Example code:

im1 = new ImageLoader('../im1s.jpg');
im2 = new ImageLoader('../im2s.jpg');
dock = new Dock(new Array(im1,im2));
ss = new SlideSHow(new Array(im1,im2),dock);
ss.init();

View 2 Replies

Flex :: Swapping Movieclips With Other Assets At Runtime In A Flash Component

Sep 2, 2011

I have an animated character swc that is an empty skeleton basically (has all the body parts, animations, and functions/vars). I want to essentially put different clothes on that character at runtime so I don't have to have many copies of this character in my resources.

For example, I have 'skeleton' (the non-clothed model) and 'Bob', 'Jane', and 'Mary' characters. 'skeleton' is animated and fully works as an exported swc, and to get the other characters in their clothes/skins, I open up Flash CS5 and replace the movie clips with the 'clothed' versions of the components. To clarify,'skeleton' has "body parts" as movie clips that are all animated on the timeline, such as "head","face","left arm","right arm", etc. I open up 'Bob', who has the same exact design as 'skeleton', with the exception that 'Bob' has all the clothes and such as differently-designed movie clips. The size, shape, orientation, and reg points are all the same across all the components. After I've replaced all the movie clips in 'skeleton', I export it as a swc named 'Bob.swc' and I do this for all the characters.

What I'm asking is, how can I do this process ^, but at runtime instead, so I don't have all these duplicate root swcs ('skeleton' has a lot of frames on it) so I can cut down on a bunch of space? So I can do something like:

// bob gets all the actions and animations of skeleton
var bob:UIMovieClip = new skeleton()
// replace the body movieclip with a new looking one
bob.body = resources.bodyassets['bob']['body']

View 1 Replies

ActionScript 3.0 :: Get Component Assets To Appear In The Symbol Library Of Main Fla File?

Sep 16, 2010

I have built a component, but the assets do not appear in the symbol library of the destination fla when I drag the component to the stage. This is fine, except that I have embedded a font in the component. To ensure the font exists in the destination swf, it must exist in the symbol library of the destination fla.My component extends the UIComponent class, and I have a component shim, although I'm still not entirely sure of its functionI have followed all of the steps found in the 9 part MenuBar tutorial, and everything works, except for this one issue.

View 2 Replies

Flash :: Self Updating Air Application Assets Without Re-downloading Assets Already Downloaded

Feb 10, 2011

I want an air application to be able to update the assets it uses, but minimizing the download needed, so only downloading files added since it last updated.I'm thinking this would include a server portion which would zip the needed files based on a version number? Has anyone implemented anything similar / got any thoughts on the best approach to building this sort of system?

View 1 Replies

Actionscript 3 :: Component Based Architecture In Game Development?

Oct 1, 2011

I have been thinking of trying out component based architecture for game development. I have read some blog posts and articles about it but I have a few things I have not sorted out yet. When I say component based I mean that you can add components to a ComponentManager that updates all components in its list. I want to try this to avoid getting classes that inherits variables and functions that they donīt need. I really like the idea of having an really simple entity class with a lot of components working side by side without getting bloated. Also, it is easy to remove and add functionality at runtime wich makes it really cool.

This is what I am aiming for.

// this is what the setup could be like
entity.componentManager.add(new RigidBody(3.0, 12.0));
entity.componentManager.add(new CrazyMagneticForce(3.0));
entity.componentManager.add(new DrunkAffection(42.0, 3.0));
// the game loop updates the component manager which updates all components
entity.componentManager.update(deltaTime);

Communication: Some of the components need to communicate with other components I canīt rely on the components to be self-sustaining. Sometime they will need to communicate with the other components.In Unity 3D, you can access the components using GetComponent().I was thinking of doing it like this, but what happens if you have two components of the same type? Maybe you get a Vector back.

var someComponent : RigidBody = _componentManager.getComponent(RigidBody);

Priority: Some components need to update before others

Some components need to update before others to get the correct data for the current game loop. I am thinking of adding a PRIORITY to each component, but I am not sure that this is enough. Unity uses LateUpdate and Update but maybe there is a way to get an even better control of the order of execution.

[URL]

View 1 Replies

Flex :: Cannot Move Custom Component Based On HGroup

Oct 30, 2011

I have created a custom component based on spark.components.HGroup and it works mostly as needed, but I have this minor problem: I can not move it.

Maybe someone will look at my simplified test case below and spot my error?

Here is the screenshot of my 3 custom components, representing chat bubbles:

Here my custom component Bubble.mxml drawing black text on green background:

<?xml version="1.0" encoding="utf-8"?>
<s:HGroup
xmlns:fx="http://ns.adobe.com/mxml/2009"

[Code]....

View 1 Replies

Flex :: Custom Component Based On A Group Disappears

Nov 28, 2011

I have a problem with a custom component based on a Group. Actually, I want to create a section component (a container with a border and a title). I created a path so that the border doesn't hide the label (title):

[Code]...

View 1 Replies

Actionscript 3 :: Reset Component Based On Its Original Mxml?

Dec 30, 2011

I have a datagrid that allows user to change and save columns widths and visibility. I'd like to add a reset button that would just reset the datagrid to it's original mxml. This is the original datagrid code.

<mx:DataGrid x="10" y="47" height="159" width="250" dataProvider="{acOffspring}" id="offspring_dg">
<mx:columns>

[Code].....

View 1 Replies

ActionScript 2.0 :: Custom Component Based On Class With Labels

Oct 17, 2003

I am trying to build a component based on a class where when you enter a label at design time (in the properties panel), it displays on the component on the stage. This is done in all the FUI Components that have labels and I was wondering if any one knows which part of the code does this.

View 6 Replies

Flex :: Choose A MXML Component At UI Construction Time Based On The Value Of A Field?

Jul 17, 2009

I have a flex MXML UI that is building a set of radio buttons using the Repeater component:

<mx:Repeater id="radios"
dataProvider="{_lists.(@id == _question.single.@response_list).group.listItem}">
<mx:RadioButton groupName="responses"

[Code].....

View 3 Replies

Flex :: MouseOut Event Triggers Based On Old Component's Size After It Was Resized?

Mar 22, 2011

I have a component called X. I'm trying to make a menu come down from it when I put my mouse over it.

I have a mouseOver handler which changes the component's state to another state which shows an extra child component (the menu) on the lower part. This of course makes the X component grow.

I also have mouseOut event handler which makes the menu disappear by returning component X to its original state.

When I move the mouse over the component the menu appears as expected. But when I move the mouse down to the menu that is now visible, as soon as I touch it, it disappears. This way it's impossible to reach the menu.

I guess the mouseOut event is triggered as soon as I move out of the old boundaries. Is this so? And how can I avoid it? The new boundaries should now consider the extra child with the menu.

View 1 Replies

Flex :: Make PopUpManager Correctly Show Custom Component Based On Spark TitleWindow?

Jan 28, 2011

I use this code to create and show a MessageWindow:

var newTitleWindow:MessageWindow = PopUpManager.createPopUp(contextView,MessageWindow, true) as MessageWindow;
newTitleWindow.text = message;
PopUpManager.centerPopUp(newTitleWindow);

[Code]....

There is no nested components displayed when I run my app.

The debugger shows they are created and visible.

To my "amusement" the components are shown when I replace s:TitleWindow with mx:TitleWindow.

I really want to use spark TitleWindow.

View 1 Replies

ActionScript 3.0 :: Bug In HorizontalScrollPolicy And Editable In Datagrid?

Dec 1, 2008

I have a possible bug for datagrid in cs4 (as3). The scenario involves having horizontal scrolling, good number of columns and editable columns.

The following codes basically layout that particular scenario.

The bug is the edibility of columns on the far right. If you click on them to try to edit them, another column on the left of it would become editable instead.

View 2 Replies

Making A Client Editable Site ?

Jul 1, 2009

I am making a website for a client in which I need to incorporate some way of allowing easy client editting.Having looked online I havent found anything that will fit the requirements exactly but have seen the functionality on other sites in the past. Ideally I would use a secure web page with a form where the client could select the item to edit using a drop down and then proceed to fill in a few boxes, saving the new content that would be then viewable in the flash file.

I origianlly thought of an html form that stores the saved info in an XML file that could then be drawn out in the flash site.Is that the best way?

View 3 Replies

ActionScript 3.0 :: CSS Formatted Editable Text

Aug 30, 2010

People have asked how to make a text editor with css formatting before and the answer has always been with reference to the manual - "it can't be done".But what if you didn't accept that something can't be done?I'm thinking some sort of translation class to convert between textformat and css.Or bin the css for the moment of editing and then reapply when the user has finished.

View 3 Replies

ActionScript 3.0 :: Editable RSS Feed In Flash

May 18, 2011

I am making a website that needs to read a RSS feed from a blog and then place the information into flash. I have gotten as far as getting the information into flash and viewing it. However I can't get the scrolling functions to work nor do anything else with the feed. The goal is to be able to format the feed in the way that it is online so that it is scrollable but only the most recent post on the feed. Do I have to change how the information is being used in flash to better manipulate it such as xml? Or is is something I've overlooked while using the rss feed code?

View 0 Replies

ActionScript 2.0 :: Creating An Editable Board?

Oct 21, 2004

i want to make a editable board, that i can drag and drop activites into,i'm having difficulty doing it, the instructions are provided in the attached fla

View 1 Replies

ActionScript 2.0 :: Create An Editable Grid?

Oct 29, 2004

I'm having problems creating a grid that will change individual movieclips' frame when rolled over when the mouse is down. My script seems to be acting erratically, when I push buttons, all of the mcs change even though the code to change them is onRollOver.[code]....

View 12 Replies

ActionScript 3.0 :: Formating Editable Text?

Dec 23, 2010

I created an multiline TLF editable text field in my fla file. How can I format different alignments and font size for different lines in the same text field?

View 1 Replies

ActionScript 2.0 :: Creating An Editable Board

Oct 21, 2004

i want to make a editable board, that i can drag and drop activites into,i'm having difficulty doing it, the instructions are provided in the attached fla.

View 1 Replies

ActionScript 2.0 :: Creating An Editable Grid?

Oct 29, 2004

I'm having problems creating a grid that will change individual movieclips' frame when rolled over when the mouse is down. My script seems to be acting erratically, when I push buttons, all of the mcs change even though the code to change them is onRollOver.Click on the "Create Your Own Map" button in the bottom left.Then you should be able to use the buttons in the bottom right to select the new color/value of the grid items.Here is the code I am using to do this:

Code:
_root.mouseIsDown = 0;
wallSel.gotoAndStop("wall");
pathSel.gotoAndStop("path");[code]....

View 12 Replies

ActionScript 3.0 :: Dynamic Editable Text Boxes?

Jan 15, 2010

I'm trying to implement a feature like the text boxes in adobe photoshop. I want my user to be able to add a text box to the stage that they can move(drag and drop) and go back and change the text later. I also want to be able to keep track of the text boxes so I can let the user change the color, etc. How can I do this?

View 12 Replies

Flash :: Professional - Text Editable In Images

Feb 28, 2012

I want to make text editable in images in flash to get copy from text can i Make this and other question please can i convert text in image in flash to normal string?

View 1 Replies

Flex :: Non-editable Text Paste Target

Sep 22, 2011

Users need to be able to paste the contents of an Excel spreadsheet into a grid in my flex application. I have implemented this using a TextArea with a change event handler that parses the text the the user pastes - splitting it up by newlines and tabs - and adding it to the ArrayCollection that is bound to the grid. However, it makes no sense for users to be able to manually enter text into the TextArea. How can I prevent them from doing so?

View 1 Replies

ActionScript 3.0 :: Equation In An Editable Text Field

Aug 4, 2011

The project I'm working on requires a text field that the user can input an equation and the result is passed on to a variable. The problem is whenever you put in an equation it always comes out zero. If you just put in a number it passes it on properly. Below is a simplified example of what I'm trying to do.[code]...

View 9 Replies

ActionScript 3.0 :: Figure Out How To Have An Editable Small Text Box

Feb 14, 2012

I am currently trying to figure out how to have an editable small text box.

The text box will have a default value of lets say "default 1", but will be able to be overided when its compiled to, lets say "Layer 1". Is this possible at runtime? Basically I want to achieve the same goal as just like renaming a layer within flash.

View 6 Replies

ActionScript 3.0 :: Text Editable In Images In Flash

Feb 29, 2012

I want to make text editable in images in flash to get copy from text can i Make this and other question please can i convert text in image in flash to normal string?

View 2 Replies

IDE :: Create An Area On My Flash Website That Is Editable By Others?

Mar 26, 2009

how to create an area on my flash website that is editable by others? I'd like them to be able to add photos online. So... a photo album type thing?how to achieve this? I'd like to have the uploaded images specified / limited area space (eg.75 pixles x 75 pixles) so the user could see it online after it's been uploaded. I use flash 8.

View 1 Replies







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