1. What is Multimedia? 

Multimedia is simply multiple forms of media integrated together. Media can be text, graphics, audio, animation, video, data, etc.

 

2. What are WMV Files? 

WMV (Windows Media Video) is a generic name for video encoding solutions developed by Microsoft. The format is a part of the Windows Media framework that also includes formats like Windows Media Audio (WMA), Advanced Systems Format (ASF) and High Definition Photo (HDP). WMV files use the Microsoft container format and represent Microsoft's own version of MPEG-4 (Part 2) video encoding technology.

 

3. How do I Change DivX to VOB? 

One of the frequent questions many computer users ask is how to do I change DivX to VOB? For the most part, the answer is quite simple and there is software to use that can help you easily change these files in a relatively short period of time. However, it is important to understand the basics before changing, here are some tips.

 

4. How are Projector Lumens Measured? 

Lumens are extremely important when choosing a projector because you will want a bright, sharp image to be displayed. The brighter the image, usually the sharper the contrast will be. Lumens are extremely important due to the fact that projectors with lower Lumens require ambient lighting to be low. In addition, less lumens generally means the projector will need to be closer to the screen. These two factors have obvious consequences for many conference rooms, classrooms, lecture halls and home theater set ups.

 

5. What is an HDMI Optical Switch? 

HDMI stands for High Definition Multimedia Interface; HDMI is an audio video interface that is used to transmit both digital audio and video streams of data which are uncompressed and encrypted.

 

6. How Do I Copy Slides to Disk? 

If you have been enjoying photography for more than a few years, you probably have plenty of slides taken with analog cameras. Before digital photography, slides were a great way to view photos en masse. They were very small, making them light and portable and perfect for slide shows in homes, classrooms, and auditoriums. However, with the advent of digital photography and digital projectors, slides have lost their popularity and are slowing becoming obsolete.

 

7. How do I change my home page? 

Internet Explorer for Windows :

1. Browse normally to the web page you want as your home page. 

2. Pull down the "Tools" menu of Internet Explorer. 

3. Select "Internet Options." 

4. The "General" tab appears. 

5. You'll see the "Home page" box at the top. 

6. Click the "Use Current" button in that box. 

7. Click "OK." 

8. Close and open Internet Explorer. 

You should see your new home page.

 

8. What is phishing? 

Phishing is a form of fraud. Phishers pose as legitimate organizations in an email, over the phone, in person, on a website, or in a pop-up window to get you to disclose personal information, such as your credit and debit card numbers, account passwords, or Social Security number.

 

9. What is ambeant acclusion? 

Ambient occlusion is a shading method used in 3D computer graphics which helps add realism to local reflection models by taking into account

 

10.  How can I view video files on the web site? 

There are two ways to view the online video clips. Because of variations in browsers and operating systems, both methods might not work for all individuals. However, one of the two methods should work if you have the Windows Media Player installed. 1. Click on the link to the video. Depending on what your plug-in settings are in your browser, Windows Media Player may launch and begin downloading the video clip. The video should begin to play after enough is downloaded for it to play smoothly. 2. Right click (PC) or click and hold (Mac) the link to the video. Choose "Save Target As.." (IE) or "Save Link As..." (Netscape) to save the file. Make sure that the correct file type is selected in the drop down list below the file name. After the file has been saved to your computer, double click on it to launch it in Windows Media Player. If your computer is not set up to launch the player upon double clicking, first open Windows Media Player and then choose "File" and "Open" to load the video clip. Press the play button to begin playing.

 

11.  What is video-on-demand? 

Video-on-demand is existing video or an archived webcast available for people to watch on the web any time. The original video can be digitized as a RealMedia, Windows Media, QuickTime, or Flash Video file and can be viewed with the appropriate player. Contact Rutgers Academic Video Services for more information.

 

12. What is meaning of multimedia? 

Multimedia is simply multiple forms of media(text and graphics and sound etc)integrated together.

 

13. What is animation? 

Animation is the rapid display of a sequence of images of 2-D or 3-D artwork or model positions in order to create an illusion of movement.

 

14. What is a ambeant acclusion? 

Ambient occlusion is a shading method used in 3D computer graphics which helps add realism to local reflection models by taking into account.

Ambient Occlusion is a method for simulating global

illumination, while keeping a respectable ratio between results.

 

15. What is the arc in animation? 

arc is known as a curve which determine the poses of the character, it is the most important concept for animation.

