Actionscript 3 :: Maintain 1 Codebase For SWF That Is Sometimes Standalone - Sometimes Module
Aug 15, 2011
I have an app that has been a standalone app 'til now; however, in another app it's going to be a wee little module. Is it possible to somehow maintain 1 codebase when the standalone has a source tag of:
[Code]....
View 1 Replies
Similar Posts:
Jan 11, 2011
Currently optimizing an application at work. There are many files in some of the module projects that are not used by the exported (release build) Module.swf's. Are these unused files included in the swf's?
View 1 Replies
Jan 2, 2012
I have created a modular application. I have two modules, for example Module1 and Module2.I have loaded these modules in my application. I am using Parsley in my application. I have loaded separate different context builder in both modules.
But when I am dispatching event from Module1, I am able to listen that event in that Module1 but I am trying to listen that event in another Module2. I am not able to listen that event in that Module2 through Parsley.
View 2 Replies
Jan 25, 2010
I have created a module in Flex like below:
modules/ModuleBase.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml">
[code].....
View 1 Replies
Jul 25, 2011
I'm currently developing a game in flash and want to be able to divide up my .fla assets in a way that means artists can work on a game menu .fla in isolation from the game.fla and rest of the game code.If I could briefly explain how I've approached this so far, I would be extremelyMy project is setup like this:HighScoreMenu.fla -> document class HighScoreMenu extending GameMenu class.game.fla ->document class game.asgame.as class loads the published HighScoreMenu.swf and manipulates the menu i.e. animates on and off screen via inherited functions in the GameMenu class.
Now this seemed to work to begin with, until my code evolved and upon going to publish my HighScoreMenu.fla flash started complaining about symbols being used in Game.as that were in Game.fla... If I'm only publishing the HighScoreMenu which extends from GameMenu then why is it even looking to compile Game.as
View 4 Replies
Sep 21, 2011
Recently struggling with weird IE9 + Flash problem I came over multiple advices to use classid and codebase attributes specifically for IE. But couldn't find any explanation of why they might be required or what they simply do. Any good writeup on this topic anywhere? Side-question: Can I just make classid value up out of my head or it should be generated according to some rules?
View 1 Replies
Jan 4, 2010
I'm running Flash CS4 on a laptop and find it gets sluggish. I find when I restart my computer, I can work at a good speed for a while, but eventually it becomes very laggy - why is this?
Can I dump the cache files or something to simulate the restart? I've reduced the undo history to 10 - any other tips for CS4 on a mediocre machine?
View 1 Replies
Apr 23, 2009
i have a button on my main swf and when i click this button a new swf loads into this main swf. when this happens the button is placed behind this swf. is there a simple way to keep my button on top when this new swf loads in?
View 1 Replies
Feb 4, 2009
I was wondering how to embed an swf file inside another swf file, If i simply import it to the stage or the library it will become a symbol but the actionscript interactivity is lost, another question is can I have an actionscript 2 file play within an actionscript 3 file? The actionscript 2 code for embedding is something like this: don't mind the _mc titles
[Code]...
View 1 Replies
Jan 27, 2010
What's the best way to maintain image quality in Flash.
The images in this banner gallery just don't look as good as they do on my computer.
Is there a way to embed color profile in the Flash import?[url]...
View 1 Replies
Jul 4, 2009
I should build a web application for back-office purposes and one of the main requisites is a good UI. On server-side I'll use Java very likely Spring framework, depending on what I'll be using client-side. I think to basically have 3 choices for client-side: a "normal" web application, meaning JSP pages, using JQuery framework. In this case, I will use full Spring's features, complete MVC pattern etc. I've been using Spring and JQuery for 2 years, so I know these techs very well. But I also know that it's quite complicated to realize some effects, much javascript code involved, specially when dealing with ajax calls and dynamic changes of page structure.
Flex with add-ons such as BlazeDs to integrate with Spring. I have no experience using Flex, I just read some articles and tutorial about it, but I really would like to learn something new :-) Google Web Toolkit, maybe with something like gwt-ext. No experience, but I really like to learn. It's plenty of support out there if I need, but I think I will struggle to maintain Spring MVC and GWT in the same project, I read that it's not so easy but there are a couple of patterns to follow.
View 6 Replies
May 31, 2010
my login form in flex when I login I have created a cookie in jsp like this name setValueCookie.jsp [code]through the httpservice value i am getting but if i open a new window or any new tab cookie value is not getting how can i solve this?
View 1 Replies
May 5, 2011
I'm looking to work out the most efficient way to maintain the joining of two points with a line in AS3. Basically, I have a whole bunch of circles that move around, and have a property subNode which will act as an end point for the line. At the moment, the way I'm doing it is extremely intensive:
[Code]...
View 1 Replies
Jan 17, 2008
I want to build a gallery that is full screen all the time and make it scaleable. The gallery is easy but I want image to maintain ratio but once reaching a 800 by 600 stop scaling .
View 9 Replies
Jun 18, 2009
i am trying to develop a simple car game, and to do that i have to maintain the distance between the two wheels. for the collision detection i have used coreyoneil class, which i think is excellent. i cant get the distances to go smoothly. and basically i am finding it hard to get the physics to work.
p.s. i tried to upload the files here and got an error each time, anyone know why that is?
View 0 Replies
Jul 21, 2009
Is it possible to maintain the style format I've applied to my dynamic textfield when using css?What I'm trying to accomplish: I'm trying to get the url links in my cdata from my xml file ( <a href="">link</a> ) to underline, and if even more so possible, to bold or change font color for that link. And I'd like to avoid just using the <u> tag in the cdata instead.I know you can just use a stylesheet to accomplish that, but I've already set up my script to use the setTextFormat method and when I try to combine the two, it seems that I lose my embedded font.Heres what I have now for my textfield, which is also successfully pulling the style from a xml file.[code]
View 0 Replies
Nov 23, 2011
My app has 2 frames; in frame 1 there are 5 MC and on a DOUBLE_CLICK event the target's color change and go to the next frame 2. In frame 2 i have a button to return to frame 1. How can i maintain the MC color when i return to frame 1?
[Code].....
View 3 Replies
Apr 16, 2010
We are working on digital photo frame(DPF) project where we need to run DPF on 3 different resolutions, i.e., 800x480, 1024x600 and 1024x768. Is it possible to maintain only one .fla file for all resolutions? How can we go for it? We will be publishing it for flashlite 3 and using AS2. The application runs on a processor of 800MHz.... and total available memory is 128MB..
View 8 Replies
Apr 6, 2010
I have a DataGrid and I set the DataProvider to my data. When my data changes the DataGrid loses the selected row and the scroll bar jumps back to the top. How do I maintain the selection and scroll position?
View 2 Replies
Jul 22, 2010
Does Flex Dictionary maintain the order of its elements?
View 2 Replies
May 9, 2011
I have created a flash video player using as3 (videoObject) but when I play the video the video is streched how to tell flash using as3 to maintain aspect ratio.
View 2 Replies
Aug 16, 2011
I have a container full of tiles and other assets that serves as the map. On top of that container is a mask that serves as the camera the player sees through. In order to move the camera around I move the container around.I'm able to center on a tile within the container using the following formula:
container.x = ( ( (tile.x + (tile.width / 2) ) * container.scaleX) * -1) + (mask_width / 2);
container.y = ( ( (tile.y + (tile.height / 2) ) * container.scaleY) * -1) + (mask_height / 2);
This moves the container into position relative to the mask such that the center of the mask will be the tile in question.I recently added the ability to zoom, which just adjusts the scaleX/scaleY of the container to make it bigger or smaller. I've already fixed the centering code above to account for it, but I'm having trouble making it so the "camera" doesn't appear to move around as the view shrinks. Basically, when zooming out everything appears to move to the left, because the container shrinks. It's all fine once I center on something with the code above, but I need a way to bump the container over to the right a bit based upon the difference in scaleX and scaleY to keep everything looking like it's in the same position while zooming.
View 2 Replies
Nov 23, 2011
My app has 2 frames; in frame 1 there are 5 MC and on a DOUBLE_CLICK event the target's color change and go to the next frame 2. In frame 2 I have a button to return to frame 1.
How can i maintain the MC color when I return to frame 1?
public class test extends MovieClip
{
public function test()
{
[Code].....
View 2 Replies
Aug 26, 2009
My function is when you click it, it will navigate you to the other page(same .swf file) at the same time the blue box will turn to red box...what happen is that, when it reach the page, it turns blue box again.. How can I maintain the color(red) of the box, when it reach the other page?
View 1 Replies
Mar 17, 2011
I'm developing an app consisting of 6 frames with 4 or so ComboBoxes on each frame. ComboBox data has been declared through Component Inspector > dataProvider. I want the user to be able to return to previous frames to review their selections made in each ComboBox. However when changing frames, the label returns to its Prompt condition. How do I override the DataProvider data when a selection has been made, to keep displaying that selected label while the user navigates? I've tried a few possible solutions but keep getting an error 1119 message dealing with fl.controls:ComboBox.[code]
View 0 Replies
Feb 23, 2006
I'm making a thumbnail gallery where I want the image you click on to expand, while the pictures to either side move out of the way. I managed to get it working using this to move the pictures:
"Value" is just a number assigned to each picture, so this does one thing to the pictures to the right of the target, and one thing to the pictures on the left.
[Code]...
View 1 Replies
Sep 8, 2008
i try to charge a XML images inside a movieclip, but i need this movie clip maintain the aspect ratio. This movie clip gonna change with the size of the explorer, but when this change my image is going stretch. I used this code doesn't work but i try:
Code:
stageListener.onResize = function() {
MC._x = Math.round((Stage.width/2)-(MC._width/2));
MC._y = 153;
[code]....
View 2 Replies
Jul 7, 2010
I have a movie that uses external images loaded in with xml;
Q: Is there an easy way to change from xml to embedded images?
(I need a self contained swf in the end to email - I don't want to have to send along the directory of images, xml file and png's)[code]...
View 3 Replies
Jul 9, 2009
I'm tentatively looking into building a system to compile a PDF in runtime based on a users selection of PDF pages which are in local directories.I'm sure this is possible using something like activePDF.Now, the result would be a PDF which the user would review and eventually export.Am I right in thinking that without AIR the saving of the file to a location on a users machine of their choice is not possible?
View 5 Replies
Jul 23, 2010
I have multiple swf connected to main file. i want to send a client only one main swf. with out other swf the main file doesnt play those contents in the main.
View 4 Replies