ActionScript 2.0 :: Theory On Dynamic Application Project?

Sep 14, 2006

what I am trying to do and maybe some of you nice people can point me in the right direction or present some code examples etc.I am an intermediate Flasher but have never really done anything too hardcore....Here goes.I have an html file(or maybe it's flash depending on what's easier) with 5 radio lists in a form. Each of the lists have post variables that consist of say, option1a,b,c etc... option2a,b,c etc.Once you have checked each option and submit I want to post those variables to an XML file.

NOW STEP 2....I create a flash file with 5 empty movie clips named box1,box2,box3 etc.I create individual LoadMovie actions which dynamically get the name of the .swf file they need to load in each box by calling the variables from the xml file.

View 3 Replies


Similar Posts:


Actionscript 3 :: Distributing Changes To An Existing SWF Application Theory

Jul 11, 2011

Lets say we have an online application written in AS3 and served from a server as a SWF. The first version to go out is V1.0.

Several users, some behind a proxy server, use the V1.0 application and now there is a cached copy on the client machines and the proxy server.

V1.1 is released and placed on the server. All users should see V1.1, but results will vary, some will be served the fresh copy, some will for a period receive their cache's copy, and finally some will be served the cache'd copy in the proxy server.

I can be code in the V1.0 that checks a server variable to see if it's out of date. BUT if it is out of date, is there a way in AS3 to force it download a fresh copy, or apply the differences into itself?

Considering that I don't have access to the proxy server and can't manually or automatically clear the cache.

View 3 Replies

Flash :: AIR 3.1 Mobile Project: Adl.exe Not Showing Loaded Application

Mar 24, 2012

Copied:

bin
runtimes
airApp-app.xml
airApp.swf

Calling:
G:adlinadl.exe -nodebug G:adlairApp-app.xml

Nothing on the screen, nothing in the console. I do, however, see adl.exe hanging in the processes and eating up memory - i assumed its the loaded, but invisible application.

Update:Created a blank Flex 4.5 (Air 3.1) project that changes the background - and it worked out fine. Tried to use this config (tweaked the filename) - and it doesn't work. Seems the problem only applies to mobile projects.

View 2 Replies

Flash :: Professional - Embedded Component In Silverlight Application(ASP.NET Project)?

Mar 18, 2010

I am ASP.NET developer & wright now I am working on Silverlight project. SinceSilverlight has few drawbacks like we can get Clipboard IMAGE data using silverlight application(however we can access Clipboard TEXT data from Silverlight), but this is not an issue with flash. We can access to clipboard image as well as text data using flash.

[Code]...

View 4 Replies

Flash :: Set The Size Of SWF-application In ActionScript Project (Flex Builder 3)?

Mar 17, 2010

I need to set the size of SWF up to 800x600. But i don't know where can i change this property. There was an idea to change stage width and heigth, but nothing happened=(

View 1 Replies

Flash :: Create Adobe Air Application From An Existing FLASH8 Project?

Jan 7, 2011

Is there any simple way how to pack existing Flash8 project using AS2 and multiple files to to Adobe Air application?

View 2 Replies

Actionscript 3 :: Flash - How The Kernel Could Interact With An Application When Creating A Project

Mar 8, 2012

Im learning flash actionscript at a local college and have been asked to find out 3 ways how the kernel could interact with my application when creating an actionscript project.

EDIT: The Kernel is a class that is being linked to the swf. Weve been asked to find out how the Kernel can effect and interact with the application. This is the class thats been created:

public class kernel extends MovieClip
{
public function kernel()
{

[code]....

View 1 Replies

AS3 :: Flex - Project Mouse Move Listener Reacting Outside Of Application?

Aug 1, 2006

I'm getting an unusual behavior that I can't seem to get to the bottom of. When I run this, if I move in the swf area it traces normally on mouse move. To be expected.But it's tracing for the move event when I click anywhere on screen. If I click and drag, it traces as if I were moving in the swf area of the browser.Here's the code. I've simplified to it's barebones. Just put this in in an empty AS3 project in Flex called "Engine" - sans quotes obviously.

package {
import flash.display.Sprite;
import flash.events.MouseEvent;

[code].....

View 6 Replies

ActionScript 3.0 :: Theory On How To Best Compare Objects

May 6, 2009

I have four objects with a .speed property. I want to compare all four and snag the object with the lowest speed. That alone I can get a grip on no problem. But, it's quite possible that 2 or more of the objects could have the same lowest speed. Here's where my ideas start to get muddled and rather involved. Compare two, toss the lowest in an array, if equal toss them both in.Compare the third to the array, if it's lower replace the existing item(s) with this one, if it's equal add it.Do a similiar thing with the fourth.To do all that I can't think of anything but a boatload of IFs and nested IFs.

View 3 Replies

ActionScript 3.0 :: Get A Handle On Interfaces - Theory And Utility

Jul 22, 2009

I am trying to get a handle on interfaces with AS3 and am kind of at a sticking point. Someone tried to explain them to me using legos¯ and conceptually I get the idea of consistent interaction. Where I seem to get stuck is, I don't really see how the implementation of interfaces¯ accomplishes this.

[Code]....

View 3 Replies

ActionScript 2.0 :: Pulling Images From A Folder -> Theory?

Aug 27, 2003

I would like to create a swf that pulls images from a folder, creates a thumbnail for them and preloads them. This would have to work like a bare template that could pull 2 or 20 images depending on what folder it is placed in. I'm not asking for code here, what I would like to get from you is thoughts on what works, and what doesn't. paste code if you want to explain someting, but really I just want to be able to wrap my head around this, and then code it myself, and comeback here with specific questions if I run into problems. I would like to keep this to just flash and php if at all possible.

View 5 Replies

ActionScript 3.0 :: Theory Behind Custom Event Redispatching?

Jun 25, 2009

Can someone clear up for me the theory behind the fact you can not redispatch custom event?I am talking about the situation where you get custom event (in your event handler method) and try to dispatch it again as it is - and you get the Error #1034: Type Coercion failed.example:

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

View 2 Replies

ActionScript 3.0 :: Class Theory From A Designers Point Of View?

Aug 20, 2009

I have been using flash since version 3 as a designer.I want to know how to make an object that I have manually placed on the stage from the library with a Class attached to it, interact with the Document Class? So I am basically dragging the item onto the stage and this item has a class attached and the Document Class with all of its SubClasses needs to know this exists.

Now I was dabbling with making geometry wars to learn AS3 Classes and it was great fun, I set up the Document Class, my enemies and Player 1 Spaceship. I worked out my different SubClasses, and everything was added to the stage by AddChild() along with all SubClasses being created through the Document Class....Every Class Object was linked to the Document Class as everything was created either by it or through SubClasses under it. So I had full control to do what I wanted. However, all I ever see are elements generated dynamically to the stage. As a designer I want to animate things here and there and then at specific times possibly gain control of this item with it's Class attached, but I want the Document to have a link to this Item.

Also can everybody please stop generating text boxes dynamically all of the time. just create a MovieClip with the form elements on it if it's a form that isnt going to change in layout at all. But this leads onto the same sort of questions, the items arent being created and added to the stage as objects so you still have to make the MovieClip Class understand the items under it exist, I would do it by the Instance Name but is this dirty these days in AS3..

View 16 Replies

Actionscript 3 :: Flash Side Scrolling Game Theory

Feb 28, 2012

My goal: To create a side-scrolling motocross game (horizontal - already have terms on side scrolling methodology).The bike - should react to jumps, etc.Wheels need to turn when gas is pressed, etc (is this a basic animation on keyboard events, or is it actually what 'drives' the machine??)The rider - should hang on to bike, lean forward, backward, etc.My question lies within where should be the best place to start? I know this isn't going to happen over night, and my primary focus is on the bike & suspension & rider physics (making sure the suspension/bike/rider react correctly to bumps).URL...

View 2 Replies

ActionScript 2.0 :: Multiple Save And Load Text (theory)?

Apr 22, 2011

I understand flash does not allow to save text to file, but i have been using zinc 3.0 and can save and load a single text file within flash.1. run me through what the theory would be to have multiple input text fields that save to 1 text file and then is able to load the text from those text fields back into the same place? In theory or if someone knows.2. Is it possible to automatically load and save text to files using something similar to flush() with shared objects?3. Is it possible to have a username and password so multiple people can save and load there own answers? Perhaps having this password on the first frame as i have multiple frames with sl.

View 13 Replies

Professional :: Move Project To See The Not-project Area Around The Project?

Jun 21, 2010

I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).

At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png

View 2 Replies

Professional :: Dynamic Text For A Large Scale Project?

Jan 22, 2011

I understand that, in order get an anti-aliased font in a dynamic text field, the most given advice is to embed the font.  But that doesn't work for my project since we want to make it available in multiple languages, and there are too many fields that must be embedded, and it greatly increases the file size of just one scene.
 
The other option I have seen people use is to custom anti-alias, but for some reason, this option just is not working for me.  I fiddle and fiddle with the sliders, and no change is ever made.  We are only using Arial, so I am at a complete loss as to why I seem to get no changes in the text from this option.
 
shed light on what might be blocking me from using custom anti-alias in my flash files?

View 3 Replies

Flex :: Adding Flex Capabilities To An Existing J2EE Enterprise Application Project

Sep 17, 2010

I have an J2EE Enterprise Application Project in which I would like to add a few Flex screens. How do I go about adding Flex capabilities.

I have build Flex/J2EE applications from scratch but can't think of the best way to do this.

I am currently using Flex Builder Plugin for IBM Rational Application Developer 7.5.

View 1 Replies

Actionscript 3 :: Dynamic/Real-Time Update Using 2 Different States In Flex Project?

Sep 16, 2010

I am trying to update a visual component giving some information in 1st state, while I make changes in the 2nd State...Question : Is it possible ? If yes, then is just data binding the solution? how ?!

Clearer Description :

State 1 : Has a form, in which I enter some data value for 3 boxes.

State 2 : Has 3 boxes, who have to change in color based on what values were entered in State 1.

Purpose : User 1 will enter data in with State 1 open, while User 2 should be able to see the dynamic/real-time effect while he is in State 2.

View 1 Replies

Android :: Make Dynamic List Component In Flex 4.6 Mobile Project?

Jan 4, 2012

how can i change my list component in Flex 4.6 mobile project with that when an item is pressed it would dynamicly resize and show an article description and a button [URL]

View 1 Replies

Javascript :: Is It The Index.template.html File Per Project Or The HTML File Created Per MXML Application

Sep 26, 2011

I was reading about Flex- JavaScript communication via ExternalInterface.But I had a doubt, it said that the javascript code should be written in the HTML file of the application ? Now which is this HTML file ? Is it the index.template.html file per project or the HTML file created per MXML application ?

View 3 Replies

Add A Widget Board To Flash Project So Users Can Embed Project In Their Webpage?

Jul 4, 2009

I would like to add a widget board to my flash project so users can embed my project in their web page or wiget display. To see what I'm talking bout go here [URL] and click the white + mark on their widgets.If your a moderater please put this in the correct area, and consider making it a sticky so we can post new ways to impliment in different sites as they become available.

View 2 Replies

ActionScript 3.0 :: Preload Project, But Wait For Said Project To Load External Assets?

Jun 15, 2009

I am working on this one project that has a couple of movieclips (already placed on stage) which have a custom class set to export via the Library. Each of those custom classes loads an external SWF using URLRequest().

Is it possible (or, what is the best way) to preload the whole project first, including the external SWFs?

View 7 Replies

Actionscript 3.0 :: Import Authorware Project And / Or Director Project In Flash

Dec 10, 2010

I just wanted to ask if I have a project created in authorware and one more in director.I just wanted to ask can we convert authorware project in flash directly or indirectly?Or can we import authorware project and/or director project in flash.does anybody know or anybody has done this b4???

View 1 Replies

Java :: New Project Created With Flex Mojo's Archetype Throws Cannot Find Parent Project-Maven Exception

Jun 15, 2010

Maven 2.2.1 unzipped,M2_HOME set and repository altered to point to different drive location in settings.xml Flex 4.0:

Installed Created a multi-modular webapp project using flexmojo:

mvn archetype:generate
-DarchetypeRepository=http://repository.sonatype.org/content/groups/flexgroup
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-modular-webapp
-DarchetypeVersion=RELEASE

with following options

groupId=com.test
artifactId=test
version=1.0-snapshot

[code]....

Parent pom has swc, swf, war as modules.

Dependency is war->swf->swc.

With parent artifactId of swf, swc, war set to swf, swc, test respectively.On executing mvn on test folder(for that matter clean or anything) I get this following error.

G:Projects est>mvn -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/com/test/swc/1.0-snapshot/swc-1.0-snapshot.pom

[code]....

Looks like its trying to download the project from maven's central repository instead of building it.

View 2 Replies

Flash :: Buider Project Can't Listen Event In CS4 Project

Jan 28, 2010

I am developing a project in Flash Builder which will load a file built by Flash CS4. The code in Flash CS4 is below, it's a doc class. I am sure the dispatchEvent has been invoked[code]...

View 1 Replies

Actionscript :: Disadvantages Of A Flex Project Vs Project?

Oct 20, 2009

I've recently started making a game in FlexBuilder. The game is currently a Flex project. Is there any downside to using Flex as opposed to just Actionscript? A friend of a friend told me that Flex is slower than an Actionscript project. I've been unable to validate this on the internet; is there any truth to that claim?

View 6 Replies

Flex :: Get Project Framework Into ActionScript Project?

Mar 27, 2011

If I create a new flex project with flashbuilder, these are the libraries that get included by default through the Flex SDK[code]...

View 1 Replies

Flash :: Flex Project In A CodeIgniter Project?

Jun 18, 2011

I have a CodeIgniter project and I made a back-office in Flex. I was wondering how I can implement the Flex project in my CodeIgniter since I'm working with routing I can't route to any directory. So there isn't a way to display the back-office.

View 1 Replies

Actionscript 3 :: Dynamic Application Saving And Retrieving Data To XML Via MovieClip

May 1, 2011

I am creating an application in Flash CS4 that will load data from an XML file and add a movieClip for each item to the stage. Each movie clip contains a NumericStepper component and Input text field.

The user needs to be able to change the fields and update the XML file for the event.CHANGE event.

The XML file needs to be formed like this. I need to be able to navigate between sections and load the data for each one.

<sections>
<section>
<data>

[Code].....

I just need a push in the right direction. I using the Object Oriented Programming methods with a Document class and movieClip classes to control my application. I have been spinning my tires creating several crippled versions.

View 1 Replies







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