To get good knowledge on arc u must have drawing skills

 

16. What is mean by Rigging? 

Rigging is a method of attaching bones or biped to a

'modeled character' or object in order to make them animate or 'perform' actions. By attaching bones or biped the 'character' can walk,talk and make bodily movements.

 

17. What are Multimedia Hardwares? 

Multimedia hardware basically consists of video and sound cards, and cd-rom drives. To make it a little easier multimedia kits are available that include all the necessary hardware and software to upgrade your present computer(s).

 

18. What are Multimedia Softwares? 

The software used to create multimedia experiences can be placed into 3 distinct categories:

* Audio Software

* Graphics Software

* Video Software

 

19. What are the Multimedia Authoring Tools? 

Multimedia authoring tools make it easier to create full scale multimedia projects. Fortunately, there are an assortment of tools available to choose from.

? Apple Media Tool

? Astound

? Asymetric Multimedia ToolBook

? Authorware

? Cinemation

? Course Builder

? cT Professional

? Digital Chisel

? Director

? Director Multimedia Studio

? FireWalker

? Formula Graphics

? HM-Card Hypermedia Authoring System

? HyperCard

? HyperPlus

? HyperStudio

? HyperWriter

? IconAuthor

? Klik & Play

? MediaLink

? MM100

? MovieWorks Interactive

? mPower

? mTropolis

? Oracle Media Objects

? Ozone

? Pegasus

? PowerMedia for Visual Basic

? Quest

? Shockwave

? ShowBasic

? Special Delivery

? SuperCard

 

21. What is meaning of multimedia?

Multimedia is simply multiple forms of media(text and graphics and sound etc)integrated together.

 

22. What is animation?

Animation is the rapid display of a sequence of images of 2-D or 3-D artwork or model positions in order to create an illusion of movement.

 

23. What is a ambeant acclusion?

Ambient occlusion is a shading method used in 3D computer graphics which helps add realism to local reflection models by taking into account.

Ambient Occlusion is a method for simulating global

illumination, while keeping a respectable ratio between results.

 

24. What is the arc in animation?

arc is known as a curve which determine the poses of the character, it is the most important concept for animation.

To get good knowledge on arc u must have drawing skills

 

25. What is mean by Rigging?

Rigging is a method of attaching bones or biped to a

‘modeled character’ or object in order to make them animate or ‘perform’ actions. By attaching bones or biped the ‘character’ can walk,talk and make bodily movements.

 

26. What are Multimedia Hardwares?

Multimedia hardware basically consists of video and sound cards, and cd-rom drives. To make it a little easier multimedia kits are available that include all the necessary hardware and software to upgrade your present computer(s).

 

27. What are Multimedia Softwares?

The software used to create multimedia experiences can be placed into 3 distinct categories:

* Audio Software

* Graphics Software

* Video Software

 

28. What are the Multimedia Authoring Tools?

Multimedia authoring tools make it easier to create full scale multimedia projects. Fortunately, there are an assortment of tools available to choose from.

 

29. When I set visible=”false”, the component still takes Up space and appears in the tab order. Why is that?

You can often achieve the “display=none” effect by setting the height/width to zero when you set it invisible, and then set it back to a fixed value or to undefined when you make it visible again.

 

30. 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 ii allows you to reuse code from a base class. Use the extends keyword to indicate that a class inherits from another class.

 

31. How do I pass parameters to a pop-up window in actionscript?

Three different ways to pass data into a title window.

It uses the initiator to pass in several built-in properties plus two user defined properties.

One is a simple string, the other is a reference to the main application that can be used for binding. Note the variable that holds the application reference is typed to the name of the application, this is critical for binding to work correctly.

 

32. How do we call javascript from Flex actionscript?

Using the Externalinterface APT to access JavaScript from Flex and Using the navigateToURL() method in Flex. The navigateToURL() method is in the flash.net package

flash.external.ExtemalInterface. call(function_name:String[, arg1, ..]) Object; navigateToURL(request:URLRequest, window:String):void

 

33. What is the problem with calling setStyle()

Calling the setStyle() method can result in decreased performance. Use it only when necessary.

You should try to apply style sheets rather than use the setStyle() method because it is computationally expensive. This method should only be used when you are changing an object’s styles during run time.

You cannot get or set style properties directly on a component as you can with other properties. Instead, you set style properties at run time by using the getStyle() and setStyle() ActionScript methods.

 

34. Can you write to the file system from flex?

Yes.

Ex:

import flash.filesystem.*;

private var stream:FileStream;

private function saveFile():void {

var file:File = File.desktopDirectory. resolvePath( “HelloWorld.txt”);

var stream:FileStream = new FileStream()

stream. open(file, FileMode. WRITE);

var str:String = “Congratulations on your 1St file, Rich Tretola – EverythingFlex.com”; stream. writeUTFBytes(str) ;

stream.close();

mx.controls.Alert.show(”File has been saved to \n” + file.nativePath, “Notice”);

 

35. What design patterns have you used? in Action script and java?

1. Creational Pattern

=> Factory Method Pattern

=> Singleton Pattern

2. Structural Patterns

=> Decorator Pattern

=> Adapter Pattern

=> Coposite Pattern

3. Behavioral Patterns

=> Command Pattern

=> Observer Pattern

=> Template Method Pattern

=> State Pattern

=> Strategy Pattern

4. Multiple Patterns

=> MVC Pattern

=> Symmetric Proxy Pattern

 

36. 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.

 

37. Sometimes, if I do not move the mouse, “click” and “mouse Down” do not work. Why is that?

This is a focus issue with Flash Player usually when the UI changes “underneath” the mouse pointer, as in a ViewStack navigation where the buttons are in the same screen location.

 

38. What are the methods called when a UI component is initialized?

All components dispatch the following events that let you specify Action Script to initialize a component:

pre Initialize

Dispatched when a component has been created in a rough state, and no children have been created.

Initialize

Dispatched when a component and all its children have been created, but before the component size has been determined.

Creation Complete

Dispatched when the component has been laid out and the component is visible (if appropriate).

 

39. How do you add event listeners in mxml components. Now AS3 components?

=> addEventListener(type:String, listener:Function, useCapture:Boolean =false,

priority:int = 0, useWeakReference:Boolean = false):void

=> removeEventListener(type: String, listener:Function, useCapture:Boolean =false):void

=> dispatch Event(event : Event): Boolean

=> hasEventListener(type:String):Boolean

=> willTrigger(type:String):Boolean

 

40. What keyword allows you to refer to private variables of a class in flex?

Private keyword, this keyword (? ) in flex .

 

41. Explain Do you shoot RAW or JPEG?

I shoot entirely in RAW, basically as a just in case, but I extract the JPGs from my RAW files in Photo Mechanic and edit those. Most of the RAW files will never see the light of day, unless there is a great shot that was extremely over-/under-exposed. I prefer this method because it allows me to have the security of RAW while getting all the great color, contrast, and vibrancy of an in-camera JPG.

 

42. 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.

 

43. Can I embed HTML in my Flex application?

Flex supports a limited subset of HTML in its TextArea and some other text-related classes.

 

44. How do I get Flex to query my database?

Flex does not have any native database integration functionality. You must have your own server-side tier that provides the database-access tier and sends the data back to Flex through one of the following protocols:

• RemoteObjects: This is the fastest. It communicates with server-side EJBs or POJOs using AMF, a binary compressed format.

• HTTPService: This one uses the 1-ITTP protocol. Sources can be JSP, ASPx, NET, or any URL that returns HTTP.

• WebService: This is the slowest, it uses the SOAP protocol. Sources can be .NET or any web service.

 

45. Why do strongly typed objects appear as “undefined” in the NetConnection Debugger?

The NetConnection Debugger is an old utility from the early days of Flash Remoting that some developers still find useful. It has an issue, however, displaying types that have been registered with Object.registerClass(). If you’re Flex server is installed locally, we suggest enabling server-side “debug” level logging in /WEB-INF/flex/gateway- config.xml to watch the raw trace information in the Flex server console/logs from the AMF Gateway as it processes your RemoteObject requests.

Flex Builder also includes a Network Debugger that allows you to monitor AMF traffic.

 

46. What is MVC and how do you relate it to flex apps?

The goal of the Model-View-Controller (MVC) architecture is that by creating components with a well-defined and limited scope in your application, you increase the reusability of the components and improve the maintainability of the overall system. Using the MVC architecture, you can partition your system into three categories of components:

=> Model components Encapsulates data and behaviors related to the data.

=> View components Defines your application’s user interface.

=> Controller components Handles the data inter connectivity in your application.

 

47. How do you generate random numbers within a given limit with actionscript?

Math.round(Math.random() * (high – low)) + low.

 

48. Explain how do I take good portraits?

Here are some general guidelines for taking good portraits:

i. Use longer focal lengths instead of shorter (telephoto instead of wide angle). This will make your subject’s face more natural and less bulbous.

ii. Use a wide aperture for shallow depth of field. This will focus attention on your subject and not your background.

iii. Avoid distracting backgrounds.

iv. Try to achieve even illumination by exploiting natural light. If you can’t use natural light, then use studio lights and/or multiple flashes and/or a bounce flash

v. Avoid taking pictures where part of your subject’s face is in shadow unless you really know what you’re doing.

vi. Avoid using a single flash pointing directly at the subject. This will create harsh shadows on either the subject of the area behind the subject.

 

49. How are Projector Lumens Measured?

Lumens are extremely important when choosing a projector because you will want a bright, sharp image to be displayed. The brighter the image, usually the sharper the contrast will be. Lumens are extremely important due to the fact that projectors with lower Lumens require ambient lighting to be low. In addition, less lumens generally means the projector will need to be closer to the screen. These two factors have obvious consequences for many conference rooms, classrooms, lecture halls and home theater set ups.

 

50. Why are there errors with the macromedia.css.LocatorParser class and WebLogic?

WebLogic ships with its own version of the fop.jar, which in turn includes the batik.jar, which is older and breaks Flex. To resolve this issue, remove the fop.jar from the CLASSPATH in the startWebLogic.cmd file. This may apply to non-WebLogic servers as well, where batik.jar was included.

 

51. What are the similarities between java and flex?

Both can be used as client application, both have packages, OOP based ,support XML, import external packages, up casting, support Array Collection ,almost same primitive data types, both support class library packaging( jar, .swc).

 

52. How does item renderer work? how do we add item renderer at runtime in flex?

Each list control has a default mechanism for controlling the display of data, or view, and lets you override that default. To override the default view, you create a custom item renderer.

Add item rendrer at run time;

Create the basic item renderer, One of the things I needed to accomplish with my item renderer was the ability to add it to different columns (ie the dataField was not always the same). This meant I needed a way from within the renderer to determine what column it was bound to so I could get and display the correct data. To do this the renderer needs to implement the IDropInListItemRenderer. This interface allows the renderer to have access to information about the list and column it is in via the BaseListData and DataGridListData classes. The DataGridListData gives you everything you need to get the data required to make a flexible, reusable renderer.

To Modify itemrenderer at runtime we Need to use mx.core.ClassFactory. Basically, in order to change a Flex itemRenderer at runtirne, you need to cast it to a type ClassFactory.

 

53. Have you built any components with actionscript? If so explain how you did it?

CountryComboBox.as

package components

{

import mx.controls.ComboBox;

public class CountryComboBox extends ComboBox

{

public function CountryComboBox()

 

{dataProvider = [“United States”, “United Kingdom’];

}

 

}

}

<‘xml version=” 1.0” encoding=”uff-8”?>

 

54. What are sealed classes in flex?

A sealed class possesses only the fixed set of properties and methods that were defined at compile-time: additional properties and methods cannot be added. This makes stricter compile-time checking possible, resulting in more robust programs.

 

55. How do I get access to the J2EE session from my RemoteObjects?

The AMP Gateway provides access to the current HttpServletRequest instance in a thread local variable. The session can be obtained from the request, as follows:

flashgateway. Gateway.getHttpRequest().getSession();

 

56. How do I run Flex as a service?

Flex is not a server that you deploy and run. It is simply deployed as part of your web application. So it will work, no matter which web Container you are using: Tomcat, JRun 4, WebLogic, and so forth.

 

57. What keyword allows us to implement abstraction better in flex?

Flex does not support abstract class directly.

 

58. I need to load an image from flickr into my application. Do I need a crossdomain.xml file on flickr?

File is already there, we need to register our ip address to flicker’s crossdomain.xml Since the images are located on a flickr server like farm1 .static.flickr.com and there is no crossdomain.xml file on that server (there is a crossdomain.xml for api.flickr.com so you can use the api) that means you can’t get access to the bitmapData of the loaded images when you load them from fiickr. This is dumb, but that’s the way it is. So you can load images just fine, but the reflection class copies the bitmapData of the image, so that doesn’t work if you load them straight from the flickr server I also wanted to set bitmap smoothing to true on the images so the thumbnails don’t look as pixelated, and that also requires access to the bitmapData of the loaded image.

So the answer is to create a proxy that loads the flickr image so it appears to come from the same domain.

 

59. Differences between defining bindings in MXML and ActionScript?

There are a few differences between defining data bindings in MXML at compile time and in defining them at runtime in ActionScript:

=> You cannot include ActionScript code in a data binding expression defined by the bindProperty() or bindSetter() method. Instead, use the bindSetter() method to specify a method to call when the binding occurs.

=> You cannot include an FAX expression in a data binding expression defined in ActionScript.

=> You cannot include functions or array elements in property chains in a data binding expression defined by the bindProperty() or bindSetter() method.

=> The MXML compiler has better warning and error detection support than runtime data bindings defined by the bindProperty() or bindSetter() method.

 

60. What is an HDMI Optical Switch?

HDMI stands for High Definition Multimedia Interface; HDMI is an audio video interface that is used to transmit both digital audio and video streams of data which are uncompressed and encrypted.

 

61. What is state? what is the difference between states and ViewStack in flex?

The State class defines a view state, a particular view of a component. For example, a product thumbnail could have two view states: a base view state with minimal information, and a rich view state with additional information. The overrides property specifies a set of child classes to add or remove from the base view state, and properties, styles, and event handlers to set when the view state is in effect.

You use the State class in the states property of Flex components. You can only specify a states property at the root of an application or a custom control, not on child controls.

Difference between states and ViewStack in flex:

=>View Stack is to handle different MXML file eg TAB control and states is the transition within single MXML file.

=> ViewStack should be used were there is complete change in the controls used and States should be used when you just want to add or remove a few components based on certain conditions.

=> ViewStates are virtual state of an existing page appearing at an instance i.e. only one state can be shown at a time while viewStack are collection of different view containers which can be shown at a time

 

62. What is the difference between httpService and Data Service?

The services-config.xml configuration file is required at compile time if the Flex application uses Flex Data Services. In the case of RPC services, this applies to all applications that use RemoteObject or proxy-based WebService or HTTPService.

 

63. Can I resize the Internet Explorer browser window from Flex?

Use getURL() to communicate with JavaScript in the HTML wrapper:

getU RL(‘javascript:window.resizeTo( 1050,900)’):

 

64. How can you show a jpg image in Dynamic Text Field?

Using HTML Tags in HTML enabled text field you can load image in that. Make a Dynamic Text Field on Stage and give it instance name “txt”, On frame paste the following code and test your flash.

Code:

txt.htmlText =“ This image is under Dynamic text field of flash”

 

65. What is phishing?

Phishing is a form of fraud. Phishers pose as legitimate organizations in an email, over the phone, in person, on a website, or in a pop-up window to get you to disclose personal information, such as your credit and debit card numbers, account passwords, or Social Security number.

 

66. What is a drag manager in adobe flex actionscript?

The Flex Drag and Drop Manager lets you select an object, such as an item in a List control, or a Flex control, such as an Image control, and then drag it over another component to add it to that component

 

67. How Do I Copy Slides to Disk?

If you have been enjoying photography for more than a few years. you probably have plenty of slides taken with analog cameras. Before digital photography, slides were a great way to view photos en masse. They were very small, making them light and portable and perfect for slide shows in homes, classrooms, and auditoriums. However, with the advent of digital photography and digital projectors, slides have lost their popularity and are slowing becoming obsolete.

 

68. What is Interface in term of OOP (Flash Actionscript)?

An interface is a collection of method declarations that allows unrelated objects to communicate with one another. The structure of an interface definition is similar to that of a class definition, except that an interface can contain only methods with no method bodies. Interfaces cannot include variables or constants but can include getters and setters. To define an interface, use the interface keyword. Use the implements keyword in a class declaration to implement one or more interfaces.

 

69. How can I view video files on the web site?

There are two ways to view the online video clips. Because of variations in browsers and operating systems, both methods might not work for all individuals. However, one of the two methods should work if you have the Windows Media Player installed.

1. Click on the link to the video. Depending on what your plug-in settings are in your browser, Windows Media Player may launch and begin downloading the video clip. The video should begin to play after enough is downloaded for it to play smoothly.

2. Right click (PC) or click and hold (Mac) the link to the video. Choose “Save Target As..” (It) or “Save I.ink As…” (Netscape) to save the file. Make sure that the correct file type is selected in the drop down list below the file name. After the file has been saved to your computer, double click on it to launch it in Windows Media Player. If your computer is not set up to launch the player upon double clicking, first open Windows Media Player and then choose “File” and “Open” to load the video clip. Press the play button to begin playing.

 

70. how do you use a repeater in actionscript?

<mx:Application>

<mx:Script>

<![CDATA[

[Bindable]

public var myArray:Array[ 1,2,3,4];

]]>

</mx: Script>

<mx:Panel tiile=”Repeater: emulating a for loop” paddingBottom=” 10” paddingLeft=” 10” paddingRight=” 10” paddingTop=” 10”>

<mx:Repeater id=”myRep” dataProvider=” {myArray }“>

<mx:Label id=”myLabel” text=”This is loop# {myRep.currentIndex}”/>

</mx: Repeater>

</mx:Panel>

</mx: Application>

 

71. How polymorphism works on actionscript?

class UnpaidIntern extends Employee {

override public function receivePayment():Number{

return 0;

}

}

class Manager extends Employee{

override public function receivePayment():Number {

return baseSalary*3;

}

}

 

class Engineer extends Employee {

override public function receivePayment():Number {

return this.baseSalary*2;

class Employee {

internal var baseSalary:Number = 1000;

public function receivePayment():Number {

return this.baseSalary;

}

}

 

72. How do we use css styles in flex?

External styles are defined in a separate file and can be used in any MXML file that references the CSS file. You reference a CSS file into an MXML file with the source property of the tag, as follows:

 

Embedded styles are defined in an MXML file and can only be used in that file. Embedded styles are defined with the tag, as follows:

 

.myclass { background-color: xFF0000}

TextInput{ font-family: Helvetica; font-size: 12pt}

 

Inline styles are defined in an MXML tag and can only be used in that tag. Inline styles are defined as follows:

 

73. What is the difference in MovieClip and Sprite?

Sprite does not have timeline in it but Movie Clips can have. Sprite is the parent class of MovieClip though not all of the MovieClip properties are available in the parent class.

 

74. Why are the columns in my DataGrid in some strange order?

The order is typically the reverse of the order in which they were added. If you need a specific order, specify that and many other good things by using DataGridColumn tags.

 

76. Why are the columns in my DataGrid in some strange order?

The order is typically the reverse of the order in which they were added. If you need a specific order, specify that and many other good things by using DataGridColumn tags.

 

77. What is animation?

Animation is the rapid display of a sequence of images of 2-D or 3-D artwork or model positions in order to create an illusion of movement.

 

78. What is a Resource Manager in flex actionscript?

The ResourceManager – now handles access to all localized resources in an application. Any components that extend UIComponent, Formatter, or Validator now have a new resourceManager property, which lets you easily access the singleton instance of this manager. If you’re writing some other kind of class that needs to use the ResourceManager, you can call ResourceManager.getlnstance() to get a reference to it.

 

79. What are three ways to skin a component in flex?

Skinning is the process of changing the appearance of a component by modifying or replacing its visual elements. These elements can be made up of images, SWF files, or class files that contain drawing API methods.

There are several ways that you can define skins: inline, by using the setStyle() method, and by using Cascading Style Sheets (CSS).

 

80. How do you implement push with flex data services?

Using Blaze DS Server& LCDS.

 

81. How do we overload functions in actionscript?

Method overloading using namespaces. (?)

 

82. Can I dynamically instantiate a WebService or HTTPService in ActionScript?

Flex 1 .5 does not support this. First declare the tags in MXML and then manipulate the URLs, request objects, and so forth using ActionScript.

 

83. What are WMV Files?

WMV (Windows Media Video) is a generic name for video encoding solutions developed by Microsoft. The format is a part of the Windows Media framework that also includes formats like Windows Media Audio (WMA), Advanced Systems Format (ASF) and High Definition Photo (HDP). WMV files use the Microsoft container format and represent Microsoft’s own version of MPEG-4 (Part 2) video encoding technology.

 

84. What is different between URLLoader class and Loader class?

The URLLoader class downloads data from a URL as text, binary data, or URL-encoded variables. It is useful for downloading text files, XML, or other information to be used in a dynamic, data-driven application. A URLLoader object downloads all of the data from a URL before making it available to ActionScript. It sends out notifications about the progress of the download, which you can monitor through the bytesLoaded and bytesTotal properties, as well as through dispatched events.

The Loader class is used to load SWF files or image (JPG, PNG, or GIF) files. Use the load() method to initiate loading. The loaded display object is added as a child of the Loader object.

 

85. What does calling preventDefault() on an event do? How is this en forced?

Cancels an event’s dthult behavior if that behavior can be canceled.. For example, the doubleClick event has an associated default behavior that highlights the word under the mouse pointer at the time of the event Your event listener can cancel this behavior by calling the preventDefault() method

You can use the Event.cancelable property to check whether you can prevent the default behavior associated with a particular event. If the value of Event.cancelable is true, then preventDefault() can be used to cancel the event; otherwise, preventDefault() has no effect.

 

86. I am going to add images into a tag. How will it resize itself in adobe flex actionscript?

To let Flex resize the image as part of laying out your application, set the height or width properties to a percentage value. Flex attempts to resize components with percentage values for these properties to the specified percentage of their parent container.

Or by default, Flex does not resize the image. The scaleContent property has a default value of true, therefore, Flex scales the image as it resizes it to fit the specified height and width. The aspect ratio is maintained by default, so the image may not completely fill the designated space. Set the scaleContent property to false to disable scaling. Set the maintainAspectRatio property to false to allow an image to fill all available space regardless of its dimensions.

 

87. What is the dynamic keyword used for in flex actionscript?

Specifies that instances of a class may possess dynamic properties added at runtime. If you use the dynamic attribute on a class, you can add properties to instances of that class at runtime. Classes that are not marked as dynamic are considered sealed, which means that properties cannot be added to instances of the class.

 

88. Is it possible to make httpService Requests synchronous in adobe flex?

No.

Basically, what we are about to do is creating XMLHttpRequest with JavaScript in Flex, and calling a server data with the parameters we will give to the object.

1. Request Type: GET or POST

2. Requested URL

3. Communication Type: true for asynchronous, false for synchronous.

 

89. How do you implement push on a flex applications?

Using BlazeDS Server, LiveCycle Data Services.

 

91. Can Flex applications communicate with each other on the client?

See the LocalConnection API in the flex documentation.

 

92. Explain What is Graphics?

The combination of picture, images, text & colors that gives us any type of information is called graphics. It is printable.

Ex: Hording, banner, logo.

 

94. How do I Change DivX to VOB?

One of the frequent questions many computer users ask is how to do I change DivX to VOB? For the most part, the answer is quite simple and there is software to use that can help you easily change these files in a relatively short period of time. However, it is important to understand the basics before changing, here are

 

95. What is the difference between sealed class and dynamic classes in flex?

Classes are sealed by default, i.e. properties cannot be added dynamically at runtime.

=> Dynamic classes can add additional dynamic properties at runtime; sealed classes cannot.

=> Sealed classes conserve memory because no internal hash table is needed to store dynamic properties, and the compiler can provide better error feedback.

 

97. What is video-on-demand?

Video-on-demand is existing video or an archived webcast available for people to watch on the web any time. The original video can be digitized as a Real Media, Windows Media, QuickTime, or Flash Video file and can he viewed with the appropriate player.

 

98. What are runtime shared libraries in flex?

Macromedia Flex 1.5 you can build runtime shared libraries (RSLs) that can be individually loaded, cached, and used by multiple applications.

Use Flex 3 runtime-shared-libraries (RSLs) to reduce the size of your applications and thereby reduce the time required to download the application. RSLs are just SWF files whose code is used as a shared library between different application SWF files. There are two kinds of RSLs, signed and unsigned. Signed RSLs are libraries that are signed by Adobe and may be stored in the Flash Player Cache, which can be accessed by applications from any domain. This means if your application is using a signed RSL, the RSL may not even need to be downloaded if the RSL is already in the Flash Player Cache. The signed RSL may have been put into the Flash Player Cache by visiting another web site that was using the same signed RSL. Signed RSLs have a “swz” extension.

Unsigned RSLs are normal SWF files and are not loaded into the Flash Player Cache. Instead, these RSLs rely on the browser’s cache to keep them from being downloaded.

 

100. Why is myTreeNode.label or myTreeNode.attributes.label undefined?

Make sure you use the TreeDataProvider methods to modify a node. Do not rely on the node being XML For example, the above should be myTreeNode.getProperty(”label”) instead.