Re: [flexcoders] Re: using a coldfusion proxy to show twitter feed in flex app

2011-10-07 Thread Kevin Bowers


 Try setting the CF function access to remote, rather than public



From: valdhor 
To: flexcoders@yahoogroups.com
Sent: Friday, 7 October 2011, 17:17
Subject: [flexcoders] Re: using a coldfusion proxy to show twitter feed in flex 
app


  
This is a CF error. I don't know much about CF but the error is saying that you 
are not allowed to access that method remotely.

Is there some setting in CF that tells it which methods are remotely 
accessible? Is the crossdomain file set up correctly?

>From my point of view, it has to be some configuration problem with CF.

Of course, I could be wrong (And probably are) so any CF masters like to jump 
in here?

--- In flexcoders@yahoogroups.com, "ZIONIST"  wrote:
>
> Hi guys below is the code i came up with but i get this error 
> "faultCode:Server.Processing faultString:'Unable to invoke CFC - The method 
> 'getTweets' in component 
> C:\ColdFusion9\wwwroot\twiiterCFlex\src\cfcs\twitter.cfc cannot be accessed 
> remotely.' faultDetail:''"
> 
> flex code
> =
> 
> 
> 
> http://www.adobe.com/2006/mxml";
>   layout="absolute"
>   creationComplete="tweetSvc.getTweets()">
> 
>   
>   
>   
> 
>   destination="ColdFusion"
>source="twiiterCFlex.src.cfcs.twitter"
>showBusyCursor="true"
>
> fault="CursorManager.removeBusyCursor();Alert.show(event.fault.message)">
> 
> result="tweetResult(event)"/>
> 
>   
> 
>   dataProvider="{tweetAr}"
>itemRenderer="itemRenderers.tweetFeedRenderer"/>
> 
> 
> 
> 
> coldfusion cfc
> ===
> 
> 
> 
> 
> 
> 
> 
> http://twitter.com/status/user_timeline/RealtrOnline"; 
> properties="meta" query="qryGetTweets" />
> 
> 
> 
> 
> 
> What am i missing?
>


 

Re: [flexcoders] Re: Null object error on test for null

2010-08-18 Thread Kevin Bowers
Tom,

Perhaps another obvious thing, but it has worked for me in the past.

Have you tried putting something along the lines of:

if(==null)// rather than the != null
{

}
else
{
your code here
}

No logical difference I know, but then it's not behaving logically at the 
moment 
anyway.

Failing that, do you have a wall close to had to bang your head against? 
Doesn't 
help with the code problem, but gives you something else to worry about.

Kev



From: Tom McNeer 
To: flexcoders@yahoogroups.com
Sent: Wednesday, 18 August, 2010 15:34:41
Subject: Re: [flexcoders] Re: Null object error on test for null

  
@Pravin,

I really appreciate your attempts to help. Unfortunately, I've already tried 
these things.

I've commented out the entire body of the function within the "if" statement. 
I've run it within the debugger.

With or without the interior code, the debugger stops on the null test and 
reports that the error occurred on that line. Inspecting the variables within 
the file, I can see that when the debugger hits the error, the value of the 
object is null.

I'm not sure there are any more ways to actually test this particular piece of 
code. I'm just hoping that someone else may have experienced a similar 
situation 
and have some thoughts, or that someone from Adobe will step in and explain how 
a null test can throw a null object reference error.

@Wesley,

Thanks for the thoughts. I understand your point, as well as Pravin's. However, 
I've compiled and recompiled, cleaned and recleaned. Flex Builder shows no 
problems.

I have cleared the browser's cache before every new compile.

Yes, Pravin is correct in that no error should occur on that line. That's the 
point of the post, but I understand that you and Pravin are trying to help by 
suggesting things I may have missed. I appreciate that; unfortunately, as you 
can tell, I've already gone through all the 
commenting/compiling/cache-clearing/debugging steps everyone has mentioned.



-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560

 

[flexcoders] RichEditableText scrolling problem

2010-07-07 Thread Kevin Bowers
Hi All,

I'm having a bit of an issue when using the RichEditableText component in Flex 
4.  

Using the following code I'm populating the textFlow with 3 lines of data.  
However, when I try scrolling the text only the first and last lines are 
actually displayed, the middle line seems to vanish completely.

If I copy the text and paste it into notepad or the like all 3 lines are 
actually in the RichEditableText textfield.



Any clues as to what's going on would be helpful.

Thanks in advance,

Kev



 



  





RE: [flexcoders] Re: Honestly guys , at 48 should I expect Flex & AS3 to change my life job wise?

2009-11-29 Thread Kevin Bowers
Hi,
 
As a fellow 48 year old I'd say it would depend on a who range of things,
not just the Flex scripting skills.  For a start, where in the world are
you?  Here in Europe there is a real shortage of Flex skills, so anyone with
a fair level of ability should be able to get a job.  
 
As for the Flex version, well Flex 3 will continue to be in use for some
time I think, but as has been said earlier picking up Flex 4 once you have a
handle on 3 shouldn't be too much of a problem.
 
Good luck,
 
Kev

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ivan Wang
Sent: 29 November 2009 07:07
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Honestly guys , at 48 should I expect Flex &
AS3 to change my life job wise?


  


Actually the differences between Flex 3 and 4 may not be that much as you
guess, at least not totally different.  Flex is a framework anyway, the
basic things are still stay the same. Changes in layout, skin, new namespace
etc. just make it more well-organized and easier to use. 
My suggestion is that you can learn AS first, then use Flex 3 to build a
small application from the ground up to learn the basic Flex. That's all you
need to start Flex 4.
 

- Original Message - 
From: fred44455   
To: flexcod...@yahoogro  ups.com 
Sent: Sunday, November 29, 2009 2:06 PM
Subject: [flexcoders] Re: Honestly guys , at 48 should I expect Flex & AS3
to change my life job wise?

  

Mr. Wang,

Thank you so much for your input. I am currently learning Flex 3 under
Lynda.com Essential training
and I also purchased Lynda.ActionScript 3 essential training(with Flex not
Flash). I am using both tutorials and I seems to pick up the basics nicely.
However I tried to follow Flex4 in a week(from adobe videos) but it was too
hard for me to understand. These videos I think were assuming that you kow
Flex basics.
As you said it will be better to start with Flex4 & the framwook but there
is no Flex 4 book availble yet!! Do you think that the difference between
Flex 3 and Flex 4 is that huge? What I am trying to say is that I hope that
I am not wasting my time learning Flex 3 to realize(when the Flex 4 books
will be available) that it is a totally different programming using Flex 4.

Thank you in advance for your answer,

Regards,
Fred.

--- In flexcod...@yahoogro  ups.com,
"Ivan Wang"  wrote:
>
> Of course you will, learning a new language has nothing to do with one's
age. ActionScript is quite a simple language compared to other and Flex is
just a framework. One year is long enought to be a Flex Dev.
> I suggest you start from Flex 4 since it's quite diffrent from its
previous brother. Have fun.
> - Original Message - 
> From: fred44455 
> To: flexcod...@yahoogro  ups.com 
> Sent: Sunday, November 29, 2009 12:05 PM
> Subject: [flexcoders] Honestly guys , at 48 should I expect Flex & AS3 to
change my life job wise?
> 
> 
> 
> I am 48 and currently learning Flex3 & AS3. I have tried several other
platforms & languages and so far Flex is where I feel home , the coding feel
more intuitive to me , so I am expecting to keep learning the material. Now
let's say 1 year from now if I try to get a job will I be able to get an
entry level as Flex Developer? Even at my age? Or should I just continue
this as a hobby.
> 
> Thanks for your time,
> Fred.
>






[flexcoders] Module to Module custom Events

2009-10-07 Thread Kevin Bowers
I think that this one has been asked before, but I not able to find the
answer.  Hopefully someone will be able to help.
 
I'm trying to dispatch a custom event from a module to a listener in another
module, but I'm not able to get it to work.
 
Can anyone point me in the direction of an example for this.
 
Many thanks

 
 




[flexcoders] Persitent/interactive tooltip

2009-10-07 Thread Kevin Bowers
  Hi,
 
I'm trying to find some examples of tooltips that remain visible and allow
the user to interact with them, click on a link within the tip for example.
 
Does anyone know of any good sources
 
Many thanks,
 
Kev 



[flexcoders] Flex Builder 3 coldfusion wizard error

2009-08-27 Thread Kevin Bowers
Hi all,
 
I was wondering if anybody has come across the following error, or better
still a solution.
 
When using the coldfusion wizard to generate an application everything works
fine.  However, if we try the exact same process to produce an AIR
application we are geting the following error message:
 
com.adobe.flexbuilder.apollo.project.AppXMLCreator . 
(org.eclipse.core.runtime.IPath, java.lang.String)
 
Any clues as to how we might resolve, get around this would be great.
 
Many thanks,
 
Kevin


[flexcoders] LCDS Useage Issues

2009-06-17 Thread Kevin Bowers
Good Morning,
 
I wonder if  anybody could possibly help me out with some issues that we are
having with an installation of LCDS.  We are evaluating the software for a
large project that we are planning, but cannot seem to get LCDS to run under
JBoss.  
 
