Adobe Flex Actionscript

  Home  Adobe  Adobe Flex Actionscript


“Adobe Flex and Actionscript Interview Questions Answers Tutorial and Guide to build your knowledge for better career. Adobe Flex is a highly productive application also called actionscript, its free and open source framework for building and maintaining expressive web applications that deploy consistently on all the web browsers, desktops, and operating systems. Adobe Flex actionscript Interview Questions and Answers will guide you about all the aspects of Adobe Flex Actionscript.”



84 Adobe Flex Actionscript Questions And Answers

81⟩ What is Inheritance in term of OOP (Flash Actionscript)?

Inheritance is a form of code reuse that allows programmers to develop new classes that are based on existing classes. The existing classes are often referred to as base classes or superclasses, while the new classes are usually called subclasses. Advantage of inheritance is that it allows you to reuse code from a base class. Use the extends keyword to indicate that a class inherits from another class.

 183 views

82⟩ Can I load CSS style sheets dynamically at runtime?

Dynamic loading of CSS files is not supported in Flex. CSS in Flex is processed on the server side during MXML compilation rather than on the client side at runtime. There is a trick though: A CSS file can be compiled into a separate SWF file and loaded dynamically into the application using the Loader component.

 199 views

83⟩ Why are my ValueObject member variables undefined in the results from my RemoteObject requests?

Flash Player deserializes objects in a special order that can confuse developers used to object serialization from other RPC systems. When a strongly typed object is returned to the player, it first creates an instance from the prototype of the registered class without calling the constructor. It then populates the object with the properties sent in the result. Finally, it calls the constructor without arguments.

If your ValueObject constructor expects arguments to initialize an instance, be sure to check whether arguments were actually sent to the constructor before overriding member variable values.

 212 views