IDEA #9618 & Flex

There are some issues with this build (possibly all others) and with Flex
development. I'm an experienced Java (IDEA) developer moving to Flex. I
have been trying to evaluate IDEA for Flex using the online tutorial. There
are a number of problems, I thought I would give you some feedback so you
can make this better.

1. For the tutorial is old, it was written for IDEA # 7663. Some of the
screen shots don't show new content available in 8.x releases but its easy
to guess at the new options.
2. Step 4 shouldn't specify a directory for Java source as we can now
specify a Flex project.
3. After following the directions to paste code in the Application.mxml file
IDEA complains that 'mx.controls.Alert' is an unresolved type or variable
which is not correct. Plus IDEA should allow Alt-Enter to create import for
this.
4. One you follow the tutorial to create the MySamplePackage package with
Greeter class and then add the logic to use this in the main mxml file the
code will not compile anymore with the Ant script, it gives an error: Type
as not found or was not a compile-time constant: Greeter.

This is as far as I could get with the tutorial as I am not yet experienced
with Flex.

However I do have some general comments about using IDEA & Flex.
1. It seems you have good coding support, better than Adobe's Flex Builder 3
in my estimation.
2. Where IDEA really falls down is that you depend on Ant. Why? The
build/run process in Flex Builder 3 is much smother, and it works. In IDEA
I am stuck wondering if the problem is with the code in the tutorial or the
build script (since I added a package/folder does the Ant script need to be
told about this?) Using IDEA forces one to both learn Flex and the command
line build parameters, where Flex Builder 3 does not, if you create
something the compiler knows about it and it just works.
3. Furthermore I really don't want to use Ant at all with Flex I would
prefer to use Maven. My take on this is that IDEA is too dependent on Ant
with regards to its Flex support.

Can anyone help with the error reported above? I would like to be able to
finish the tutorial.

-Dave


7 comments
Comment actions Permalink

Hi,
The tutorial is out of date, there will be new one in nearest future.
We are also preparing several demos highlighting configuration of Flex
project covering Flex DS integration, they will be available shortly
after IDEA 8.1 release.
In the meaning time best thing to start is to get latest IDEA eap
version and use 'New project' wizard. For Flex development choose
special module type and specify Flex SDK location. After finishing the
wizard one would get working Flex 'Hello, World' application.

Dave Hoffer wrote:

There are some issues with this build (possibly all others) and with Flex
development. I'm an experienced Java (IDEA) developer moving to Flex. I
have been trying to evaluate IDEA for Flex using the online tutorial. There
are a number of problems, I thought I would give you some feedback so you
can make this better.

1. For the tutorial is old, it was written for IDEA # 7663. Some of the
screen shots don't show new content available in 8.x releases but its easy
to guess at the new options.
2. Step 4 shouldn't specify a directory for Java source as we can now
specify a Flex project.
3. After following the directions to paste code in the Application.mxml file
IDEA complains that 'mx.controls.Alert' is an unresolved type or variable
which is not correct. Plus IDEA should allow Alt-Enter to create import for
this.
4. One you follow the tutorial to create the MySamplePackage package with
Greeter class and then add the logic to use this in the main mxml file the
code will not compile anymore with the Ant script, it gives an error: Type
as not found or was not a compile-time constant: Greeter.

This is as far as I could get with the tutorial as I am not yet experienced
with Flex.

However I do have some general comments about using IDEA & Flex.
1. It seems you have good coding support, better than Adobe's Flex Builder 3
in my estimation.
2. Where IDEA really falls down is that you depend on Ant. Why? The
build/run process in Flex Builder 3 is much smother, and it works. In IDEA
I am stuck wondering if the problem is with the code in the tutorial or the
build script (since I added a package/folder does the Ant script need to be
told about this?) Using IDEA forces one to both learn Flex and the command
line build parameters, where Flex Builder 3 does not, if you create
something the compiler knows about it and it just works.
3. Furthermore I really don't want to use Ant at all with Flex I would
prefer to use Maven. My take on this is that IDEA is too dependent on Ant
with regards to its Flex support.

Can anyone help with the error reported above? I would like to be able to
finish the tutorial.

-Dave



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I got the latest EAP, and look forward to the new demos. I used the wizard
to create the Hello, world app.

After configuring a run/debug configuration to point to the generated
wrapper.html file I run the app. A blank page is displayed but the app's
one button is not displayed. Any idea?

-Dave


"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
message news:glnlae$u6u$1@is.intellij.net...

Hi,
The tutorial is out of date, there will be new one in nearest future.
We are also preparing several demos highlighting configuration of Flex
project covering Flex DS integration, they will be available shortly after
IDEA 8.1 release.
In the meaning time best thing to start is to get latest IDEA eap version
and use 'New project' wizard. For Flex development choose special module
type and specify Flex SDK location. After finishing the wizard one would
get working Flex 'Hello, World' application.

>

Dave Hoffer wrote:

>> There are some issues with this build (possibly all others) and with Flex
>> development. I'm an experienced Java (IDEA) developer moving to Flex. I
>> have been trying to evaluate IDEA for Flex using the online tutorial.
>> There are a number of problems, I thought I would give you some feedback
>> so you can make this better.
>>
>> 1. For the tutorial is old, it was written for IDEA # 7663. Some of the
>> screen shots don't show new content available in 8.x releases but its
>> easy to guess at the new options.
>> 2. Step 4 shouldn't specify a directory for Java source as we can now
>> specify a Flex project.
>> 3. After following the directions to paste code in the Application.mxml
>> file IDEA complains that 'mx.controls.Alert' is an unresolved type or
>> variable which is not correct. Plus IDEA should allow Alt-Enter to
>> create import for this.
>> 4. One you follow the tutorial to create the MySamplePackage package with
>> Greeter class and then add the logic to use this in the main mxml file
>> the code will not compile anymore with the Ant script, it gives an error:
>> Type as not found or was not a compile-time constant: Greeter.
>>
>> This is as far as I could get with the tutorial as I am not yet
>> experienced with Flex.
>>
>> However I do have some general comments about using IDEA & Flex.
>> 1. It seems you have good coding support, better than Adobe's Flex
>> Builder 3 in my estimation.
>> 2. Where IDEA really falls down is that you depend on Ant. Why? The
>> build/run process in Flex Builder 3 is much smother, and it works. In
>> IDEA I am stuck wondering if the problem is with the code in the tutorial
>> or the build script (since I added a package/folder does the Ant script
>> need to be told about this?) Using IDEA forces one to both learn Flex
>> and the command line build parameters, where Flex Builder 3 does not, if
>> you create something the compiler knows about it and it just works.
>> 3. Furthermore I really don't want to use Ant at all with Flex I would
>> prefer to use Maven. My take on this is that IDEA is too dependent on
>> Ant with regards to its Flex support.
>>
>> Can anyone help with the error reported above? I would like to be able
>> to finish the tutorial.
>>
>> -Dave
>
>

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"



0
Comment actions Permalink

If I right click on the generated HelloWorld.mxml file and select run then
it does run & show however not in a browser rather it shows in a separate
Flash Player 9 app/window.

Alternately if I change the run/debug configuration to point to the already
generated swf file as the launch option it does the same thing (Flash Player
9 app/window).

So far I haven't figured out how to run in browser...

-Dave

"Dave Hoffer" <dhoffer6@gmail.com> wrote in message
news:glnnle$sag$1@is.intellij.net...
>I got the latest EAP, and look forward to the new demos. I used the wizard
>to create the Hello, world app.
>

After configuring a run/debug configuration to point to the generated
wrapper.html file I run the app. A blank page is displayed but the app's
one button is not displayed. Any idea?

>

-Dave

>
>

"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
message news:glnlae$u6u$1@is.intellij.net...

>> Hi,
>> The tutorial is out of date, there will be new one in nearest future.
>> We are also preparing several demos highlighting configuration of Flex
>> project covering Flex DS integration, they will be available shortly
>> after IDEA 8.1 release.
>> In the meaning time best thing to start is to get latest IDEA eap version
>> and use 'New project' wizard. For Flex development choose special module
>> type and specify Flex SDK location. After finishing the wizard one would
>> get working Flex 'Hello, World' application.
>>
>> Dave Hoffer wrote:
>>> There are some issues with this build (possibly all others) and with
>>> Flex development. I'm an experienced Java (IDEA) developer moving to
>>> Flex. I have been trying to evaluate IDEA for Flex using the online
>>> tutorial. There are a number of problems, I thought I would give you
>>> some feedback so you can make this better.
>>>
>>> 1. For the tutorial is old, it was written for IDEA # 7663. Some of the
>>> screen shots don't show new content available in 8.x releases but its
>>> easy to guess at the new options.
>>> 2. Step 4 shouldn't specify a directory for Java source as we can now
>>> specify a Flex project.
>>> 3. After following the directions to paste code in the Application.mxml
>>> file IDEA complains that 'mx.controls.Alert' is an unresolved type or
>>> variable which is not correct. Plus IDEA should allow Alt-Enter to
>>> create import for this.
>>> 4. One you follow the tutorial to create the MySamplePackage package
>>> with Greeter class and then add the logic to use this in the main mxml
>>> file the code will not compile anymore with the Ant script, it gives an
>>> error: Type as not found or was not a compile-time constant: Greeter.
>>>
>>> This is as far as I could get with the tutorial as I am not yet
>>> experienced with Flex.
>>>
>>> However I do have some general comments about using IDEA & Flex.
>>> 1. It seems you have good coding support, better than Adobe's Flex
>>> Builder 3 in my estimation.
>>> 2. Where IDEA really falls down is that you depend on Ant. Why? The
>>> build/run process in Flex Builder 3 is much smother, and it works. In
>>> IDEA I am stuck wondering if the problem is with the code in the
>>> tutorial or the build script (since I added a package/folder does the
>>> Ant script need to be told about this?) Using IDEA forces one to both
>>> learn Flex and the command line build parameters, where Flex Builder 3
>>> does not, if you create something the compiler knows about it and it
>>> just works.
>>> 3. Furthermore I really don't want to use Ant at all with Flex I would
>>> prefer to use Maven. My take on this is that IDEA is too dependent on
>>> Ant with regards to its Flex support.
>>>
>>> Can anyone help with the error reported above? I would like to be able
>>> to finish the tutorial.
>>>
>>> -Dave
>>
>>
>> --
>> Best regards,
>> Maxim Mossienko
>> IntelliJ Labs / JetBrains Inc.
>> http://www.intellij.com
>> "Develop with pleasure!"
>



0
Comment actions Permalink

Please, ensure Flash player plugins are installed in the browsers

Dave Hoffer wrote:

If I right click on the generated HelloWorld.mxml file and select run then
it does run & show however not in a browser rather it shows in a separate
Flash Player 9 app/window.

Alternately if I change the run/debug configuration to point to the already
generated swf file as the launch option it does the same thing (Flash Player
9 app/window).

So far I haven't figured out how to run in browser...

-Dave

"Dave Hoffer" <dhoffer6@gmail.com> wrote in message
news:glnnle$sag$1@is.intellij.net...

>>I got the latest EAP, and look forward to the new demos. I used the wizard
>>to create the Hello, world app.
>>
>>After configuring a run/debug configuration to point to the generated
>>wrapper.html file I run the app. A blank page is displayed but the app's
>>one button is not displayed. Any idea?
>>
>>-Dave
>>
>>
>>"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
>>message news:glnlae$u6u$1@is.intellij.net...
>>
>>>Hi,
>>>The tutorial is out of date, there will be new one in nearest future.
>>>We are also preparing several demos highlighting configuration of Flex
>>>project covering Flex DS integration, they will be available shortly
>>>after IDEA 8.1 release.
>>>In the meaning time best thing to start is to get latest IDEA eap version
>>>and use 'New project' wizard. For Flex development choose special module
>>>type and specify Flex SDK location. After finishing the wizard one would
>>>get working Flex 'Hello, World' application.
>>>
>>>Dave Hoffer wrote:
>>>
>>>>There are some issues with this build (possibly all others) and with
>>>>Flex development. I'm an experienced Java (IDEA) developer moving to
>>>>Flex. I have been trying to evaluate IDEA for Flex using the online
>>>>tutorial. There are a number of problems, I thought I would give you
>>>>some feedback so you can make this better.
>>>>
>>>>1. For the tutorial is old, it was written for IDEA # 7663. Some of the
>>>>screen shots don't show new content available in 8.x releases but its
>>>>easy to guess at the new options.
>>>>2. Step 4 shouldn't specify a directory for Java source as we can now
>>>>specify a Flex project.
>>>>3. After following the directions to paste code in the Application.mxml
>>>>file IDEA complains that 'mx.controls.Alert' is an unresolved type or
>>>>variable which is not correct. Plus IDEA should allow Alt-Enter to
>>>>create import for this.
>>>>4. One you follow the tutorial to create the MySamplePackage package
>>>>with Greeter class and then add the logic to use this in the main mxml
>>>>file the code will not compile anymore with the Ant script, it gives an
>>>>error: Type as not found or was not a compile-time constant: Greeter.
>>>>
>>>>This is as far as I could get with the tutorial as I am not yet
>>>>experienced with Flex.
>>>>
>>>>However I do have some general comments about using IDEA & Flex.
>>>>1. It seems you have good coding support, better than Adobe's Flex
>>>>Builder 3 in my estimation.
>>>>2. Where IDEA really falls down is that you depend on Ant. Why? The
>>>>build/run process in Flex Builder 3 is much smother, and it works. In
>>>>IDEA I am stuck wondering if the problem is with the code in the
>>>>tutorial or the build script (since I added a package/folder does the
>>>>Ant script need to be told about this?) Using IDEA forces one to both
>>>>learn Flex and the command line build parameters, where Flex Builder 3
>>>>does not, if you create something the compiler knows about it and it
>>>>just works.
>>>>3. Furthermore I really don't want to use Ant at all with Flex I would
>>>>prefer to use Maven. My take on this is that IDEA is too dependent on
>>>>Ant with regards to its Flex support.
>>>>
>>>>Can anyone help with the error reported above? I would like to be able
>>>>to finish the tutorial.
>>>>
>>>>-Dave
>>>
>>>
>>>--
>>>Best regards,
>>> Maxim Mossienko
>>>IntelliJ Labs / JetBrains Inc.
>>>http://www.intellij.com
>>>"Develop with pleasure!"
>>
>>




--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Yeah, I've been doing quite a lot of Flex evaluation lately, I've got
version 9.0 r124 installed in Firefox.

-Dave

"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
message news:glnpfu$480$1@is.intellij.net...

Please, ensure Flash player plugins are installed in the browsers

>

Dave Hoffer wrote:

>> If I right click on the generated HelloWorld.mxml file and select run
>> then it does run & show however not in a browser rather it shows in a
>> separate Flash Player 9 app/window.
>>
>> Alternately if I change the run/debug configuration to point to the
>> already generated swf file as the launch option it does the same thing
>> (Flash Player 9 app/window).
>>
>> So far I haven't figured out how to run in browser...
>>
>> -Dave
>>
>> "Dave Hoffer" <dhoffer6@gmail.com> wrote in message
>> news:glnnle$sag$1@is.intellij.net...
>>
>>>I got the latest EAP, and look forward to the new demos. I used the
>>>wizard to create the Hello, world app.
>>>
>>>After configuring a run/debug configuration to point to the generated
>>>wrapper.html file I run the app. A blank page is displayed but the app's
>>>one button is not displayed. Any idea?
>>>
>>>-Dave
>>>
>>>
>>>"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
>>>message news:glnlae$u6u$1@is.intellij.net...
>>>
>>>>Hi,
>>>>The tutorial is out of date, there will be new one in nearest future.
>>>>We are also preparing several demos highlighting configuration of Flex
>>>>project covering Flex DS integration, they will be available shortly
>>>>after IDEA 8.1 release.
>>>>In the meaning time best thing to start is to get latest IDEA eap
>>>>version and use 'New project' wizard. For Flex development choose
>>>>special module type and specify Flex SDK location. After finishing the
>>>>wizard one would get working Flex 'Hello, World' application.
>>>>
>>>>Dave Hoffer wrote:
>>>>
>>>>>There are some issues with this build (possibly all others) and with
>>>>>Flex development. I'm an experienced Java (IDEA) developer moving to
>>>>>Flex. I have been trying to evaluate IDEA for Flex using the online
>>>>>tutorial. There are a number of problems, I thought I would give you
>>>>>some feedback so you can make this better.
>>>>>
>>>>>1. For the tutorial is old, it was written for IDEA # 7663. Some of
>>>>>the screen shots don't show new content available in 8.x releases but
>>>>>its easy to guess at the new options.
>>>>>2. Step 4 shouldn't specify a directory for Java source as we can now
>>>>>specify a Flex project.
>>>>>3. After following the directions to paste code in the Application.mxml
>>>>>file IDEA complains that 'mx.controls.Alert' is an unresolved type or
>>>>>variable which is not correct. Plus IDEA should allow Alt-Enter to
>>>>>create import for this.
>>>>>4. One you follow the tutorial to create the MySamplePackage package
>>>>>with Greeter class and then add the logic to use this in the main mxml
>>>>>file the code will not compile anymore with the Ant script, it gives an
>>>>>error: Type as not found or was not a compile-time constant: Greeter.
>>>>>
>>>>>This is as far as I could get with the tutorial as I am not yet
>>>>>experienced with Flex.
>>>>>
>>>>>However I do have some general comments about using IDEA & Flex.
>>>>>1. It seems you have good coding support, better than Adobe's Flex
>>>>>Builder 3 in my estimation.
>>>>>2. Where IDEA really falls down is that you depend on Ant. Why? The
>>>>>build/run process in Flex Builder 3 is much smother, and it works. In
>>>>>IDEA I am stuck wondering if the problem is with the code in the
>>>>>tutorial or the build script (since I added a package/folder does the
>>>>>Ant script need to be told about this?) Using IDEA forces one to both
>>>>>learn Flex and the command line build parameters, where Flex Builder 3
>>>>>does not, if you create something the compiler knows about it and it
>>>>>just works.
>>>>>3. Furthermore I really don't want to use Ant at all with Flex I would
>>>>>prefer to use Maven. My take on this is that IDEA is too dependent on
>>>>>Ant with regards to its Flex support.
>>>>>
>>>>>Can anyone help with the error reported above? I would like to be able
>>>>>to finish the tutorial.
>>>>>
>>>>>-Dave
>>>>
>>>>
>>>>--
>>>>Best regards,
>>>> Maxim Mossienko
>>>>IntelliJ Labs / JetBrains Inc.
>>>>http://www.intellij.com
>>>>"Develop with pleasure!"
>>>
>>>
>>
>>
>
>

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"