We have successfully connected to our Oracle database, with a whole bunch of
tables being created.  We can successfully view the LiveCycle control panel,
log into it and so on.  However, we cannot seem to find the config files or
find which port the LCDS is listening on.  If you could possibly point us
toward some information or tutorials I'd be most grateful.
 
We are running on a windows machine, as we had many problems trying to
install on Linux.  Incidentally, we also had problems with the windows
install, but eventually it worked.
 
Many thanks,
 
Kevin Bowers
 


[flexcoders] LCDS install on Linux

2009-06-16 Thread Kevin Bowers
Hi all,
 
We're trying to setup LCDS on a Linux server, but are getting the following
error message:
 
"Could not connect to bootstrap serverlet, the requested URL was not found
on the server"
 
Does anyone have any experience of this, or where I might look for a
solution.
 
Many thanks,
 
Kevin


[flexcoders] AIR auto-updates

2009-05-29 Thread KEVIN BOWERS
I'm trying to find out about the issues around auto update of an AIR 
application.  Specifically, aftet the initial install, what problems might be 
encountered by an AIR application with auto update if the user's computer is 
very tightly controlled by Adminstration access privilages?

Any information would be very useful.

Best regards,

Kevin


[flexcoders] FABridge Debugging

2008-11-24 Thread Kevin Bowers
Hi,

 

I'm trying to find a tool which will let me debug apps that are largely
written in JavaScript but use FABridge to control my Flex Application.
Ideally something that will allow debugging of both sides of the app at the
same time, or as part of the same process.

 

Any suggestions most welcome.

 

Kevin

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Simon Bailey
Sent: 24 November 2008 08:44
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid itemRenderer Woes

 

Just a checkbox inside of it in answer to your first question.  

 

The reason I am using a column to ascertain visibility of the check box is
due to using a vo to populate the header renderer and I need to make a
comparison between the grid renderer current item and it corresponding
column header vo.

 

Cheers,

 

Si

 

On 24 Nov 2008, at 06:33, Alex Harui wrote:





 

Are you changing the visibility of the entire renderer or just a checkbox
inside it?  Renderers on the recycle list get visible=false and set back to
true when used again.  If you  completely hide a renderer, I'm not sure what
would happen.

 

Other than that, I would find a way to introspect the renderers and see if
they did compute visible correctly for their data.  It seems odd that your
lookup of data.val is based on a column.

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Simon Bailey
Sent: Sunday, November 23, 2008 11:24 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid itemRenderer Woes

 

Ok I have stopped all the errors and essentially integrated your (Alex's)
logic into my application after some serious hair pulling.  

 

The responsibility lies now with the method below for showing or hiding the
check box:

 

override protected function commitProperties():void   

{ 

super.commitProperties();


var row:int = listData.rowIndex+1;


visible = false;


for( var i:int = 0; i < data.ff.length; i++ )


{ 

if( data.val[listData.columnIndex-1] != undefined &&
data.val[listData.columnIndex-1].option[i] == row )


{


visible = true; 

} 

} 

if (owner is ListBase) 

selected = ListBase(owner).isItemSelected(data);


}

 

And dammit if its still doing exactly the same as before?!?

 

On 23 Nov 2008, at 04:48, Alex Harui wrote:






 

Read the item renderers section on my blog (blogs.adobe.com/aharui).  Start
with the oldest posting.

 

From: < /span>flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Simon Bailey
Sent: Saturday, November 22, 2008 2:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid itemRenderer Woes

 

Hi,

I have seen through google that this has been an issue but 
implementing various solutions still l! eaves my existing problem.

Essentially I have a DataGrid with a custom itemRenderer displaying 
CheckBoxes.
Within the renderer I am running a comparison on a value within the 
renderers data i.e. data.my_val and the current grid row and column 
values.
Depending on whether the data value equals a specific row I show or 
hide the check box.
I achieve this by running the comparison logic with the overridden 
updateDisplayList method below which works fine until scrolled.

override protected function updateDisplayList( unscaledWidth:Number, 
unscaledHeight:Number ):void
{
super.updateDisplayList( unscaledWidth, unscaledHeight );
var row:int = listData.rowIndex+1;

for( var! i:int = 0; i < data.ff.length; i++ )
{
if( data.val[listData.columnIndex-1] != undefined && 
data.val[listData.columnIndex-1].option[i] == row )
{
btn.visible = true;
}
}
}

The issue is on scroll all of the check boxes are displayed/hidden 
incorrectly and the whole grid messes right up!

Any ideas pls would be appreciated.

Si