Results 1 to 6 of 6

Thread: Flash syntax

  1. #1
    FLAC Griff1's Avatar
    Join Date
    Nov 2005
    Location
    Midlands
    Posts
    1,052

    Flash syntax

    Hi all,
    I'm having some (fla) flash probs and i was wondering if their is a difference in syntax between .swi and .fla??
    Or,is there a difference between flash versions?

    Any advice would be very much appreciated.
    Thanks.

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,173
    Blog Entries
    53
    swi and fla use different syntax entirely unfortunately. It compares to the difference in scripting autoit vs. scripting vb.... same functions, different formats.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    FLAC Griff1's Avatar
    Join Date
    Nov 2005
    Location
    Midlands
    Posts
    1,052
    Any1 have an idea how this (swi) code col = "0x" add daycolour; would translate in fla.

    If i change it to col = "0x" + daycolour; it gets rid of the error but don't work how it should.

    Its driving me mad now!
    All this for a logo,is it worth it??i'm not sure anymore.

  4. #4
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,173
    Blog Entries
    53
    have you tried col = "0x" ADD daycolour?

    This will only work if daycolour is declared on the same level as well
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  5. #5
    Low Bitrate
    Join Date
    Apr 2004
    Location
    Ft Lauderdale, FL
    Posts
    78
    try
    col = eval("0x" + daycolour);

  6. #6
    Low Bitrate
    Join Date
    Apr 2004
    Location
    Ft Lauderdale, FL
    Posts
    78
    also add:

    trace("Col: "+daycolour);
    trace("Type: "+(typeof daycolour));

    the above will tell you if daycolour is undefined or not and what type of object it is. Hopefully a string.

Similar Threads

  1. compact flash raid
    By B3AND1P in forum General Hardware Discussion
    Replies: 37
    Last Post: 03-13-2008, 08:23 PM
  2. Suspend to Flash??? S3.1?
    By 2k1Toaster in forum General Hardware Discussion
    Replies: 5
    Last Post: 05-10-2006, 04:39 AM
  3. sending keystrokes to flash?
    By Nitrov8 in forum Road Runner
    Replies: 7
    Last Post: 04-07-2006, 01:51 AM
  4. Replies: 24
    Last Post: 03-03-2006, 01:36 PM
  5. del
    By hanzacra in forum General Hardware Discussion
    Replies: 3
    Last Post: 05-25-2005, 04:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •