header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
samar
Points:0
Posts:0

8/13/2011 7:27:53 AM

Title: vector in action script3.0


when and why i use
such a code
var v:Vector.<string>= new Vector.<string>();
and what is the difference between vector and array
as i know array we use it when we handling with a large amount of data
but i don't know vector



1
Davis
Points: 780
Posts:0
8/14/2011 6:15:08 AM



your above code means that only string type of data can be stored in the vector. If you will try to store any other type it will through error. Vector is used where strict type of data has to be stored in the list. Array can be used to store data of any type in same array.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+8 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions