Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 593583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:51:40+00:00 2026-05-13T15:51:40+00:00

This is the strangest most unexplainable and frustratng thing I’ve experienced with flash and

  • 0

This is the strangest most unexplainable and frustratng thing I’ve experienced with flash and I have no Idea how to solve the problem.

Consider this function

public function trackDownloadHandler(event:MP3DownloadEvent):void
  {
   dispatchEvent(event);
   //dispatchEvent(new MP3DownloadEvent(MP3DownloadEvent.OPEN,event.channelPadID))
  }

I’ve done this a million times. A particular event arrives in a handler had a dispatch it again from the class it arrived to.

But for some bizarre reason I’m getting an error saying

TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::Event@a06ebe1 to com.rocudo.audioEngine.events.MP3DownloadEvent.

I don’t see where I’m trying to convert anything anywhere?

So I tried next to maybe just dispatch a brand new event instead and see how that worked out. The implementation is here below.

public function trackDownloadHandler(event:MP3DownloadEvent):void
  {
   //dispatchEvent(event);
   dispatchEvent(new MP3DownloadEvent(MP3DownloadEvent.OPEN,event.channelPadID))
  }

But in that case the original type error message goes away and I get a new error saying

Type was not found or compile time constant :Vector

What the hell is going on ??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:51:41+00:00Added an answer on May 13, 2026 at 3:51 pm

    I think the problem may be with not having a clone method defined in your custom MP3DownloadEvent.

    Adobe Livedocs flash.events.Event clone()

    Returns a new Event object that is a
    copy of the original instance of the
    Event object. You do not normally call
    clone(); the EventDispatcher class
    calls it automatically when you
    redispatch an event—that is, when you
    call dispatchEvent(event) from a
    handler that is handling event.

    For your Vector error, I believe Vectors are only available in CS4. So, if you are using code written for CS4 (and using Vecotrs), and you are compiling with CS3, you would likely get an error like this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the strangest thing! I have a multi-threaded client application written in Python.
i have this strange problem with the PHP function CTYPE_ALNUM if i do: PHP:
This is probably the most strange thing I have ever seen in Java: The
Starting from Android 3.2 I have this strange problem. It's very easy to reproduce:
I have a problem with an application I'm currently developing. In this program I
This is the most strangest error ever - Python os.listdir() fails for every directory:
I’ve got this strange problem whereby the content within a scroll viewer increases in
I have this strange error, When I call $element_attrs = $element -> attributes(); I
This only happens from time to time, seems random and I have not been
I have the strangest error I have seen for a while in Python (version

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.