Skip navigation
Currently Being Moderated

"Not a valid widget" error when trying to insert widget

Apr 14, 2011 12:38 PM

I'm trying to create a widget for displaying a textbox with a scrollbar. I'm using Captivate 5 and Flash CS5 for Mac. I created the widget .swf file and it works great when I open it in FlashPlayer. However, I get the error "Not a valid widget" when using Insert > Widget.

 

So then in Captivate I tried File > New Project > Widget in Flash. Then I chose Static widget (and AS 3.0 was the only option under Actionscript). I hit "OK" and then Flash opened. If I immediately save the file and publish the .swf and try to Insert > Widget from within Captivate, I get "Not a valid widget" again.

 

Maybe I have the publish settings in Flash set incorrectly? It's hard to believe since I started the widget from within Captivate!

 

Hope someone has an idea.

 

Thanks

 
Replies
  • Currently Being Moderated
    Apr 14, 2011 12:59 PM   in reply to jumpyg2

    Here is a post for creating a widget.  Not sure is this will answer your question but may help.

     

    http://blogs.adobe.com/captivate/2009/06/captivate_widgets_tutorial_cr e.html

     

    Another resource as well.

     

    http://www.infosemantics.com.au/widgetking/

     

    Message was edited by: BaseballBirch

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 14, 2011 1:38 PM   in reply to jumpyg2

    Hello,

     

    Cannot help you with the widget itself. But did you check the TextArea widget that comes with Captivate?

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 14, 2011 6:47 PM   in reply to jumpyg2

    That error message could happen too when there is an exception thrown from one of the function. Sometimes, you don't get these exceptions from Flash because the functions are called via ExternalInterface. However, when Captivate call these functions, an exception is thrown and Captivate stops seeing the widget as being valid. I suggest that you comment your code in the functions that are called by Captivate then load the widget it. Them uncomment, one function at a time, to see which one is problematic.

     

    By the way, if you are creating widgets, you should take a look at CpGears (http://code.google.com/p/cpgears/), there's also a good tutorial on how to create your first widget (http://code.google.com/p/cpgears/wiki/CreateStaticWidget)

     

    Whyves

    www.flash-factor.com

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 18, 2011 11:50 PM   in reply to jumpyg2

    Hi,

     

    I tried the same workflow as you mentioned and created a blank static widget. (I guess even you are creating a static widget)

     

    I was able to insert that widget into captivate.

     

    Did you place the widget into the flash player trusted location? In other words, just place the new widget in the widgets gallery folder (In Captivate Installed location) and try inserting it.

     

    Thanks,

    Vikranth.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2011 6:00 AM   in reply to jumpyg2

    Hi,

     

    Try the blank widget that I have attached with this post and let me know whether it works for you.

     

    https://acrobat.com/#d=A7U3*YAPByTZ4vrYdLnWDw

     

    Regards,

    Vikranth.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2011 6:33 AM   in reply to jumpyg2

    Hi,

     

    Can you create a widget through the captiate, New Project >> Widget in Flash, workflow and share that fla file, so that we can check the issue?

     

    You can e-mail to my address vikranth@adobe.com

     

    Thanks,

    Vikranth.

     
    |
    Mark as:
  • Currently Being Moderated
    May 3, 2012 7:04 PM   in reply to Vikranth p vivek

    Hi

     

    I am using a 64 Bit Win 7 laptop with 32 bit Captivate 5.5 installed. I am unable to run any widgets at all! I keep getting the "Not a valid widget" message.

     

    Neither the pre-installed Adobe widgets or any others purchased elsewhere work. I have checked with our network admin to see if it is a network policy issue but we have tested this and it isnt.

     

    Is this a known issue? Is there a 64 bit version of Captivate 5.5 or is there another fix I can apply?

     

    thanks

    Clive

     
    |
    Mark as:
  • Currently Being Moderated
    May 3, 2012 7:16 PM   in reply to theglidenz1

    What version of Flash Player are you on?  Did you upgrade recently?  Were you EVER able to use widgets and only NOW encounter this issue, or has this been the case since you installed Cp 5.5?

     

    64 bit version OS such as Win7 should still run Captivate 5.5 as a 32 bit app.  Widgets should not be affected.

     
    |
    Mark as:
  • Currently Being Moderated
    May 3, 2012 7:54 PM   in reply to RodWard

    Re: "Not a valid widget" error when trying to insert widget

     

    Hi Rod

     

    Thanks for the speedy response. We are running version 11 of flash player but I’ve just found out its disabled by group policy. Would this be the cause?

     

    We recently upgraded our OS to Win 7 from XP. Captivate widgets worked in XP but not now. Also recently upgraded from Captivate 5 to 5.5 as far as I can remember

     

    Thanks

     

    Clive

     
    |
    Mark as:
  • Currently Being Moderated
    May 3, 2012 8:02 PM   in reply to theglidenz1

    Captivate also uses the Flash Player for certain internal functions, including widgets.

     

    If Flash Player is disabled by security, I would definitely be looking at THAT as a high likelihood for causing your issue. You said that your were "running version 11 of FP).  I'm assuming then that this means it IS installed, but for some reason users are prevented from accessing Flash content due to the security?

     

    Is there some IT person with Admin privileges that you can get to test something for you? Ask them to log into your machine, open up Captivate 5.5, and try inserting a widget into a new blank project.  If they do NOT encounter this issue (assuming their admin privileges gives them full access to use Flash Player), then you know what the issue is.

     

    Since Captivate published content usually SWF and therefore reliant on the presence of Flash Player to function at all, I think you have a strong case to have FP enabled in your OS group policy.

     
    |
    Mark as:
  • Currently Being Moderated
    May 6, 2012 12:04 PM   in reply to RodWard

    Re: "Not a valid widget" error when trying to insert widget

     

    Thanks for the help Rob I will get the  ICT applications team to look into it.

     

    Thanks

     

    Clive

     
    |
    Mark as:
  • Currently Being Moderated
    May 9, 2012 6:26 AM   in reply to theglidenz1

    Hi Clive,

    Did you ever work this out? I just upgraded to win 7 64 bit and now my current widgets are behaving oddly and it won't let me insert new widgets, including ones already in the project! "not a valid widget" error.

     

    Andrew

     
    |
    Mark as:
  • Currently Being Moderated
    May 9, 2012 6:31 AM   in reply to andrew_downes

    Solved it - run Captivate as administrator fixes the problem.

     

    Andrew

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points