Samples Not Working
-
- Posts: 20
- Joined: Sun Aug 29, 2010 2:56 am
- Location: Buffalo, NY
Samples Not Working
I am having trouble running the samples. For example when i click the View Document button in the View Document example i get:
// Create new report object
var report: StiReport = new StiReport();
// Load document from XML string
report.loadDocumentFromString(documentString);
// Show report in Viewer
report.show();
in the TextArea and not a report. This also happens on ViewReport and others. Odd that is actually displays the code for the function and not run the code. I must be missing something. Any help would be great.
// Create new report object
var report: StiReport = new StiReport();
// Load document from XML string
report.loadDocumentFromString(documentString);
// Show report in Viewer
report.show();
in the TextArea and not a report. This also happens on ViewReport and others. Odd that is actually displays the code for the function and not run the code. I must be missing something. Any help would be great.
Samples Not Working
Hello,
Please tell us what version of Flash Builder do you use to run the samples? Also tell us did you copy the Viewer and Designer components libraries (.swc files) to the libs folder of the project?
Thank you.
Please tell us what version of Flash Builder do you use to run the samples? Also tell us did you copy the Viewer and Designer components libraries (.swc files) to the libs folder of the project?
Thank you.
-
- Posts: 20
- Joined: Sun Aug 29, 2010 2:56 am
- Location: Buffalo, NY
Samples Not Working
Flash Builder 4.0.0.14159 and yes the swc are there.
Samples Not Working
Hello,
Please download the 2010.2 release of the product, we checked this issue on specified example - everything is working correctly.
Thank you.
Please download the 2010.2 release of the product, we checked this issue on specified example - everything is working correctly.
Thank you.
-
- Posts: 20
- Joined: Sun Aug 29, 2010 2:56 am
- Location: Buffalo, NY
Samples Not Working
It appears that i get an additional error when trying the samples. It deals with a Label. Is spark required when creating my project or can i just create a new project with MX only? The error i get when i call initialize on either StiViewerFx or StiDesignerFx is "Type was not found or was not a compile-time constant: Label".
-
- Posts: 20
- Joined: Sun Aug 29, 2010 2:56 am
- Location: Buffalo, NY
Samples Not Working
I found my answer. It appears that yes, the component set MX + Spark must be check.
Samples Not Working
Hello,
Yes, we use some features and components from the Spark library in our project. You must use the Spark library in project.
Thank you.
Yes, we use some features and components from the Spark library in our project. You must use the Spark library in project.
Thank you.
Samples Not Working
That happened to me when launching the application using Firefox. If I changed the web browser to IE (Windows -> Preferences -> Web Browser), it works fine.trademark16 wrote:I am having trouble running the samples. For example when i click the View Document button in the View Document example i get:
// Create new report object
var report: StiReport = new StiReport();
// Load document from XML string
report.loadDocumentFromString(documentString);
// Show report in Viewer
report.show();
in the TextArea and not a report. This also happens on ViewReport and others. Odd that is actually displays the code for the function and not run the code. I must be missing something. Any help would be great.
Samples Not Working
Hello,
We have tested the sample 02_ViewDocument on the Firefox browser version 3.6 with installed Flash Plugin version 10.1.102.64. Maybe you have an old version of Flash Plugin, please try to update it from the Adobe site: http://get.adobe.com/flashplayer/
Thank you.
We have tested the sample 02_ViewDocument on the Firefox browser version 3.6 with installed Flash Plugin version 10.1.102.64. Maybe you have an old version of Flash Plugin, please try to update it from the Adobe site: http://get.adobe.com/flashplayer/
Thank you.