Select to view content in your preferred language

SFV 2, FlashBuilder 4 compile error

736
3
08-25-2010 08:31 AM
philippschnetzer
Frequent Contributor
Using SFV 2 and FlashBuilder 4.  Getting the following compile error when I attempt to include Robert Scheitlin's Google Streetview widget - had it working well in SFV 1.3.

Unable to locate specified base class 'com.esri.solutions.flexviewer.BaseWidget' for component class 'widgets.Streetview.Streetview'

Any help appreciated!
Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Philipp,

     SFV 1.3 Widgets will not work in FlexViewer 2.0 with out updating to the new viewers framework changes. You will have to recode the widget to use com.esri.viewer.BaseWidget now.
0 Kudos
RichLeeson
Emerging Contributor
Robert,

I don't want to hijack this thread but I also did not want to start a new thread.  As the god of Flash/ActionScript programming I'm interested in how you got started.  Did you know another programming language and if so what was it?  I really want to learn Flash programming and have no prior programming experience.  It seems like I start trying to learn one language then I'm told it is easier to learn another one and then get into Flash.  Any light you can spread on this would be greatly appreciated.  I also want to thank you for all the help you give on these message boards.  I'm really suprised that ESRI hasn't snatched you away.

Rich
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Rich,

   There are alot of people out there that know flex better than me, like Mansour, Dasa, and other API team members. I got my start in programming well over a decade ago in Visual Basic, then Avenue (ArcView 3 proprietary language). I then moved to .Net and to JavaScript. I would say that JavaScript is the closest to Flex syntax. Anyway I have always been one to look at samples and have to know why they work and follow every path the code takes to see why it does what it does. I guess interrogating code is what I am best at, and what make me a successful programmer. So my best advice is don't just copy and paste code interrogate the codes logic and figure out why it does what it does. Also Google is one of my best friends 🙂
0 Kudos