Results 1 to 9 of 9

Thread: Problem while exporting swf

  1. #1

    Problem while exporting swf

    While trying to exporting swf in a flash AS 3 template I got this error.

    C:\Documents and Settings\INDIA\Desktop\finalSiteV1\flash\Main.as, Line 136 1046: Type was not found or was not a compile-time constant: TemplateEvent.
    C:\Documents and Settings\INDIA\Desktop\finalSiteV1\flash\Main.as, Line 144 1046: Type was not found or was not a compile-time constant: TemplateEvent.


    I attached herewith the Class files to look into. Can anyone tell me how to avert this problem.
    Attached Files Attached Files

  2. #2
    The class that dispatches the privacy and switchPopup Events is not included in your files.
    Code:
    addEventListener( 'privacy', onSwitchPrivacy);
    addEventListener( 'switchPopup', onSwitchPopup);
    BTW, how old are these files anyway?
    Greensock stopped using the gs directory a long time ago.
    I used to be a paranoid-psychotic-schizophrenic, but don't worry, he's dead now.

  3. #3
    Thanks for the reply.

    No this has already been included in line number 133 & 134. Do I have to include this one
    addEventListener( 'privacy', onSwitchPrivacy); addEventListener( 'switchPopup', onSwitchPopup);

    somewhere else. Kindly take a second look. Please.

  4. #4
    where is the Event coming from? who is dispatching it?
    Did you write this code? Doesn't seem like you understand the concept of dispatching events.
    I used to be a paranoid-psychotic-schizophrenic, but don't worry, he's dead now.

  5. #5
    Quote Originally Posted by snickelfritz View Post
    where is the Event coming from? who is dispatching it?
    Did you write this code? Doesn't seem like you understand the concept of dispatching events.
    You are absolutely right , I am totally novice in Flash AS 3. It is a Flash template and I could not understand the code. If you need the fla and other files to look into here is all the files

    http://www.flashybee.com/k.zip ( the site contains some adult images, you can remove the image folder and see the rest of the site)

    If possible kindly take a look.

    ANYONE PLEASE.
    Last edited by trnghosh; April 14th, 2012 at 01:18 PM. Reason: No Positive Response.

  6. #6
    I think that it is stupid one which could not be solved by anyone.

  7. #7
    Quote Originally Posted by trnghosh View Post
    I think that it is stupid one which could not be solved by anyone.
    Please take the files from here and help me

    www.flashybee.com/k.zip

    ( kindly note the images are to some extant adult so in need please delete the image folder and then view the site. The problem is with the AS file)

  8. #8
    Quote Originally Posted by trnghosh View Post
    Please take the files from here and help me

    www.flashybee.com/k.zip

    ( kindly note the images are to some extant adult so in need please delete the image folder and then view the site. The problem is with the AS file)
    I am able to pay $8 if anyone can fix this one.

    Thanks.

  9. #9
    Quote Originally Posted by trnghosh View Post
    I am able to pay $8 if anyone can fix this one.

    Thanks.
    Desperately need help , please respond anyone on this. Please ............

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012