How does flash output vector input?

I'm somewhat of a noob here, so please forgive my ignorance.  I tried to google the answer to my questions, but probably not using the right terms.
So my questions are these:
- Is there any advantage to using vector elements in flash projects, or do they just get rasterized in the swf creation process?
- If you use vector instead of raster art, can you scale your swf infinitely large (theoretically) without degradation?
- Will vector art result in a smaller swf size?  Will it take less processing power to play?
Thanks!

1. Vector graphics are generally the best option you have in a flash movie and keep your swf very low in file size thus faster loading in browser. They do not get rasterized when published into a swf file.
2. Yes, vector graphics can be scaled infinitely without degradation as they are not resolution dependent.
3. Generally file sizes of swf are low when using simple vector graphics but it really depends on the complexity of the vector graphics. Flash uses mathematical equations of lines and curves to reconstruct the graphic as it is rescaled. So size and processing speed would largely depend on how complex your vector graphics are made. If you have graphics with alot of curves, corners, lines, etc, your file size will increase as you need more bytes for functions ( f(x) ) to reconstruct the graphic, consequently, more processing time/power is required. There are times raster (bitmap) graphics are a better alternative over vector graphics and there are times when you it is better to convert your bitmap graphic to vector (Modify -> Trace Bitmap) when it only uses a few colors and curves/corners. You will need to experiment and find which works better for you.

Similar Messages

  • How does the search functon/input box work?

    How does the search functon/input box work?
    Hi
    my level is beginner
    there is a search box on the upper right hand on this page
    frames in gey ?
    how does this work.
    does this search in the database?
    if i would want to create this in an application
    what can i do ?
    are there CF examples??

    Thanks
    search against a database : Are there a function of Cf ta
    tags/code to do this? is this CFquery / and Cfoutput?
    or
    do a Verity search of a collection. How is this dont by? CF
    submit a search to an external search engine like Google.
    oh, is this when a page has a search and when the user types in
    there text in the input box it automatically goes to the google
    search. any articles on how to do this in CF
    Thanks

  • How does Flash Player determine if TLS is available?

    In ActionScript, there is a setting called "flash.system.Capabilities.hasTLS" that determines whether or not the Flash Player can make native SSL/TLS-based connections.  The definition of this property says " Specifies whether the system supports native SSL sockets through NetConnection (true) or does not (false)." 
    How does Flash determine whether this property is true or false?  Is the value passed to the Flash player by the browser?  Does Flash figure it out from the environment?  If so, how?

    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager05.htm l

  • How does Flash send outgoing HTTP request to server?

    Hello everyone,
    I would like to know how Flash sends outgoing HTTP requests.
    I would like to know when from the inside of a Flash SWF file
    request for another SWF or FLV file is made; how the Flash sends
    this request to server.
    Thank you very much and have a great day,
    Khoramdin

    Hello everyone,
    I would like to know how Flash sends outgoing HTTP requests.
    I would like to know when from the inside of a Flash SWF file
    request for another SWF or FLV file is made; how the Flash sends
    this request to server.
    Thank you very much and have a great day,
    Khoramdin

  • How does Flash use the microphone?

    I'm a long-time Windows driver developer.  I'm trying to get Flash to use my virtual webcam/microphone as the current webcam on Windows XP or Windows 7 (identical results).  I started out with a DirectShow source filter with two pins (video and audio), but Flash did not see an audio source at all, even though Amcap worked just fine.  I then tried making two separate source filters (one with an audio pin, one with a video pin).  Again, Amcap is happy but Flash does not see an audio source.
    After some debugging, I noticed that it was enumerating the waveIn devices.  So, I wrote an old-style waveIn driver for the audio.  Flash now negotiates an audio format, but it never initiates streaming.  If I bring up the "Options" dialog and go to the microphone tab, then Flash DOES start streaming, presuambly to get information for the VU meter, but as soon as I dismiss the dialog, the streaming stops.
    How can I find out what exactly Flash wants?   The whole process is frustratingly opaque.
    Tim Roberts, [email address removed]
    Providenza & Boekelheide, Inc.

    Moved to Using Flash Player.

  • Where does this java program read a text file and how does it output the re

    someone sent this to me. its a generic translator where it reads a hashmap text file which has the replacement vocabulary etc... and then reads another text file that has what you want translated and then outputs translation. what i don't understand is where i need to plugin the name of the text files and what is the very first line of code?
    [code
    package forums;
    //references:
    //http://forums.techguy.org/development/570048-need-write-java-program-convert.html
    //http://www.wellho.net/resources/ex.php4?item=j714/Hmap.java
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.BufferedReader;
    import java.io.FileReader;
    public class Translate {
    public static void main(String [] args) throws IOException {
    if (args.length != 2) {
    System.err.println("usage: Translate wordmapfile textfile");
    System.exit(1);
    try {
    HashMap words = ReadHashMapFromFile(args[0]);
    System.out.println(ProcessFile(words, args[1]));
    } catch (Exception e) {
    e.printStackTrace();
    // static helper methods
    * Reads a file into a HashMap. The file should contain lines of the format
    * "key\tvalue\n"
    * @returns a hashmap of the given file
    @SuppressWarnings("unchecked")
    private static HashMap ReadHashMapFromFile(String filename) throws FileNotFoundException, IOException {
    BufferedReader in = null;
    HashMap map = null;
    try {
    in = new BufferedReader(new FileReader(filename));
    String line;
    map = new HashMap();
    while ((line = in.readLine()) != null) {
    String[] fields = line.split("\\t", 2);
    if (fields.length != 2) continue; //just ignore "invalid" lines
    map.put(fields[0], fields[1]);
    } finally {
    if(in!=null) in.close(); //may throw IOException
    return(map); //returning a reference to local variable is safe in java (unlike C/C++)
    * Process the given file
    * @returns String contains the whole file.
    private static String ProcessFile(Map words, String filename) throws FileNotFoundException, IOException {
    BufferedReader in = null;
    StringBuffer out = null;
    try {
    in = new BufferedReader(new FileReader(filename));
    out = new StringBuffer();
    String line = null;
    while( (line=in.readLine()) != null ) {
    out.append(SearchAndReplaceWordsInText(words, line)+"\n");
    } finally {
    if(in!=null) in.close(); //may throw IOException
    return out.toString();
    * Replaces all occurrences in text of each key in words with it's value.
    * @returns String
    private static String SearchAndReplaceWordsInText(Map words, String text) {
    Iterator it = words.keySet().iterator();
    while( it.hasNext() ) {
    String key = (String)it.next();
    text = text.replaceAll("\\b"+key+"\\b", (String)words.get(key));
    return text;
    * @returns: s with the first letter capitalized
    String capitalize(String s)
    return s.substring(0,0).toUpperCase() + s.substring(1);
    }

    without what arguments?Without any arguments. If there are no arguments, there are no arguments of any kind. If you have a zoo with no animals in it, it's not meaningful to ask whether the animals which are not there are zebras or elephants.
    does it prompt me to give it a text file name?Apparently.
    when i run it this is all i get:
    usage: Translate wordmapfile textfile
    Press any key to continue...Right. And "wordmapfile" is almost certainly supposed to be a file that holds the word map, and "textfile" is almost certainly the file of text that it's going to translate.

  • How does Flash Player projector/standalone connect to the Internet

    I know that when a web service call is made from a flash player in the browser that the underlying browser is used to handle the traffic.  I also know that this isn't the case with flash projector because the security docs say that the projector files can't take advantage of SSL because they aren't run in the context of the browser.  So what mechanism does a standalone or projector application use to connect to the Internet?  I'm trying to analyze a possible application for someone from a security point of view, but I'm not sure what mechanism is in place.
    Thanks to anyone who knows or even knows of some decent references.  I can't find much on projectors....

    As far as I know, the standalone player does not connect to the Internet - it just plays local Flash content.
    Or can you actually give it an Internet (http) location to play?  (I do not currently have Projector installed, so I cannot try it.)

  • How does AppleScript store user input?

    So another question,
    if I were to put the following into an AppleScript:
    set password to text returned of (display dialog "Enter your password" default answer "" with hidden answer)
    does AppleScript store this as clear text? If so, how long does it retain this?
    Thanks!

    does AppleScript store this as clear text? If so, how long does it retain this?
    It doesn't store it at all - well, other than in memory as the variable password
    Since it's in memory, if someone were able to dump the contents of your system's memory they could, conceivably, see the value, but it wouldn't be obvious.
    Like all AppleScript variables, it's value is lost as soon as it goes out of scope - typically when the script ends, unless you're in a handler, in which case it is discarded as soon as the current handler returns, even if the main script continues to run. For example:
    on run
      my doSomething() -- call the doSomething() handler
      display dialog myPassword -- error - myPassword is not defined
    end run
    on doSomething()
      set myPassword to text returned of (display dialog "Enter your password" default answer "" with hidden answer)
      display dialog myPassword -- works because you're inside the handler where myPassword is defined
    end doSomething
    In this case the run handler calls doSomething() which asks for the password and displays it in a dialog. When the handler returns, though, the variable is lost and can no longer be used.

  • How does Flash stream / progressively play sounds

    Hello, I've been making an MP3 player using Flash (MX 2004).
    The player is to stream/progressively play MP3 files on my file
    host.
    I have already overcome the security part, as it seems that
    my file host has allowed cross-domain access.
    In my script I set _soundbuftime to 10 seconds
    The problem: When testing the player, I notice 2 different
    kinds of behaviours at random occasions:
    1. The player loads 10 seconds of the song and begins
    playing. If the player reaches the end of the loaded data but has
    not loaded enough for it to continue playing, it will wait until
    the next 10 seconds are loaded before continuing playback.
    2. The player does not buffer as much as stated by the
    _soundbuftime parameter. It loads one second, plays it, stops,
    loads another second, plays it etc.
    What I would like to know:
    1. Is behaviour 2 a known issue in Flash 7, or is it because
    I am using Flash Player 9 to test it?
    2. Does the player buffer as much as specified by
    _soundbuftime each time it has run out of data to play, or does it
    do so only for the initial buffer?
    3. Do more recent versions of Flash (such as 8 or 9) and/or
    Flash Player show behaviour 2?
    Would appreciate if anyone could help me.

    You should be using the Media Components for playing and
    progressively downloading your .mp3 files, the buffertime in these
    components will work correctly. You will also then have the ability
    to seek, pause, play, stop and a bunch of other commands that you
    just won't get when using the .loadSound() functions of flash 7. To
    actually stream your .mp3 files you will need to use the Flash
    Media Server, this will allow you to seek to all points of your
    audio before it has been fully downloaded. In addition the problems
    you are experiencing seem to be bandwidth issues, depending on your
    host you may not see any improvements.

  • How does Flash Player differ on various browsers?

    Internet Explorer: Flash Player is installed as ActiveX® plug-in. Installing Flash Player in Internet Explorer doesn't install Flash Player on other browsers, such as Mozilla Firefox, Opera, and Netscape.
    Mozilla Firefox / Opera / Netscape: Flash Player is installed as a plug-in. Installing Flash Player in any of these browsers automatically installs Flash Player in other browsers too. For example, if you install Flash Player in Mozilla Firefox, Flash Player gets automatically installed in Netscape if Netscape is present in your machine.
    For installing Flash Player in a browser, using the browser, go to Adobe site. Download Flash Player and double-click the downloaded file to install Flash Player.
    Google Chrome: Flash Player is integrated with Google Chrome. You don't need to install it separately.

    Have you installed Flash from http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html#main_Archived_versions the latest version of Flash for your phone is "Flash Player 11.1 for Android 4.0 (11.1.115.63)".

  • How does the AS3 property flash.system.Capabilities.hasTLS get set?

    There is a setting called "flash.system.Capabilities.hasTLS" that determines whether or not the Flash Player can make native SSL/TLS-based connections.  The definition of this property says " Specifies whether the system supports native SSL sockets through NetConnection (true) or does not (false)." 
    How does Flash determine whether this property is true or false?  Is the value passed to the Flash player by the browser?  Does Flash figure it out from the environment?  If so, how?

    I, too, am trying to work out how to use extractors. The documentation is sparse.
    I have found that if you replace your:
    arrayList.get(0).nameProperty().set("Hi");
    with:
    list.remove(0);
    your Callback is called, but you pretty quickly get a NullPointerException after it returns.

  • How does java basically work?

    I know that java makes use of many classes which have inherent methods that do our work. But I want to know how those methods work. where are the files for its running? Like in println, how does it output to the console?
    please explain.
    And also tell me how java was built...
    Thanks in advance.
    Megamatrix.

    If you want to see the source code of the standard API classes it's very easy - during the installation of the jdk you can choose to install it. In that case there will be a large file called src.jar in the JDK installation directory. You can extract the sources from it with eg. winzip or the "jar" command line tool.
    And if you are interested in the source of the JDK itself, it can be downloaded too... http://www.sun.com/software/java2/index.html

  • Does Flash Engine supports "Mouse Over" events on an Android device with a mouse?

    We built our custome Android on a Beagle Board. When we play a Flash content on WebKit, the flash does not respond to mouse over events.
    When mouse pointer comes on an object with mouse over effect, nothing happends.
    Can you confirm that there is Mouse Over support in Android 2.2 Flash Engine?
    Thanks in Advance

    Thanks for the link. Im just stuck on one issue right now. I
    quickly noticed that the samples make use of mx.transitions.easing
    as seen in the script below. How does Flash 8 address this?
    myButton_btn.onRelease = function() {
    tweenBall(mx.transitions.easing.Bounce.easeOut);
    function tweenBall(easeType) {
    var begin = 20;
    var end = 380;
    var time = 20;
    var mc = ball_mc;
    ballTween = new mx.transitions.Tween(mc, "_x", easeType,
    begin, end, time);

  • How to read .xml file from embedded .swf(flash output) in captivate

    I have been trying to read .xml file from the .swf (Flash output) that is embedded within the captivate file but no luck yet . Please if anyone got any clue on how get this thing done using Action script 3.0 then let me know. I am using Adobe Captivate 5.5 at present and Flash CS 5.5.
    I am well aware about how to read .xml file through action script 3.0 in flash but when insert the same flash in captivate and publish nothing comes in captivate output. I would higly appreciate if anyone could help me out with that.
    Here is is graphical demonstration of my query :
    Message was edited by: captainmkv

    Hi Captainmkv,
    Does the information in this post cover what you're trying to do: http://forums.adobe.com/message/5081928#5081928
    Tristan,

  • ? How does a G4 Powerbook or Qwksilver input S-video from an S video VCR ?

    ?? How does a G4 Quicksilver 2002 input S-video from an S video VCR ??
    I want to use some pre-miniDV S-video footage
    in an upcoming small Final Cut production.
    ?? Is there a conversion from S-video to firewire400 ??
    Best regards, Ken

    Ken,
    Simplest way? Use a digital camcorder to play the VCR's output through the camcorder, passing it to the Mac via FireWire, importing the converted DV with iMovie or another application. Most camcorders will do this, performing the conversion without needing to otherwise use a separate, dedicated hardware encoding device.
    Gary

Maybe you are looking for

  • Updgraded to new iMac, Google Gears doesn't work?

    Hi, I just dumped my MBP running 10.5 for a brand new iMac with 10.6.4 and now I can't install Google Gears and get my Gmail offline. This is terrible. I've tried both Safari and Chrome browsers and get the message that neither are supported. Please

  • Problem while starting Managed Servers from Admin Server console

    I am facing a problem while trying to start the managed servers in wlp8.1 portal from the admin server console. <Dec 7, 2004 4:52:14 PM IST> <Info> <NodeManager@*.*:5555> <Starting Server orbitPortalDomain::orbit_ManagedServer1 ...> <Dec 7, 2004 4:52

  • Logic Studio quitting unexpectedly

    Logic Studio quits unexpectedly after I installed steinberg cubase LE 5. Even after deleting Cubase, Logic still quits unexpectedly. As Logic Studio is my main app I need to make sure I can get access to it. Can anyone please help me. - Jim.

  • Work Flow of  a Support Project

    Hi Gurus,              Could Anyone mail the work flow of solving tickets by introducing new configuration in a support project and its authorizations to [email protected] Regards, Sarosh

  • New E61 will NOT synchronize with PC Suite

    Hello, I have a new E61 (V2 firmware, SFR pack in France). I use Windows XP 2 and have the latest version of PC Suite - 6 82 22 0 My first attempt at synchronizing via USB cable stopped very quickly. Message on the phone said operation failed. Log sh