ActionScript 2.0 :: LMS - Modules Starting On Last Page

May 14, 2010

I am working on some legacy Flash training modules created in AS2 in 2006 & 2007. They are being tested with the LMS vendor at the moment and a certian number of them (created by the same guy) are starting on the last page, even after the tester has cleared browser, restarted etc....would anyone know where to start with this problem? I am fairly green with actionscript but am gradually learning bits and pieces. The training modules run from a main template SWF that houses all the code - this SWF loads an array of other content swfs inside it. THis is why I am confused as the last 'page' would be the last secion of the last SWF loaded.

View 2 Replies


Similar Posts:


Stop Swf Video From Starting When Page Is Openend

Oct 13, 2009

How can i stop an swf video file from starting when the page is opened in browser? Under the publish settings i click on (paused at start) . This doesn't seem to have any affect on whether the video starts when the page is opened.

View 3 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

Asp.net :: Get Flex Modules From MVC?

Aug 18, 2010

We´re developing an ASP MVC application witch the View (aspx) has a Flex embed. This aspx/flex view is composed by a flex application and several modules. when we call the application url [URL] the server invoke the method the will return the ActionResult that represents this action, in this case the ~/Views/Flex/Index.aspx (with the Flex app). However when the ModuleLoader, in the Flex application, try to load a module an error occurs. The problem is that the Flex application can´t directly access the modules folder (~/Views/Flex/modules/module.swf). Are there any way to get the module through an ASP MVC action? Or the best approach is to allow the access to this folder through web.config?

View 1 Replies

ActionScript 3.0 :: Sub Applications With Modules?

Sep 21, 2011

We have several applications, each having a main mxml file with code that calls remote data services using BlazeDS and several modules. The applications communicate with the modules through a shared interface.
 
We are considering creating a main application that can integrate the above as sub-applications. Is there an issue due to our current apps having modules and remote data services?

View 2 Replies

Flex :: Using RSLs With Modules

Feb 23, 2010

We are building a fairly complex application that we need to be able to release different parts of at different times. To help us solve this problem we are using RSLs and Modules.so let me describe the projects (names have been changed to protect the innocent)[code]We have one application client that loads the areas of the application as modules. We have a core RSL that does things like login and holds entitlements and provides an API for the modules to access this sort of state and also to communicate with each other.

When we load client we only want the core rsl to be loaded as that is that is currently required. When the groceries module is loaded we want the groceries rsl to load and likewise when the bakery module is loaded we want the bakeryCore rsl to load.In reality this isn't what happens. If we set the projects up like that at run time the core rsl loads at application startup but the module RSLs do not load when the module is loaded. If we run an application from the project that houses the groceries module then he rsl loads when the application loads but not when the module does. We need a way of loading the rsl when the module loads.At the moment we specify groceriesCore and bakeryCore in the client application so they all load when the client loads. This is obviously not a good idea as when we add another 30 departments we don't want all these departments being downloaded at application startup - we only want them to be downloaded when they are required - when the application loads.

View 1 Replies

Flex :: Why Do Modules Keep Getting Rebuilt

Aug 26, 2011

I have a flex project, which has a main application, and then a number of small modules (17 of them). For reasons I have not been able to figure out, when I do a 'debug-compile' to test, frequently (but not always), it decides to rebuild the modules, though, nothing within the modules has changed in any way. Without the modules re-compiling, it takes about 5 seconds to build the app, but with it, it's upwards of 2 minutes. I assume its that something the modules all need is getting changed, but for the life of me, I can't figure it out.

View 1 Replies

Flex :: Flash - How To Access Modules

Jul 8, 2009

I have build a module in Flex that I call myModule, this module has a method myMethod. Now I use the ModuleManager to load this module.

mod = ModuleManager.getModule("myModule.swf");
mod.addEventListener(ModuleEvent.READY, modEventHandler);
mod.load();

now I want to access the method

(customComp as myModule).myMethod()

where customComp is the DisplayObject created by the factore.create() method of the module info. This code will not compile as myModule is not a defined property. Can someone help me with that? What do I have to import? The myModule.swf is not an asset, it lies in the bin directory of my project.

View 1 Replies

Flex :: Share Components IDs Through Modules?

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

Flex :: Flash - XML Declaration Available In Modules?

May 20, 2010

I'm building a Flex/Flash Builder 4 application that loads data using E4X/XML, like this:I originally build an application that was a single MXML file which loaded this XML file and built a form from the data.I've now build a main menu screen with a button to load the form screen as a seperate module. How do I get the XML declaration to work in this module without loading it again.

View 1 Replies

Flex :: Loading Modules From A Certain Folder?

Jan 20, 2011

I'm working with modules and each of it will be compiled (deployed) in a common folder in a webproject. In the main class I defined an array of module paths which I need for loading all these defined modules.

How can I make that more dynamically, for instance, I want to say, load all modules in a certain folder an its subfolders without to know each module by name.

View 1 Replies

Flex :: Common Function Across Modules?

Jun 25, 2011

We are working on a project where we have multiple modules- all these share a common set of functions like rounding, string parsing etc.Currently, we have added these functions into the parent container (which calls these modules) and use them in the respective modules. Likewise, if we have to share variables between modules, we add them to the parent module- so it becomes shareable across.Is this the right approach- both from a performance and structure perspective?

View 2 Replies

Actionscript 3 :: What Is The Sense Of Flex Modules

Jul 20, 2011

As far as my understanding goes Modules kann be used to split an Application into different parts. A big advantage seems to be to be able to load Module after Application Start, to get a better Startup performance. I personally would like Modules to make me able to have an own Code Sandbox for the Module Code. So neither the Main App Code nor the Module Code should influence each other. But for examples CSS Styles from modules influence the Main Application an visa vers. My Question:

1. What can I use Modules for beside Runtimeloading ?

2. Are there options to run code in an own sandbox ? For Example via Loading swf assets ?

View 2 Replies

Flex :: Add VOs Into A Library Project When Developing Using Modules?

Sep 4, 2009

I'm developing a module based applications in Flex and I was thinking about moving all my Value Objects (VOs) into a library project

Current Structure: I have a project that consist of a shell application and 3 modules. The modules contain about 10 custom components in each that are dynamically loaded at run time. My problem is component A ( in module A) needs to pass data to component B (in module B). So when this happens I move the VO that component A was using to a common folder. I then pass the VO and have component B pick that up and do what ever it needs to do with it.

So what I was thinking was using an existing library project and adding all my VOs to it. This way I'll never have to move a VO from the module to a common folder so both module A and module B can access it. The basic idea is I want to be able to complete abstract any module from shell into its own widget or Air app with out depending on any other modules.

View 2 Replies

Flex :: Loading Embedded Fonts From Modules?

Nov 28, 2009

As some of these languages have very big font sizes (e.g. Chinese), I do not want to load all these fonts into the app. at once but was thinking to put them into different modules and then load only the specific module (depending on which language is chosen in the main app). For this I moved the style part from the main app:

<mx:Style>
@font-face
{
font-family:DedicatedFont;

[Code]....

into the different modules. Above one is e.g. for the Chinese font (cma.ttf).

The modules are created and I can also use the fontstyle (DedicatedFont) in the module itself, but I can not access it from my main application.

View 1 Replies

Flex :: IDE Does Not Treat Mx:Module Descendants As Modules?

Jan 12, 2010

I'm playing with Modules and they work as advertised: the module swf's ares built and deployed in the output directories automatically. My problem is that if I use descendants of mx:Module, the IDE does NOT do all this nice work for me. I've listed the module in the Flex Modules section of the project properties, but still nothing. I'm going to end up repeating a lot of code in each module (to fulfill an interface) if I cannot figure out how to make the IDE do its thing.

View 1 Replies

Flex :: Organizing Functionality Modules In Project?

Apr 19, 2010

What's the best way to organize functionality modules in a flex project? I saw some people put all modules in one view stack ,and so the application interface is only load once, but when the application get larger, the whole compiled swf would be very big. If we put swfs in different pages, we pass request parameters through HTTP request, we lost the benefits from flex RPC services, slow loading, and we can't see any superior comparing to php,asp,jsp... what's the best practice to organize front end architecture?

View 3 Replies

Flex :: Load Multiple Modules In One Application?

Sep 1, 2010

I don't know if I can do what I want in flex, so imagine this in ASP: I have an aspx page that loads a Login.ascx control, the control checks if login is correct, and if so the aspx page loads the XXX.ascx control (so there is only one control visible).

I want to do more or less the same in Flex: I have the main application with the code that connects to the database, check the login, and if its correct it loads a new module. I have made everything until the module load, I mean, I have the main application (Login.mxml) associated to a Login.as, and a Module.mxml associated to a Module.as. When the user press the login button (in Login.mxml), a method is fired and checks the login. If it is correct, it shows the new module.

My problem is that it is shown in the same page that the login page, instead of "changing" the page. I have used two ways to do that: ModuleLoader and PopUpManager, and both load the new module in the same page.

QUESTION: How can I load, inside an application, a Flex module in a different page?

View 1 Replies

Flex :: Include Resource Bundles In Modules?

Sep 21, 2010

In the simplest of Flex Projects, create an MXML Flex Module and then load it using the ModuleManager.Create an ActionScript class that extends Module and then configure your project to compile that into a Module.Load this new module instead. The project compiles, but crashes when running with the following error:"Error: Could not find compiled resource bundle 'containers' for locale 'en_US'."I believe the compiler is failing to compile the required class definitions into ActionScript only module, while it succeeds for the MXML module.I can see that my skeleton MXML module is slightly larger than my ActionScript module (66KB vs. 45KB).

View 3 Replies

Flex :: Load Multiple Modules In Sequence?

Oct 15, 2010

I'm planning to break my Flex applications into different modules and need some advice regarding the loading of modules.Currently, on load of the application, I need to add 5 modules as children to HGroups under a viewstack.I'm using a ModuleManager to perform this and listens to the ModuleEvent to add the elements as IVisualElement under the HGroup.

View 1 Replies

Flex :: Modules Does Not Inherit Css Styles When Built With Ant

Nov 26, 2010

I'm creating a Flex 4 application which contains different modules in it. The main application contains a style sheet and the modules inherit the styles defined in this file.Its working fine when the swf's are generated using Flash Builder. But when I'm generating it using Ant script, the modules does not inherit the styles and everything looks weird.I added isolate-styles="false" as an additional parameter to mxmlc, but still its not working.

View 2 Replies

Flex :: Modules Over MXML Component Architecture?

Dec 2, 2010

I am actually in the process of Architectural of our project. We have choosen Mate framework. The project is not so quite complex, but what advantages i would get over MXML when i choose Modules.

Main App - > Views - > Events - > Maps - > Services [PHP or Java]

When i come up with Modules based Architecture, it seems to be good but i doubt it should not end up with tight coupling and unwanted issues which may break the head later to solve.

Main APP - > Modules - > Module Interface -> Events - > Maps - > Services
[PHP or Java]

What advantages i do get if i choose Modules over MXML Component? What is the prefered and the best way to Architect an FlexApplication? Since the Application is going to communicate with Backend, do we need to make the frontend more complex?

View 3 Replies

Flex :: Embedded Images Do Not Work With Modules

Dec 17, 2010

I have an Image component with a source set to an embedded image. When I load this module into a shell module, the image doesn't show up. Why? I have to put an instance of that image into the shell module's codebase just to make it work. That shouldn't be, right?

View 1 Replies

Flex :: Loading Modules In A Mobile Application?

Jan 9, 2012

I am going to write a Flex mobile application which can benefit from loadable modules, but encountered "Modules are not supported for AIR mobile applications." statement here.

Is there any workaround to load swf modules (containing UI with some code) in the mobile application developed for iPhone/Android/BlackBerry?

View 1 Replies

ActionScript 2.0 :: Requires One Of Three Modules To Load Randomly?

Oct 26, 2007

I have a project I'm working on that requires one of three modules to load randomly, but then play in order in rotation. So I've set up a timeline with labels to jump from one to the next in sequential order. What I am trying to do is after the preloader loads, the timeline would randomly jump to one of those three locations on the main timeline, specified by a label.

Does anyone know of a tutorial or script that might point me in the right direction?

View 3 Replies

ActionScript 2.0 :: Save Usernames And Passwords For The Modules?

Mar 28, 2004

I have been trying to save usernames and passwords for the modules i develop in flash ......and finally i came across sharedObjects which really come in handy for saving information on local machine.........

Now comes the problem ........the data is stored in the form of *.sol files by flash and now i am unable to add data to previously saved information.....Is there any way to save data in sol files as an array the thing is i need to develop a login screen for multiple users not for single user ...........

View 2 Replies

Flex :: Parent App Access Versus Events In Modules

Feb 2, 2010

Inspired by this Flex question, is it seen as better practice to dispatch an event back to the parent app, as opposed to calling a method on the instance of the parent app, from within a module? To me it seems that the module shouldn't know what methods are available at the parent, as such approach leads to tight coupling.

View 1 Replies

Flex :: Modules V/s Components For A Large Scale Project?

Feb 8, 2010

I am planning on a Flex project that involves incorporation of a lot of features.

Each 'feature' can be a component / module.

Which is preferred and what is the difference between a module and a component?

View 2 Replies

Flex :: Referencing Component IDs Within Modules, Nested Viewstacks?

Dec 23, 2010

The IDs for all tags in an MXML component, no matter how deeply nested they are, generate public variables of the component being defined. As a result, all id properties must be unique within a document. This also means that if you specified an ID for a component instance, you can access that component from anywhere in the application: from functions, external class files, imported ActionScript files, or inline scripts.

Which is fine if your application is all contained within one MXML, but I'm having trouble referencing IDs of components within Modules, and then inside ViewStacks/Navigation Containers within a given Module.

If I can reference a module with FlexGlobals.topLevelApplication.myModule, shouldn't I be able to reference a Panel called myModulePanel with the following?

[Code]...

View 1 Replies

Flash :: Flex Load Modules READY Event Not Fired

Oct 12, 2009

Using flex builder with flex sdk 3.4.0 if the module is remote like url...The READY event is never fired, i don't understand why.Do you get the same behavior? Original code is from url...[code]

View 3 Replies







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