Blogadda

Blogadda
Visit BlogAdda.com to discover Indian blogs
Showing posts with label questions. Show all posts
Showing posts with label questions. Show all posts

Thursday, February 4, 2010

AS QUESTIONS

url loader adn url request
how to communicate a as class and a asp page and a php page on online server.
MVC framework
proxy and prototype classes and their role in mvc architecture.
resizing the nested movieclips using code
get name for the child mc using the outer mc
content loader info object
singleton
observer class
how many classes can be in one as file
how many classes shud be in one package.
how we call the library onjects of loaded swf in another as file.
how many type of classes r there related to sound.
use of sound mixer class.
how we implement scorm standards in a xml application.
dispatch events
xml socket class

Friday, July 17, 2009

More AS questions

1. How do you call a static method without using the "Class Name." method name.
2. How would the for in and for each loop give the output tracing values in object.
3. How can you add video cue-point so that u can execute any action upon or middle of video.
4. Skinning of Flv component.
5. How you load one XML and read all the attributes of a node in E4X.
6. How u deal in a situation if your team member is not good @ work.
7. How would u response to a client mail when he has just bashed your project and there is no senior member present in the office.
8. Suppose in 10 hrs of learning...2 days before delivery u come to know that. The product designed is not as per client requirement. The prototype version has many changes suggested by client. How will u deal with this situation.
10. Give example of method overloading and overriding in code.
11. How u access your linked classes to other class in shared library architecture. Syntax
12. How you handle depth in AS3.0
13. 3 ways to execute Java-script from Flash.
14. Why we should prefer FSCOMMAND than GetURL in AS2.0.
15. MVC architecture and implementation.
16. Will u do a copy paste work if required for a project
17. Differences between AS2.0 - 3.0

Wednesday, June 17, 2009

FEW MORE AS QUESTIONS

Disadvantages of event dispatcher.

Linkage between components.

What are v2 components.

What are mxp and mxi file and how they r relate to swc file.

Do we have method overloading and operator overloading in flash,

Any workaround on method or class overloading.

Can we exclude our as file not to be included during the runtime or can we specify to the debugger which as file to use or not.

How garbage collector works in flash.

Can we use interfaces in flash.

How do we implement MVC pattern.

How do we use observer pattern.

How we create the custom components.

Any experience on as editor or any other IDE.

Any experience on third party compilers.

What OOPS things were not there in as2 which are added to as3.

What is delegate class.?

How we use getter and setters methods in component designing.?

How we integrate our as files with the fla file.

What is linkage.

What type of polymorphism is being supported by flash.?

Load movie and load movienum

Diff. between stage and root.

Diff. between sealed classes and dynamic classes.

Exception handling methodology in flash.

What is external interface class.

How we add the page in the printjob class.

What is the way the print job class works .

Tuesday, June 16, 2009

AS3 INTERVIEW QUESTIONS

--External Interface Class

--Diff. between Overloading and Overriding

--Can we have overloading in flash?

--Do we need to override the function in same class or the different class.?

--How we start and stop video playback?

--How we load a audio , play, pause and stop, resume etc.

--Explain the sound object and How do we use it.?

-- Explain Design Patterns.?

--Diff. between Design patterns and Frameworks.?

--Whats OOP..?-- the famous borng question ever :)

--How we implement OOP approach.?

--Is as2 OOP based.?

--Do we have packages in as2.?

--How do we can achieve flash and client side communication.?

--How to communicate between flash and javascript.?

--Do we have fscommand in as3.?

A lot of others coming soon..

Wednesday, June 3, 2009

Few More As Faqs..

What are Static variable and Static classes?

What is the difference between as2 and as3?

Explain singleton design pattern and its implementation?

What are data services?

What is flex charting and its use?

Explain the complete display list API.

What is the difference between sprite and movie clip?

Explain the procedure of handling HTML items in xml.

How can we do the video editing?

What are cue points?

How can we achieve the Database integration with Flash and Flex?

What is server side data handling?

What is Font Embedding? How to do it and why and its use.?

What are device fonts?

What are dynamic classes adn how can they useful in a real scenario?

Explain the event flow.

What is object class?

Can we call add event listener and dispatch event on object class?

Which class we need to import for event?

What is the use of weak references?

What is the garbage collection procedure in as3?

Can we overload the function of two different classes.?

Difference between target and current target?

Difference between inheritance and composition?

Explain the use of flash media server.

What is flash remoting?

What is strict mode compilation?

What is the need of interfaces?

How can we pause a running event?

Difference between == and &&?


more on the go...................... :)

Friday, May 29, 2009

Mix up questions of as3 asd Flex

Few More Mix up questions of as3 asd Flex

-What is serialization.(Java Stuff)

-What is item renderer

-What is datagrid

-What is page navigation and how to achieve this in Flex

-What is the difference between mxml and as3 page.

-What is vhbox.?

-What are layers for the integration of the flex and java componenets.

-What are different ways we can connece the java class with the flex component.

-Wht architecture we generaaly follow for the component in cs3

-Do we have multiple inheritance in as3 and java.

-Why we dont have multiple inheritance in java and as3. its disadvantage with example.

-Can we have threads in AS3.?

-How we make the components in as3.?

-Where we put the code in components.?

-Can we break the compiled clip.?

-Whats the need of forms..??


More Coming soon :)

Monday, May 25, 2009

Portlets and Widgets--faqs

Q1. Questions about Portlets
1a) Please give your definition of portlets

1b) Please list specific characteristics (=attributes, properties) of portlets

1c) Please list specific features (=functionalities) of portlets



Q2. Questions about Widgets
2a) Please give your definition of widgets

2b) Please list specific characteristics (=attributes, properties) of widgets

2c) Please list specific features (=functionalities) of widgets



Q3. Please tell us, what do YOU consider as the major differentiator(s) between:
3a) Portlets and Widgets? (cf. Wikipedia on Web widget)

3b) Widgets and Java Applets? (cf. W3C Widget requirements)



Q4. Please share with us YOUR ideas how to evaluate:
4a) Portlets?

4b) Widgets?

Monday, May 18, 2009

Bunch of AS questions

  • What are modifiers
  • How to do External Communications
  • What are Preloaders
  • What are Abstract Classes
  • Can we have Flash Stage Transparent
  • Can we Resize Stage at run time
  • Can you explain the difference between SWC and SWF?
  • What are Inspectable Tags?
  • What are Shared Movie Clip Symbols?
  • What is Gradient Masking
  • How we integrate ASP with ActionScript?
  • How can we Load PDF into Flash?
  • How to Load Text File Methods?
  • Integration of PHP & Flash.
  • How to upload files and downloads.
  • Explain Static Vs Constant
  • How to prevent a class from being Inherited
  • How to attach Audio & Video in AS2.0 AS3.0
  • How to add special symbol in XML like %,$,@ etc.
  • Printing a document in AS3.0,2.0
  • ExplainSCORM & LMS
  • How to communicate Javascript to LMS
  • What isLockRoot
  • How can we make Duplicate Movie Clip in AS3.0
  • Explain Memory Management in AVM2.
  • How to maintain multiple classes application as minor changing takes long time in compilation
  • What is constructor
  • Can we make it private? What happens in that case.
  • Access Modifier for the Constructor
  • Explain Layers and Depths
  • Are Movie Clip depth +ve or -ve.
  • Remove Movie Clip Method from Stage
  • What is basic behind Local Connection.
  • What is Shared Library and Objects
  • How do we load videos and add cuepoints dynamically?
  • What is deep copy and shallow copy
  • How does garbage collection works if we invoke it from function
  • Two methods of loading swf files in AS3.0
  • Two way of communication from Javascript and Flash in AS2.0
  • How do you create SCORM compliant SCO's
  • MVC architecture and Framework
  • Is there any security error we got on IE while running a Flashfile published to HTML
  • Concept of Interface and its implementation
  • External Interface in AS2.0+3.0
  • Sending and Loading values from server side script.
  • What is difference between Get and Post methods.

Friday, May 15, 2009

Flash Test paper1


Question 1

Step1

Create an XML file having information of 5 images.

Step 2

Load each node image of the xml file on the stage in a movie clip in such a manner that image will load at the center of the stage means there will not be any effect of resizing of the stage dimension.

Step 3

Set alpha 0 to 100 when each image appears. Provide buttons (Next, Previous) for navigation.

Step 4

Display height and width of each image in a text box when image loads.

Question 2

Create two buttons label (Circle, Rectangle) on clicking of each button draw shape accordingly on mouse movement

Question 3

Create a form in flash having information field say Name, Address, and Age.

User can enter information in these fields accordingly. If user closes this SFW file and again it open last field’s value should populated automatically.

Monday, May 11, 2009

Flash Test.. Try it

Drop circles on screen

Create a SWF that:

  1. Starts with a blank screen.
  2. When the user clicks anywhere on the movieclip, a small circle appears (around 25px in diameter) at the clicked position.
  3. Each time the user clicks on the movieclip, another circle is visible.

Drag ’n Drop

Create an SWF that:

  1. Has a single square present, 50x50 pixels in size.
  2. Allows you to click and drag the square anywhere on screen.

Intermediate problems

MouseOver

Create an SWF with:

  1. Three rectangles shown on screen, filled with Red, Blue and Green colours.
  2. A textfield placed below the rectangles.
  3. Whenever you move your mouse over a rectangle, that rectangle’s colour is displayed in the textfield.

Drawing

Create a SWF that:

  1. Allows you to click-and-draw lines on-screen. Just straight lines, by clicking anywhere, dragging your mouse cursor, and releasing it. The line should start from the point where you clicked on and end at the point where you release the mouse cursor.
  2. The colour of the lines you want to draw next can be changes using a ColorPicker.
  3. Has a ‘Clear’ button. On click of this button, any lines on screen are removed, and you again have a blank slate to work with.

Advanced problems

External Image Viewer

Create an SWF that:

  1. Has a textfield where the user can input an image URL.
  2. A button labelled ‘show image’, on click of which the image referenced by the URL is loaded in an UILoader present on screen.
  3. The user can pan the image (either using mouse drag or scrollbars) if it is too large to view.

Wednesday, April 29, 2009

AS questions-Meebo

1. How would you determine the native width and height of the image in pixels in ActionScript?

2. How would you resize the image so that it is displayed 300px high but maintains its original aspect ratio in ActionScript?

3. What is the difference between _root scope and _global scope?

4. What is the difference between _root and _level0?

5. What is the result of this chunk of code and why?

var a = 10;
eval("a = 15");
trace(a);
6. What is the difference between the onmousedown event and the onpress event on the MovieClip class?

7. What is the result of this chunk of code and why?

var o = new Object;
o.i = 6;
with(o) {
delete i;
i = 7;
}
trace(o.i);

Saturday, April 25, 2009

Mind Boggling.-- Programing QUESTIONS

Jotted down few questions which weer asked in an interview. They are just mind boggling man.

Depending on the logic only.............. :)


1---- Write a function whose parameter will be a binary string.... eg.. "01010101101010" etc..

and we have calculate the equivalent hexadecimal number of that binary string...

2------ W a function which will take a password string as its parameter and will return accepted or rejected as its return value based on the following validations

# p/w shud be in between the length of 6-11 letters only..
# p/w shud consists of one number but it shud not in the starting position and ending position.
# it shud have atleast one upper case letter as A-Z.
# it shud not have the repeated sequences.. as aaaaaA1q, aaS1xxaa, Aa112112, etc.,..

3------- W have two tables one big one and one small one and we have to search each element of the small table in the big table.. and the order of the elements shud be same in both tables.. it shud reject theduplicate elements

like big table is a,d,f,,re,r,e,g,t,h,f,d,s,f

small table is d,f,e,t,h

in both tables the order of elemnts is same...

based on these conditions write a function which will return true if possibilities are true anyways it will return false..


Struggling to find answers :)

Friday, April 17, 2009

Image gallery to be made

The size of that application should be of –

  • Size of application will be : Width 341 and Height 368 pixel.
  • Big Image Size: Width 330 and Height 210 pixel.
  • Thumbnail size: Width 72 and Height 60 pixel.
  • Your browser may not support display of this image.This application will show two kinds of images, 1. Big Size Image 2. Small Thumbnails,
    according to the UI bellow.
  • Thumbnails should be in SCROLL PANE component of flash.
  • Images should be loaded from XML file or from array inside flash.
  • If you click on Thumbnail, then bigger images should be changes with fade out effect.
  • Please Use external .as files / Classes to write methods and functions related to this application.
  • Please collect 15 images from Google Images Search according to your choice.

Tuesday, April 14, 2009

One more Flast test question

Code a multiple choice multiple select interactivity based on the below mentioned requirements (Time- 2.5hrs):
  1. All the data (question text, option text, feedback and the number of attempts) should be kept and parsed through XML file.
  2. The number of option texts should be populated and placed on the stage based on the data entered in the XML file.
  3. The submit button will be enabled only when there is at least one option selected.
  4. The incorrect/partial correct feedback will be displayed for the incorrect attempt and correct feedback will be displayed for the correct attempt.
  5. The submit button will toggle to a solution button once all the incorrect attempts are over. Clicking the solution button will display the correct answer.

Wednesday, March 18, 2009

ACE questions

Q1. What is default frame rate of the timeline in frame per second ?

* A. 1
* B. 12
* C. 24
* D. 30

Q2. What is the effect on the instances of a symbol if the symbol itself is changed ?

A. All instances change accordingly.
B. Only future instances change accordingally.
C. Only the current selected instance changes accordingly.
D. Symbols cannot be changed once instance of the symbol have been created.

Q.3 What is the key purpose of using layers in a timeline ?

A. To determine when things appear in your movie.
B. To separate assets playing at different .
C. To handle the four button states
D. To organize the stacking order of assets.

Q4. Which of the following is the recommended character to use to separate target level paths levels?

A. / (slash)
B. $ (Dollar sign)
C. _ (underscore)
D. % (percentage sign)

Q5. If the oilpump movie clip instance in path _root.car.engine.oilpump.clamp uses the following line of actionscript, _parent.someAction;, which movie clip instance is being referenced ?

A. Car
B. Engine
C. Oilpump
D. Clamp

Q6. How many levels does Flash MX support ?

A. 20
B. 80
C. 100
D. 1000

Q7. In which level does the original movie resides ?

A. 0
B. -0
C. 1
D. -1



Q8. What happens if an .swf is loaded into a already occupied level ?

A. An error is thrown.
B. The new swf is rejected and the old one stays.
C. The old swf is unloaded and the new swf is loaded.
D. They share the same level

Q9. What are the correct statements consenting text field ? (Choose Two)

* A. Embedded font outlines are shared by text fields using the same font.
* B. Font Outlines for static for static text field are embedded in the SWF file by default.
* C. Font outline for input text field are embedded in SWF file by default.
* D. Individual font outlines are embedded in to the SWF file for each text field in the FLA file.
* E. Font outlines for dynamic text fields are embedded in SWF file by default.

Q10. What is the function of trace ?

* A. Initiate the automatic debugging procedure.
* B. Discover who has downloaded your movie.
* C. Send String Values to the output panel.
* D. Determine what objects are presents on stage ant any one time.

Q11. Which statement concerning symbol instance statements are correct? (Choose Two)

* A. The Hit State of a Button Symbol instance is invisible at runtime.
* B. Graphic symbol instances may be directly controlled using action script.
* C. If a fill color in a graphic symbol is changed, all instances of graphic symbols are changed.
* D. A movie clip symbol instance may have a different frame rate than the main timeline.


Q12. What is the advantage of progressive video download ?

A. The frame rate of video file can be different from the frame rate of the SWF file..
B. Delivery of media is more secure than streaming video, because media does not get saved to the client cache when streamed.
C. To play the progressive download video, the entire movie must be downloaded before video will be start to play.
D. It usages less of the client memory and disk space than the streaming video download.

Q13. What methods are used to pass variables out of flash to a server side solution ? (Choose Three)

* A. LoadVars
* B. GotoAndStop
* C. getURL
* D. LoadMovie

Q14. What is needed when using static text to have font outline embedded in SWF file ?

* A. Nothing, Font outline are embedded by default.
* B. Select new font in the library panel menu.
* C. Select the alias button in the properties panel.
* D. Select use device font form the properties panel.

Q15. A button instance is named circle_btn. Actionscript is placed on the main timeline so that the button is clicked a movie clip instance named rec_mc's width is changed to 100.

What is the code to perform this action ?

* A. circle_btn.onRelease = function() {this.width=100;}
* B. circle_btn.onRelease = function() {rec_mc.width=100;}
* C. Circle_btn.onRelease = function() {rec_mc.width=100;}
* D. circle_btn.onRelease = function() {rec_mc._width=100;}