Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Developer
Pegon_Fighter
Posts: 5
Registered: ‎02-15-2012
My Carrier: Telus

Can anyone quickly help me? Flex for BB playbook in 90 minutes help !!

[ Edited ]

here is the link: http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Flex-for-the-BlackBerry-PlayBook-...

 

i tried to do this for 2 nights !! staying up late trying to figure out whats the problem!! everytime when i think i found a solution, im facing a new problem -__-

 

so my question to you guys, can anyone make a QUICK usefull video for me?

 

i'd like to see how you guys programm this.

 

FYI the guide has a few mistakes in the code so please refer to the help in the comment section!

 

Thanks!! i will be looking forward !

Please use plain text.
Developer
p3pp3r
Posts: 157
Registered: ‎12-16-2010
My Carrier: I carry it myself

Re: Can anyone quickly help me? Flex for BB playbook in 90 minutes help !!

Not really sure what you are asking here... Are you asking for help with specific problem (if so, please provide more information on the specifics of the problem) or you want someone to do video of how to program the sample provided on the tutorial page? 

 

This forum works best when you:

 

1) Clearly articulate the problem

2) provide sample code (small, speciic code sniplets - not entire class) of the problem area

3) include screen shots or errors / unexpected behaviour or error codes

 

Hope this helps

----------
If you find this post helpful please "like" it and accept as a solution.
Please use plain text.
New Developer
Pegon_Fighter
Posts: 5
Registered: ‎02-15-2012
My Carrier: Telus

Re: Can anyone quickly help me? Flex for BB playbook in 90 minutes help !!

[ Edited ]

the problem is in this code, part 2, step 1 of the guide:

 

<s:List id="list" top="0" bottom="0" left="0" right="0"
dataProvider="{srv.lastResult.list.employee}">
<s:itemRenderer>
<fx:Component>
<component:IconItemRenderer label="{data.firstName} {data.lastName}" messageField="title" />
</fx:Component>
</s:itemRenderer>
</s:List>

it gives me an "The markup in the document following the root element must be well-formed." Error

 

can anyone find a flaw in it? and yes i wanted to know if anyone can make a video on how to program this app

 

thanks

 

 

also my recent error is "The prefix "component" for element "component:IconItemRenderer" is not bound."

 

hellpp

 

Please use plain text.
Developer
Acenet
Posts: 248
Registered: ‎11-02-2010
My Carrier: -

Re: Can anyone quickly help me? Flex for BB playbook in 90 minutes help !!

Hello,

  if you copy/paste the code for the component, a problem may be that you not have updated the domain info. (in your top xml node: application).

To do so from your pasted code, try to put cursor on the word "IconItemRenderer" and Ctrl+space, this will trigger the code completion: select IconItemRenderer, and normally this will update the declaration (I suppose you use FB)

 

JC
Please use plain text.
New Developer
Pegon_Fighter
Posts: 5
Registered: ‎02-15-2012
My Carrier: Telus

Re: Can anyone quickly help me? Flex for BB playbook in 90 minutes help !!

it gives me "The markup in the document following the root element must be well-formed."

 

the code is like this now

 

<s:List id="list" top="0" bottom="0" left="0" right="0"
        dataProvider="{srv.lastResult.list.employee}">
    <s:itemRenderer>
        <fx:Component>
            <component:IconItemRenderer label="{data.firstName} {data.lastName}" messageField="title"/>
        </fx:Component>
    </s:itemRenderer>
</s:List>

Please use plain text.
New Developer
edin
Posts: 2
Registered: ‎02-18-2012
My Carrier: +381642085721

Re: Can anyone quickly help me? Flex for BB playbook in 90 minutes help !!

Just replace <component:IconItemRenderer  with <s:IconItemRenderer

Please use plain text.