0
Comment actions Permalink

Then please ensure you have debug version of Flash installed (there is
one in Flex SDK)

Dave Hoffer wrote:

Yeah, I've been doing quite a lot of Flex evaluation lately, I've got
version 9.0 r124 installed in Firefox.

-Dave

"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
message news:glnpfu$480$1@is.intellij.net...

>>Please, ensure Flash player plugins are installed in the browsers
>>
>>Dave Hoffer wrote:
>>
>>>If I right click on the generated HelloWorld.mxml file and select run
>>>then it does run & show however not in a browser rather it shows in a
>>>separate Flash Player 9 app/window.
>>>
>>>Alternately if I change the run/debug configuration to point to the
>>>already generated swf file as the launch option it does the same thing
>>>(Flash Player 9 app/window).
>>>
>>>So far I haven't figured out how to run in browser...
>>>
>>>-Dave
>>>
>>>"Dave Hoffer" <dhoffer6@gmail.com> wrote in message
>>>news:glnnle$sag$1@is.intellij.net...
>>>
>>>
>>>>I got the latest EAP, and look forward to the new demos. I used the
>>>>wizard to create the Hello, world app.
>>>>
>>>>After configuring a run/debug configuration to point to the generated
>>>>wrapper.html file I run the app. A blank page is displayed but the app's
>>>>one button is not displayed. Any idea?
>>>>
>>>>-Dave
>>>>
>>>>
>>>>"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
>>>>message news:glnlae$u6u$1@is.intellij.net...
>>>>
>>>>
>>>>>Hi,
>>>>>The tutorial is out of date, there will be new one in nearest future.
>>>>>We are also preparing several demos highlighting configuration of Flex
>>>>>project covering Flex DS integration, they will be available shortly
>>>>>after IDEA 8.1 release.
>>>>>In the meaning time best thing to start is to get latest IDEA eap
>>>>>version and use 'New project' wizard. For Flex development choose
>>>>>special module type and specify Flex SDK location. After finishing the
>>>>>wizard one would get working Flex 'Hello, World' application.
>>>>>
>>>>>Dave Hoffer wrote:
>>>>>
>>>>>
>>>>>>There are some issues with this build (possibly all others) and with
>>>>>>Flex development. I'm an experienced Java (IDEA) developer moving to
>>>>>>Flex. I have been trying to evaluate IDEA for Flex using the online
>>>>>>tutorial. There are a number of problems, I thought I would give you
>>>>>>some feedback so you can make this better.
>>>>>>
>>>>>>1. For the tutorial is old, it was written for IDEA # 7663. Some of
>>>>>>the screen shots don't show new content available in 8.x releases but
>>>>>>its easy to guess at the new options.
>>>>>>2. Step 4 shouldn't specify a directory for Java source as we can now
>>>>>>specify a Flex project.
>>>>>>3. After following the directions to paste code in the Application.mxml
>>>>>>file IDEA complains that 'mx.controls.Alert' is an unresolved type or
>>>>>>variable which is not correct. Plus IDEA should allow Alt-Enter to
>>>>>>create import for this.
>>>>>>4. One you follow the tutorial to create the MySamplePackage package
>>>>>>with Greeter class and then add the logic to use this in the main mxml
>>>>>>file the code will not compile anymore with the Ant script, it gives an
>>>>>>error: Type as not found or was not a compile-time constant: Greeter.
>>>>>>
>>>>>>This is as far as I could get with the tutorial as I am not yet
>>>>>>experienced with Flex.
>>>>>>
>>>>>>However I do have some general comments about using IDEA & Flex.
>>>>>>1. It seems you have good coding support, better than Adobe's Flex
>>>>>>Builder 3 in my estimation.
>>>>>>2. Where IDEA really falls down is that you depend on Ant. Why? The
>>>>>>build/run process in Flex Builder 3 is much smother, and it works. In
>>>>>>IDEA I am stuck wondering if the problem is with the code in the
>>>>>>tutorial or the build script (since I added a package/folder does the
>>>>>>Ant script need to be told about this?) Using IDEA forces one to both
>>>>>>learn Flex and the command line build parameters, where Flex Builder 3
>>>>>>does not, if you create something the compiler knows about it and it
>>>>>>just works.
>>>>>>3. Furthermore I really don't want to use Ant at all with Flex I would
>>>>>>prefer to use Maven. My take on this is that IDEA is too dependent on
>>>>>>Ant with regards to its Flex support.
>>>>>>
>>>>>>Can anyone help with the error reported above? I would like to be able
>>>>>>to finish the tutorial.
>>>>>>
>>>>>>-Dave
>>>>>
>>>>>
>>>>>--
>>>>>Best regards,
>>>>> Maxim Mossienko
>>>>>IntelliJ Labs / JetBrains Inc.
>>>>>http://www.intellij.com
>>>>>"Develop with pleasure!"
>>>>
>>>>
>>>
>>
>>--
>>Best regards,
>> Maxim Mossienko
>>IntelliJ Labs / JetBrains Inc.
>>http://www.intellij.com
>>"Develop with pleasure!"




