Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Why Is Mytreenode.label Or Mytreenode.attributes.label Undefined?

Answer»

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.

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.

2.

Sometimes, If I Do Not Move The Mouse, "click" And "mouse Down" Do Not Work. Why Is That?

Answer»

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.

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.

3.

Can I Dynamically Instantiate A Webservice Or Httpservice In Actionscript?

Answer»

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.

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.

4.

What Is The Problem With Calling Setstyle()

Answer»
  • 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.

5.

What Design Patterns Have You Used In Actionscript And Java?

Answer»

1. Creational Pattern
* FACTORY Method Pattern
* SINGLETON Pattern

2. STRUCTURAL Patterns
* Decorator Pattern
* Adapter Pattern
* Composite Pattern

3. Behavioral Patterns
* Command Pattern
* Observer Pattern
* Template Method Pattern
* State Pattern
* Strategy Pattern

4. Multiple Patterns
* MVC Pattern
* Symmetric Proxy Pattern

1. Creational Pattern
* Factory Method Pattern
* Singleton Pattern

2. Structural Patterns
* Decorator Pattern
* Adapter Pattern
* Composite Pattern

3. Behavioral Patterns
* Command Pattern
* Observer Pattern
* Template Method Pattern
* State Pattern
* Strategy Pattern

4. Multiple Patterns
* MVC Pattern
* Symmetric Proxy Pattern

6.

What Keyword Allows Us To Implement Abstraction Better In Flex?

Answer»

FLEX does not SUPPORT ABSTRACT CLASS DIRECTLY.

Flex does not support abstract class directly.

7.

How Do We Overload Functions In Actionscript?

Answer»

METHOD OVERLOADING USING NAMESPACES.

Method overloading using namespaces.

8.

How, Does Item Renderer Work? How Do We Add Item Renderer At Runtime In Flex?

Answer»

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

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

9.

What Are Three Ways To Skin A Component In Flex?

Answer»

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

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

10.

How Do You Use A Repeater In Actionscript?

Answer»

Answer : <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>

11.

How Do We Call Javascript From Flex Actionscript?

Answer»

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

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

12.

Can You Write To The File System From Flex?

Answer»

YES.

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”);

Yes.

13.

What Are The Methods Called When A Ui Component Is Initialized?

Answer»

All components dispatch the FOLLOWING events that LET you specify ActionScript to INITIALIZE a component:

preInitialize
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).

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

preInitialize
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).

14.

How Do You Implement Push With Flex Data Services?

Answer»

Using Blaze DS SERVER& LCDS

Using Blaze DS Server& LCDS

15.

What Is The Dynamic Keyword Used For In Flex Actionscript?

Answer»

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.

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.

16.

I Am Going To Add Images Into A Tag. How Will It Resize Itself In Adobe Flex Actionscript?

Answer»

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.

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.

17.

How Do You Implement Push On A Flex Applications?

Answer»

USING BlazeDS SERVER, LiveCycle DATA SERVICES

Using BlazeDS Server, LiveCycle Data Services

18.

Have You Built Any Components With Actionscript? If So Explain How You Did It?

Answer»

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”?> <mx: Application XMLNS:mx=’http://www.adobe.com/2006/mxml” xmlns:custom=”components.*” width=”220” height=”L 1 5” > <custom:CountryComboBox /> </mx:Application>

CountryComboBox.as

19.

How Do You Generate Random Numbers Within A Given Limit With Actionscript?

Answer»

Math.round(Math.random() * (HIGH - LOW)) + low

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

20.

What Is The Difference Between Httpservice And Data Service?

Answer»

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.

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.

21.

I Need To Load An Image From Flickr Into My Application. Do I Need A Crossdomain.xml File On Flickr?

Answer»

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.

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.

22.

Is It Possible To Make Httpservice Requests Synchronous In Adobe Flex?

Answer»

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.

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.

23.

Explain Do You Shoot Raw Or Jpeg?

Answer»

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.

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.

24.

Explain How Do I Take Good Portraits?

Answer»

Here are some general GUIDELINES for TAKING good portraits:

  •  Use longer focal lengths instead of shorter (telephoto instead of wide angle). This will make your subject’s face more natural and less bulbous.
  • Use a wide aperture for shallow depth of field. This will FOCUS attention on your subject and not your background.
  •  Avoid distracting backgrounds.
  • 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
  • Avoid taking pictures where PART of your subject’s face is in shadow unless you really know what you’re doing.
  • 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.

 

Here are some general guidelines for taking good portraits:

 

25.

Explain What Is Graphics?

Answer»

The combination of picture, IMAGES, text &AMP; colors that GIVES us any type of information is called GRAPHICS. It is PRINTABLE.
Exp. Hording, banner, logo.

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

26.

What Do You Look For While Designing A Logo?

Answer»

A logo is the smallest ENTITY that symbolizes a company. It is often treated as a marketing material. Designing a logo for a company demands great observation and creativity. A logo should be designed in such a way that a COMMON man can easily RELATE it with the company. It should be memorable and eye catching. It should HELP in GROWING the company name into a brand.

A logo is the smallest entity that symbolizes a company. It is often treated as a marketing material. Designing a logo for a company demands great observation and creativity. A logo should be designed in such a way that a common man can easily relate it with the company. It should be memorable and eye catching. It should help in growing the company name into a brand.

27.

What Is Video-on-demand?

Answer»

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.

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.

28.

How Can I View Video Files On The Web Site?

Answer»

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.

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.

29.

How Do I Change My Home Page?

Answer»

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.

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.

30.

What Is An Hdmi Optical Switch?

Answer»

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.

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.

31.

How Are Projector Lumens Measured?

Answer»

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.

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.

32.

What Are Wmv Files?

Answer»

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.

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.

33.

What Are The Multimedia Authoring Tools?

Answer»

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

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

34.

What Is Mean By Rigging?

Answer»

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.

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.

35.

What Is A Ambeant Acclusion?

Answer»
  • Ambeant acclusion is a shading method used in 3D COMPUTER graphics which helps add realism to local reflection models by taking into account.
  • Ambeant acclusion is a method for simulating global ILLUMINATION, while KEEPING a respectable ratio between RESULTS.

36.

What Is The Arc In Animation?

Answer»

arc is known as a curve which DETERMINE the POSES of the character, it is the most IMPORTANT CONCEPT for animation.

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

37.

What Are Multimedia Hardware's?

Answer»

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

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

38.

What Are Multimedia Software's?

Answer»

The software used to CREATE MULTIMEDIA experiences can be placed into 3 distinct CATEGORIES:

  •  Audio Software
  •  Graphics Software
  •  VIDEO Software

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

39.

What Is Multimedia?

Answer»

Multimedia is SIMPLY multiple forms of MEDIA integrated TOGETHER. Media can be text, graphics, audio, animation, VIDEO, data, etc.

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