|
Flash Flash, actionscript |
|
Alati teme | Način prikaza |
22. 02. 2010. | #1 |
novi član
Datum učlanjenja: 22.02.2010
Poruke: 2
Hvala: 0
0 "Hvala" u 0 poruka
|
Distribucija komponenti - problem sa Button komponentom
Imam seldeci problem:
Razvili nekoliko as3 class-a, koje se oslanjaju na Yahoo Astra flash biblioteku. Zatim smo kreirali komponentu (symbol) koja nasleduje jednu od tih naših klasa. Odlucili smo da distribuiramo tu našu komponentu u obliku mpx ekstenzije. Znaci eksportovali smo komponentu u swc file i napravili ekstenziju. Ukoliko zatim upotrebimo komponentu u novom projektu, dobijamo sledeci exception: TypeError: Error #2007: Parameter child must be non-null. at flash.display:isplayObjectContainer/addChildAt() at fl.controls::BaseButton/fl.controls:BaseButton::drawBackground() at fl.controls::LabelButton/fl.controls:LabelButton::draw() at fl.controls::Button/fl.controls:Button::draw() at fl.core::UIComponent/drawNow() at com.yahoo.astra.fl.containers.layoutClasses::BaseL ayoutPane/com.yahoo.astra.fl.containers.layoutClasses:BaseLa youtPane::redrawUIComponentChildren() at com.yahoo.astra.fl.containers.layoutClasses::BaseL ayoutPane/com.yahoo.astra.fl.containers.layoutClasses:BaseLa youtPane::draw() at com.yahoo.astra.fl.containers.layoutClasses::Advan cedLayoutPane/com.yahoo.astra.fl.containers.layoutClasses:Advanc edLayoutPane::draw() at com.yahoo.astra.fl.containers::BoxPane/com.yahoo.astra.fl.containers:BoxPane::draw() at fl.core::UIComponent/drawNow() at com.yahoo.astra.fl.containers.layoutClasses::BaseL ayoutPane/com.yahoo.astra.fl.containers.layoutClasses:BaseLa youtPane::redrawUIComponentChildren() at com.yahoo.astra.fl.containers.layoutClasses::BaseL ayoutPane/com.yahoo.astra.fl.containers.layoutClasses:BaseLa youtPane::draw() at com.yahoo.astra.fl.containers.layoutClasses::Advan cedLayoutPane/com.yahoo.astra.fl.containers.layoutClasses:Advanc edLayoutPane::draw() at com.yahoo.astra.fl.containers::BoxPane/com.yahoo.astra.fl.containers:BoxPane::draw() at fl.core::UIComponent/fl.core:UIComponent::callLaterDispatcher() Cannot display source code at this location. Ovo se ne dešava ukoliko u novom projektu uz naš menuBar na isti ekran dodamo Button kontrolu (onu koja se nalazi u standardnom setu komponenti). Da li je moguce resiti ovaj problem , tako da eventualni korisnici nase biblioteke ne moraju da dodaju Button komponentu uz nas menuBar ?distribucija komponenti - problem sa Button komponentom Poslednja izmena od stanislav.simunec : 22. 02. 2010. u 02:42. |
|
|
Slične teme | ||||
Tema | Početna poruka teme | Forum | Odgovori | Poslednja poruka |
Calendar with an associated button: | slavkan | (X)HTML, JavaScript, DHTML, XML, CSS | 2 | 06. 11. 2010. 23:59 |
Nabavka komponenti iz US | Ivan77 | Hardware | 11 | 05. 08. 2010. 13:09 |
Distribucija consumer softwarea u Srbiji | vlador | e-Business | 5 | 11. 12. 2007. 16:17 |
Do not push button | Ilija Studen | Linkovi | 6 | 15. 11. 2006. 04:43 |
Case study: Marketing strategija za prodaju web komponenti | boccio | Marketing i SEO | 21 | 15. 08. 2005. 17:42 |