[flexcoders] In Flex and Coldfusion Crud in 100 lines, the CFC syntax doesn't work on MX702

2009-04-08 Thread dmkramerica
Hey guys, 

I followed this seemingly great article, and I've found that in the Crud.cfc 
portion of the example (here specifically)...

1:
2:  
3:  

select  id, name, type
fromtest




...the 3rd line cfset var local = {} throws this error:
"Invalid token '{' found on line 3"

Is this a CF8 v CFMX702 thing? If so, what is the solution?

If I comment out the line and remove the 'local' prefix to the query name 'q', 
the cfc runs fine, and a test.cfml that invokes the cfc works fine, but the swf 
never gets data.  (I added crossdomain.xml with allow "*")

I'm thinking two things 
1) the query result needs a collection wrapper for Flex to work? 
And 
2) that I might have a minor have endpoint and/or source description problem in 
the mxml for the remote object because I'm a tad unclear which "root" is being 
referred to web root, app root.

Thoughts/help?  

Please and thank you.

Dov



[flexcoders] clear concise article/tutorial on setting up CFC project in Flex Builder?

2009-04-07 Thread dmkramerica
I have full admin priv to CF, and the entire server for that matter, and 
Gassner's articles on lynda.com only describe setting up Cold Fusion projects 
in a local environment - which is like super rare in reality. The other 
information I find seems inconsistent and sometimes contrary so far...for 
instance one article tells me to make sure the xml config files are one 
location, and when I look it's not there, but there are five other copies in 
other folders yet when I try using those paths in the CF project set up in FB3 
none of them work, so...I'm stuck in the CF project wizard in Flex Builder 3.

How do you set up a Cold Fusion project in Flex Builder and verify the server 
communication so you can finish the wizard? (This seems straightforward but the 
information on it isn't.)

or...

Do I even need this IDE setup stuff, can't I just get my swf to talk to my CFC 
without this wizard? ( which would blow because of all niceties of having 
immediate feedback in an IDE while developing, but just getting them talking is 
good enough for me at this point.)

Anyone?



[flexcoders] Re: HOW?: DnD within grid to move AND have DnD from the grid to list be a copy.

2009-02-15 Thread dmkramerica
Got it.  Ctrl+drag.  Duh.

--- In flexcoders@yahoogroups.com, "David Kramer" 
wrote:
>
> Hey folks, I need some guidance/solution to a Drag and Drop scenario...
> 
> I have a list and a grid. You can drag and drop from the grid to the
> list, and you can drag and drop within the grid to change the sort
order.
> However, If you drag and drop within the grid it does an automatic copy
> instead of a move (sort) which is what I want. So, I tried
> dragMoveEnabled="true" which works nicely within the grid, but then it's
> also moved and not copied to the list.
> 
> Anyone have guidance on how to have DnD within a grid be a move AND also
> have DnD from the grid to the list be a copy?
> 
> It would seem like there is a way.
> 
> Thanks in advance to all who help!
> 
> Dave
>




[flexcoders] Re: AdobeFlexBuilder 3 AIR: problem with Exported Release Build

2009-02-09 Thread dmkramerica
I just solved the very same error. Which, after research, has multiple
causes.

What I found was:

If you have .png files in a folder called "assets", for some strange
reason it will not install.

Delete that folder (in both the /src and in the /bin-debug or
/bin-release folders), copy the those .pngs to another folder first
obviously (I called mine /img). Then make sure all your .png file
references are correctly "re-pathed" in the code (and I ditched all
unused files and all .DS_Store files too for good measure) and it
installs.

I have not found a really good explanation, but working = good.

The certificate issues (another possiblity I found posted on the web)
turned out to not be my issue, but you may want to look into that too.
It's documented on the Bug List too.

Hope this helps.

Now...can I get some help on my last post? I'm feeling dumb.

David

--- In flexcoders@yahoogroups.com, "samir_npatel" 
wrote:
>
> 
> Hi Frnds,
> I am using Adobe Flex Builder 3 and have created an AIR application.
> I want to create a 'Build' so that I can install it and run it
> independently.
> So I created it using 'Project' --> 'Export Release Build'.
> It creates MyProject.airi file. When I click it to install it, it shows
> following error...
> 
> "The application could not be installed because the  AIR file is
> damaged."
> 
> I tried with many different applications, but same result.
> 
> please help...
> 
> -Samir
>




[flexcoders] Re: Installing an AIR APP with configuration

2009-02-05 Thread dmkramerica
Did you ever make progress or solve this?


--- In flexcoders@yahoogroups.com, bjorn  wrote:
>
> What's the best practice here? I need my app to know the username of the
> user who install it. So I'm thinking of adding it as a parameter to
the app
> in the installer badge, and then saving it in a properties file
locally in
> the app's directory.
> -- 
> 
> http://www.juicability.com - flex blog
> http://www.nospoiler.com - link to youtube videos without the spoilers
>




[flexcoders] SOLVED: Re: FLVs not loading after I publish to server

2008-12-18 Thread dmkramerica
MIME type for .flv extension not set to video/x-flv in IIS. Duh.

--- In flexcoders@yahoogroups.com, "dmkramerica"  
wrote:
>
> Hey all!
> 
> I have what seems to be a minor problem.  I have a Flex project, it 
> loads FLVs, and it does so just fine in my development environment, 
> but when I upload the source files to my server, the .html wrapper 
> loads, the .swf loads, but the referenced FLVs do not appear.  For 
> instance one FLV is in "the page" and it doesn't load and the rest 
> appear in a PopUp and they don't load, but the PopUp appears (and 
> seems to wait [forever] for an FLV).  Everything else appears to 
work 
> fine.
> 
> I tried relative path and I tried using the "http://{IP addy}/folder
> (s)/file.flv" hardcoded method too.  
> 
> It seems like IIS is allowing the SWF to retreive the FLVs, but 
> mx:Images are working just fine and they are relative.
> 
> Any help? Anyone? 
> 
> Thanks in advance.
> 
> DMK
>




[flexcoders] FLVs not loading after I publish to server

2008-12-18 Thread dmkramerica
Hey all!

I have what seems to be a minor problem.  I have a Flex project, it 
loads FLVs, and it does so just fine in my development environment, 
but when I upload the source files to my server, the .html wrapper 
loads, the .swf loads, but the referenced FLVs do not appear.  For 
instance one FLV is in "the page" and it doesn't load and the rest 
appear in a PopUp and they don't load, but the PopUp appears (and 
seems to wait [forever] for an FLV).  Everything else appears to work 
fine.

I tried relative path and I tried using the "http://{IP addy}/folder
(s)/file.flv" hardcoded method too.  

It seems like IIS is allowing the SWF to retreive the FLVs, but 
mx:Images are working just fine and they are relative.

Any help? Anyone? 

Thanks in advance.

DMK