--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Got a debug version, now the version is 9.0 r151. Same behavior using the
IDE, launching via the wrapper.html brings up empty new page. Right
clicking and running the generated HelloWorld.mxml file brings up the flash
player instead (but the app is there).

-Dave


"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
message news:glnquc$cf$1@is.intellij.net...

Then please ensure you have debug version of Flash installed (there is one
in Flex SDK)

>

Dave Hoffer wrote:

>> Yeah, I've been doing quite a lot of Flex evaluation lately, I've got
>> version 9.0 r124 installed in Firefox.
>>
>> -Dave
>>
>> "Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
>> message news:glnpfu$480$1@is.intellij.net...
>>
>>>Please, ensure Flash player plugins are installed in the browsers
>>>
>>>Dave Hoffer wrote:
>>>
>>>>If I right click on the generated HelloWorld.mxml file and select run
>>>>then it does run & show however not in a browser rather it shows in a
>>>>separate Flash Player 9 app/window.
>>>>
>>>>Alternately if I change the run/debug configuration to point to the
>>>>already generated swf file as the launch option it does the same thing
>>>>(Flash Player 9 app/window).
>>>>
>>>>So far I haven't figured out how to run in browser...
>>>>
>>>>-Dave
>>>>
>>>>"Dave Hoffer" <dhoffer6@gmail.com> wrote in message
>>>>news:glnnle$sag$1@is.intellij.net...
>>>>
>>>>
>>>>>I got the latest EAP, and look forward to the new demos. I used the
>>>>>wizard to create the Hello, world app.
>>>>>
>>>>>After configuring a run/debug configuration to point to the generated
>>>>>wrapper.html file I run the app. A blank page is displayed but the
>>>>>app's one button is not displayed. Any idea?
>>>>>
>>>>>-Dave
>>>>>
>>>>>
>>>>>"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
>>>>>message news:glnlae$u6u$1@is.intellij.net...
>>>>>
>>>>>
>>>>>>Hi,
>>>>>>The tutorial is out of date, there will be new one in nearest future.
>>>>>>We are also preparing several demos highlighting configuration of Flex
>>>>>>project covering Flex DS integration, they will be available shortly
>>>>>>after IDEA 8.1 release.
>>>>>>In the meaning time best thing to start is to get latest IDEA eap
>>>>>>version and use 'New project' wizard. For Flex development choose
>>>>>>special module type and specify Flex SDK location. After finishing the
>>>>>>wizard one would get working Flex 'Hello, World' application.
>>>>>>
>>>>>>Dave Hoffer wrote:
>>>>>>
>>>>>>
>>>>>>>There are some issues with this build (possibly all others) and with
>>>>>>>Flex development. I'm an experienced Java (IDEA) developer moving to
>>>>>>>Flex. I have been trying to evaluate IDEA for Flex using the online
>>>>>>>tutorial. There are a number of problems, I thought I would give you
>>>>>>>some feedback so you can make this better.
>>>>>>>
>>>>>>>1. For the tutorial is old, it was written for IDEA # 7663. Some of
>>>>>>>the screen shots don't show new content available in 8.x releases but
>>>>>>>its easy to guess at the new options.
>>>>>>>2. Step 4 shouldn't specify a directory for Java source as we can now
>>>>>>>specify a Flex project.
>>>>>>>3. After following the directions to paste code in the
>>>>>>>Application.mxml file IDEA complains that 'mx.controls.Alert' is an
>>>>>>>unresolved type or variable which is not correct. Plus IDEA should
>>>>>>>allow Alt-Enter to create import for this.
>>>>>>>4. One you follow the tutorial to create the MySamplePackage package
>>>>>>>with Greeter class and then add the logic to use this in the main
>>>>>>>mxml file the code will not compile anymore with the Ant script, it
>>>>>>>gives an error: Type as not found or was not a compile-time constant:
>>>>>>>Greeter.
>>>>>>>
>>>>>>>This is as far as I could get with the tutorial as I am not yet
>>>>>>>experienced with Flex.
>>>>>>>
>>>>>>>However I do have some general comments about using IDEA & Flex.
>>>>>>>1. It seems you have good coding support, better than Adobe's Flex
>>>>>>>Builder 3 in my estimation.
>>>>>>>2. Where IDEA really falls down is that you depend on Ant. Why? The
>>>>>>>build/run process in Flex Builder 3 is much smother, and it works.
>>>>>>>In IDEA I am stuck wondering if the problem is with the code in the
>>>>>>>tutorial or the build script (since I added a package/folder does the
>>>>>>>Ant script need to be told about this?) Using IDEA forces one to
>>>>>>>both learn Flex and the command line build parameters, where Flex
>>>>>>>Builder 3 does not, if you create something the compiler knows about
>>>>>>>it and it just works.
>>>>>>>3. Furthermore I really don't want to use Ant at all with Flex I
>>>>>>>would prefer to use Maven. My take on this is that IDEA is too
>>>>>>>dependent on Ant with regards to its Flex support.
>>>>>>>
>>>>>>>Can anyone help with the error reported above? I would like to be
>>>>>>>able to finish the tutorial.
>>>>>>>
>>>>>>>-Dave
>>>>>>
>>>>>>
>>>>>>--
>>>>>>Best regards,
>>>>>> Maxim Mossienko
>>>>>>IntelliJ Labs / JetBrains Inc.
>>>>>>http://www.intellij.com
>>>>>>"Develop with pleasure!"
>>>>>
>>>>>
>>>>
>>>
>>>--
>>>Best regards,
>>> Maxim Mossienko
>>>IntelliJ Labs / JetBrains Inc.
>>>http://www.intellij.com
>>>"Develop with pleasure!"
>>
>>
>>
>
>

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"



0

Please sign in to leave a comment.