Extending a component that uses mx:script
I have a Flex project whose main mxml file includes an mx:script block, which points to an external file. Although a good deal of the functionality of the application is abstracted into classes, a fair bit of the implementation such as UI element animation / interaction is inside the file pointed to by mx:script.
I now have to make an extension to the application, but don't want to copy-paste the script file. However as it is not a class, I can't just extend it, and I can't include it into another file and override its methods either. I could wrap the whole thing inside a class, but then I'll be forced to refer to stage components using this["componentName"] instead of just this.componentName, I also don't get code completion using this, and there are hundreds of places in the file I'd need to correct.
Has anyone run into the issue of trying to extend an mxml component like this? If so, how did you do it?
Ok so I read up on MXML documentation, and how that translates to a compiled .swf file, and found that functions and variables declared in the mx:script block are added to the application's class upon compile. With this, I reasoned that if I declared my old application as a custom class, and then inherited from that class with the new application, the new app would inherit everything from the old one... Didn't work. However, if instead of declaring a custom class for the old application, I instead declare a custom class for my new app that extends the old apps application NAME, stuff compiles. I'm getting some null pointer errors though, so not sure if something went tits up somewhere, will investigate.
Similar Messages
-
Revision: 12025
Revision: 12025
Author: [email protected]
Date: 2009-11-19 17:48:04 -0800 (Thu, 19 Nov 2009)
Log Message:
Switching out the old video component for the new video component that uses OSMF. Also fixing RSL issue with OSMF because a change in flex-config.xml accidentally got overwritten. Also fixing a bug caught during the last code review where you would set the volume on the VideoPlayer, but the volumeBar wouldn't be made aware of that change.
Switching out the video component results in many API changes. The changes are highlighted below:
Class name changes:
- spark.primitives.VideoElement is being renamed to spark.components.VideoDisplay
- spark.components.mediaClasses.StreamingVideoSource is renamed to park.components.mediaClasses.DynamicStreamingVideoSource
- spark.components.mediaClasses.StreamItem is renamed to park.components.mediaClasses.DynamicStreamingVideoItem
VideoDisplay/VideoPlayer event changes:
The new video component's events are:
- bytesLoadedChange : org.osmf.events.LoadEvent
- currentTimeChange : org.osmf.events.TimeEvent
- durationChange : org.osmf.events.TimeEvent
- mediaPlayerStateChange : org.osmf.events.MediaPlayerStateChangeEvent
The old video component's events were:
- close : spark.events.VideoEvent (removed)
- complete : spark.events.VideoEvent (replaced with mediaPlayerStateChange)
- metaDataReceived : spark.events.VideoEvent (replaced with mediaPlayerStateChange)
- playheadUpdate : spark.events.VideoEvent (replaced with currentTimeChange)
- progress : flash.events.ProgressEvent (replaced with bytesLoadedChange)
- ready : spark.events.VideoEvent (replaced with mediaPlayerStateChange)
VideoDisplay/VideoPlayer property changes:
Renames:
- maintainAspectRatio:Boolean has been renamed to scaleMode:String and rather than true/false, it now access 4 values: none, zoom, letterbox, and stretch. See the enum class org.osmf.display.ScaleMode.
- playheadTime:Number has been renamed to currentTime:Number
- playWhenHidden has been renamed to pauseWhenHidden, and it's "tense" has been reversed. So playWhenHidden = true correlates to pauseWhenHidden = false. Also, before we would only pause when the video component was explcitly set to visible=false, but now we detect if the video components or any of it's ancestors have been hidden.
- totalTime:Number has been renamed to duration:Number
New properties:
- bytesLoaded:Number This is a new property not available on the old video component
- bytesTotal:Number This is a new property not available on the old video component
- loop: Boolean this was a property added a while ago on the old video component but not in the original video player spec
- mediaPlayerState: this is a new property that details the state of the video component. See org.osmf.media.MediaPlayerState for all the possible values.
- seekToFirstFrame:Boolean (pending PARB approval) - This is a new property available on VideoDisplay/VideoPlayer. When autoPlay = false, if seekToFirstFrame is set to true, then we will connect to the server to start downloading the video, figure out the size of the video and resize appropriately, and show the first frame of the video. If seekToFirstFrame is false, then no connection to the server is made, there's no implicit size for this video, and the first frame will not be show automatically. By default the value of this property is true. In the old video component, when autoPlay = false, we always has the same behavior as seekToFirstFrame = true. Now it is controllable through this property. Eventually, (not for Flex 4.0), we will most-likely have support for a thumbnail source or a splash screen so the video's preview will show up without making an unneeded connection to the server. The property name may change depending on PARB.
Other changes:
- autoRewind: The default of autoRewind is now true instead of false
- enabled: before we paused the video when the video component was explicitly set to enabled = false. Now we pause the video when the video component or any of it's ancestors have been disabled.
VideoPlayer-only changes:
- videoObject:flash.media.Video property is now a new property on VideoPlayer. It was previously only on VideoDisplay.
- The skin states for the old VideoPlayer were: connectionError, disabled, disconnected, loading, playing, stopped, connectionErrorAndFullScreen, disabledAndFullScreen, disconnectedAndFullScreen, loadingAndFullScreen, playingAndFullScreen, stoppedAndFullScreen. The new skin states are: uninitialized, loading, ready, playing, paused, buffering, playbackError, disabled, uninitializedAndFullScreen, loadingAndFullScreen, readyAndFullScreen, playingAndFullScreen, pausedAndFullScreen, bufferingAndFullScreen, playbackErrorAndFullScreen, disabledAndFullScreen
DynamicStreamingVideoItem property changes:
- bitRate:Number renamed to bitrate:Number
DynamicStreamingVideoSource property changes:
- initialIndex has been added to DynamicSteramingVideoSource
- live:Boolean has changed to streamType:String which accepts values: live, recorded, any. See the enum class org.osmf.net.StreamType for more info.
- serverURI:String renamed to host:Object
- streamItems:Array has changed types to streamItems:Vector.
ScrubBar property changes (THESE CHANGES ARE NOT DONE YET, BUT SHOULD BE DONE SOON)
- bufferedStart will be removed
- bufferedEnd will be renamed to loadedRangeEnd. This property name still may change depending on PARB.
- bufferedArea skin part needs to be renamed. Probably will be renamed to loadedArea. PARB still deciding.
QE notes: -
Doc notes: -
Bugs: -
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: Yes
Modified Paths:
flex/sdk/trunk/frameworks/flex-config.xml
flex/sdk/trunk/frameworks/projects/spark/defaults.css
flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as
flex/sdk/trunk/frameworks/projects/wireframe/build.xml
flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mx ml
flex/sdk/trunk/frameworks/spark-manifest.xml
Added Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin.mxml
Removed Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer2.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamItem.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamingVideo Source.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.png
flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin.mxml
flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin2.mxmlI've got that same problem: iPod Touch 2nd Gen, Apple Component Cables, and an HD TV.
The funny thing is, the cable works fine with an iPod Classic (160 GB) but not for the iPod Touch. Can anyone explain why that is? -
Changing tab name in one component that used in different applications -FPM
Hi gurus,
I have an FPM component configuration, which have different tabs.
This component i have used in different applications.
I just want to know how can I dynamically change the name of one tab in different applicatins?
I want to change only the tab name. content in the tab is same.
For eg. If I open a Bid from Rfx, it should show "Rfx Information" as one tab name. But if i open a bid from Auction, it should show 'Auction Information'.
Content in this tab is same.
Is there any way to do that? Or shall I create different component config. for bid to use in Auction application and another one for RFx application?
Thanks,
PoduvalHi, 3Sherill3. This may help:
http://www.macupdate.com/info.php/id/16620 -
Concat apps that use Apple Script
I have been using Split and Concat 2.5 for joining downloaded files. Around the time I upgraded to OS10.4.9 it began to refuse to open; instead the dock icon just bounced a few times and stopped. I tried the Application, but it still would not open. Similar symptoms were observed with MacHacha (all versions to 3.2) and Catenator 1.1.0. I reloaded the original programs, deleted what preferences I could find, and repaired permissions, all to no avail. JigSaw works OK, so I suspect the issue is with Apple Script. Any suggestions?
Thanks,
Geoff
Mac OS X (10.4.10)This is what the logs for Split and Concat and MacHacha read:
2007-07-19 19:24:18.307 MacHacha[813] CFLog (21): Error loading /Users/geoff/Library/QuickTime/YV12ImageDecompressor.qtx/Contents/MacOS/YV12Ima geDecompressor: error code 4, error number 0 (Library not loaded: /Library/Frameworks/YV12ImageDecompressorGlue.framework/Versions/A/YV12ImageDec ompressorGlue
Referenced from: /Users/geoff/Library/QuickTime/YV12ImageDecompressor.qtx/Contents/MacOS/YV12Ima geDecompressor
Reason: image not found)
2007-07-19 19:25:43.201 Split&Concat[817] CFLog (21): Error loading /Users/geoff/Library/QuickTime/YV12ImageDecompressor.qtx/Contents/MacOS/YV12Ima geDecompressor: error code 4, error number 0 (Library not loaded: /Library/Frameworks/YV12ImageDecompressorGlue.framework/Versions/A/YV12ImageDec ompressorGlue
Referenced from: /Users/geoff/Library/QuickTime/YV12ImageDecompressor.qtx/Contents/MacOS/YV12Ima geDecompressor
Reason: image not found)
It seems that QuickTime is an issue but I am not sure what this all means. Thanks for your suggestion and any explanation would be more than welcome.
Geoff -
Extending a class that uses Generics
I'm trying to create a TableModel where the model deals with rows of data. Each row must be of the same "type", hence the need for generics. My RowTableModel is abstract. I'm trying to provide a concrete implentation for a model to use a List (ie. Vector or ArrayList) as the row type. But I can't figure out how to genericize the ListTableModel.
import java.util.*;
import javax.swing.table.*;
abstract class Row2TableModel<T> extends AbstractTableModel
protected List<T> modelData;
private List<String> columnNames;
private Class[] columnClasses;
private Boolean[] isColumnEditable;
public Row2TableModel(List<String> columnNames)
this(new ArrayList<T>(), columnNames);
public Row2TableModel(List<T> modelData, List<String> columnNames)
setDataAndColumnNames(modelData, columnNames);
// Implement the TableModel interface
public Class getColumnClass(int column)
return Object.class;
public int getColumnCount()
return columnNames.size();
public String getColumnName(int column)
return "something";
public int getRowCount()
return modelData.size();
public boolean isCellEditable(int row, int column)
return true;
// Example of custom methods
public T getRow(int row)
return modelData.get( row );
public void insertRow(int row, T rowData)
modelData.add(row, rowData);
fireTableRowsInserted(row, row);
protected void setDataAndColumnNames(List<T> modelData, List<String> columnNames)
this.modelData = modelData;
this.columnNames = columnNames;
columnClasses = new Class[getColumnCount()];
isColumnEditable = new Boolean[getColumnCount()];
fireTableStructureChanged();
class List2TableModel extends Row2TableModel
public List2TableModel(List<String> columnNames)
super(columnNames);
public List2TableModel(List<List> modelData, List<String> columnNames)
super(modelData, columnNames);
// Provide implementation of TableModel methods
public Object getValueAt(int row, int column)
List rowData = (List)getRow( row );
return rowData.get( column );
@SuppressWarnings("unchecked")
public void setValueAt(Object value, int row, int column)
List rowData = (List)getRow( row );
rowData.set(column, value);
fireTableCellUpdated(row, column);
}Hi,
You mean something like that in your impementation
class List2TableModel extends Row2TableModel<List<Integer>> {
public List2TableModel(List<String> columnNames) {
super(columnNames);
public List2TableModel(List<List<Integer>> modelData, List<String> columnNames) {
super(modelData, columnNames);
// Provide implementation of TableModel methods
public Integer getValueAt(int row, int column) {
List<Integer> rowData = (List<Integer>) getRow(row);
return rowData.get(column);
}Regards,
Alan Mehio
London,UK -
I have looked all over to find the "source" for the code produced by this widget. Where is it located, and how can I modify the widget?
Hi,
If you want to add fields to a list, as you have written your form in JavaScript, you can take consideration of using JavaScript Client Object Model to add/delete fields dynamically.
How to: Create, Update, and Delete Lists Using JavaScript
http://msdn.microsoft.com/en-us/library/office/hh185005(v=office.14).aspx
If you want to achieve it with Form7, it is recommended to post the question to its forum to get quick and confirmed answer.
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support -
Trouble with sites that use java scripts for downloading.
FF4 seems to do nothing when I hit the button to download a file.
IT does not freeze the application it just does nothing.
There is no response at all.
I am running FF4 on a Laptop w/
CPU Pent4 w/2Gb RAM
O/S: WP prof w/SP3
Many thanks
LITChI,
Pls, I'm happy to know u r using application server. I have just started reading enterprise bean.
But I could not set the path and some other configurations for it to start working.
Pls, I would be most grateful, if u could put me through on how to configure application server.
Right now, I'm in the state of dilemma due to the insufficient knowledge in it.
My email is [email protected]
Remain blessed -
Applescript: Problem Using Load Script File. Please Help :-!
My setup: file 1 is a script object and file 2 is the script that uses the script object in file 1. This seems straightforward, but I'm getting runtime errors when tryig to use the script object, whether looking at its properties or calling its handlers. The whole thing just doesn't work. What am I doing wrong?
Question 1: Is the 'load script' statement correct in file 2? It took forever and looking at many examples to not get an error in that statement. I don't understand why the path string is 'as alias'.
Question 2: When loading a script and specifying its path, is there a way to start with the current path (of the executing script file). All the scripts are stored together, but so far, I've only seen commands for absolute paths or user or desktop, etc. how can I get the path of the currently running script?
Question 3: Is the cURL syntax ok? I can't even get the script to run to that line, so I don't know if it will even execute.
Thanks a million, in advance.
Cheers,
Mark
File 1: this is the script library file
script AR_Redeye
-- IR Command URLs
property outside_lights_ON : "http://..."
property outside_lights_OFF : "http://..."
on do_command(command_url)
-- execute the url using cURL
set command_status to (do shell script "/usr/bin/curl -s -S " & command_url) as string
-- the url (when opened in a web browser) displays 'success' or 'fail'
return command_status
end do_command
end script
File 2: The script that calls the handlers in the library file
set arRedeye to load script (("Macintosh HD:Users:...:AR Redeye Class.scptd") as alias)
tell arRedeye to do_command("http://...")If I may indulge you again, I've cleaned up the scripts according to your advice and made progress, but I am still receiving the following errors:
Applescript Error:
«script» doesn’t understand the do_command message. (see below for where it occurs)
I also get an error for referencing a property of the script object.
Might you provide some insight as to why this is occurring?
Still a little confused.
Thanks,
Mark
=================================
-- File AR_Redeye.scptd
-- IR Command URLs
property outside_lights_ON : "http://redeye..."
property outside_lights_OFF : "http://redeye..."
property all_AV_OFF : "http://redeye..."
property airplay_all_rooms : "http://redeye..."
on do_command(command_url)
-- execute the url using cURL
set command_status to (do shell script "/usr/bin/curl -s -S " & (command_url as string)) as string
return command_status
end do_command
-- End file
==================================
-- Main Script File
tell application "Finder" to set appPath to container of (path to me)
set scriptPath to POSIX path of (appPath as text) & "AR Redeye Class.scptd"
set arRedeye to (load script scriptPath)
tell arRedeye to do_command(outside_lights_ON of arRedeye)
-- the above line returns an error: «script» doesn’t understand the do_command message.
-- also returns an error related to using the property outside_lights_ON of the arRedeye script object.
-- Main Script File End -
From an ItemRenderer, how can i reach the component that the Itemrenderer is applied on
Hello.
I have a component that uses a skin that uses several different item renderers.
in each item renderer i want to set a different background color according to a public variable that
the component that i apply the item render on has.
how can i reach that component from the ItemRenderer?
thanks!Usually outerDocument or parentDocument.
-
I have Photoshop CS6 Extended Students and Teachers Edition. when I go into the Filter/Oil paint and try to use Oil Paint a notice comes up "This feature requires graphics processor acceleration. Please Check Performance Preferences and verify that "Use Graphics Processor" is enabled. When I go into Performance Preferences I get a notice "No GPU available with Photoshop Standard. Is there any way I can add this feature to my Photoshop either by purchasing an addition or downloading something?
Does you display adapter have a supported GPU with at least 512MB of Vram? And do you have the latest device drivers install with Open GL support. Use CS6 menu Help>System Info... use its copy button and paste the information in here.
-
Problem with HP-UX extended procedures that use C++ Standard library
I am experiencing a problem with using the C++ standard library on HP-UX inside my extended procedures.
Here is the definition for the library and procedures:
-bash-3.2$ more nuhash2.sql
CREATE OR REPLACE LIBRARY xp_nuencryption_l
AS
'/home/jchamber/datasecure/lib/libxp_nuencryption.sl';
CREATE OR REPLACE PACKAGE xp_nuencryption
AS
PROCEDURE xp_nuhash2;
END xp_nuencryption;
CREATE OR REPLACE PACKAGE BODY xp_nuencryption
IS
PROCEDURE xp_nuhash2
IS EXTERNAL
LIBRARY xp_nuencryption_l
NAME "xp_nuhash2"
LANGUAGE C;
END xp_nuencryption;
Here is the PL/SQL test program:
-bash-3.2$ more testnuhash2.sql
SET SERVEROUTPUT ON SIZE 1000000
DECLARE
BEGIN
xp_nuencryption.xp_nuhash2 ();
END;
Here is the implementation of the extended procudure - notice how we are using the C++ Standard library:
-bash-3.2$ more xp_nuhash2.cpp
#include <string.h>
#include <iostream>
#include <fstream>
class MyException {
public:
MyException() {}
int func(std::ofstream& fout )
fout << "func: About to throw exception in func()" << std::endl;
throw MyException();
extern "C"
void xp_nuhash2 ()
std::ofstream fout("/home/jchamber/xp_nuhash2.txt");
try {
fout << "xp_nuhash2: About to call func()" << std::endl;
func(fout);
catch (MyException& ex) {
fout << "xp_nuhash2: caught MyException" << std::endl;
fout << std::flush;
fout.close();
Here is how we build the library on HP-UX:
# compile
aCC -g -AA DA2.0W DS2.0 +z -c xp_nuhash2.cpp -o xp_nuhash.o
#link using aCC
aCC -g -AA DA2.0W DS2.0 +z -b -o /home/jchamber/datasecure/lib/libxp_nuencryption.sl xp_nuhash.o \
/usr/lib/pa20_64/libstd_v2.a \
/usr/lib/pa20_64/libCsup_v2.a
chatr +dbg enable /home/jchamber/datasecure/lib/libxp_nuencryption.sl
Here is how we test:
SQL> @nuhash2
Library created.
Package created.
Package body created.
SQL> @testnuhash2
DECLARE
ERROR at line 1:
ORA-28576: lost RPC connection to external procedure agent
ORA-06512: at "JCHAMBER.XP_NUENCRYPTION", line 0
ORA-06512: at line 3
Now, if i use classic C++ (aCC -AP) it works. The trouble is, we have a lot of code that uses the Standard C++ library and we don't have the time to port it back to classic C++.
The problem seems to be with an incompatibility with the standard C++ library. What is the magic potion of linker and/or compiler switches that would enable my extended procedures to use the standard C++ library?
Here is the environment we are using:
Oracle 9i (64-bit)
HP UX 11.11
RegardsI am experiencing a problem with using the C++ standard library on HP-UX inside my extended procedures.
Here is the definition for the library and procedures:
-bash-3.2$ more nuhash2.sql
CREATE OR REPLACE LIBRARY xp_nuencryption_l
AS
'/home/jchamber/datasecure/lib/libxp_nuencryption.sl';
CREATE OR REPLACE PACKAGE xp_nuencryption
AS
PROCEDURE xp_nuhash2;
END xp_nuencryption;
CREATE OR REPLACE PACKAGE BODY xp_nuencryption
IS
PROCEDURE xp_nuhash2
IS EXTERNAL
LIBRARY xp_nuencryption_l
NAME "xp_nuhash2"
LANGUAGE C;
END xp_nuencryption;
Here is the PL/SQL test program:
-bash-3.2$ more testnuhash2.sql
SET SERVEROUTPUT ON SIZE 1000000
DECLARE
BEGIN
xp_nuencryption.xp_nuhash2 ();
END;
Here is the implementation of the extended procudure - notice how we are using the C++ Standard library:
-bash-3.2$ more xp_nuhash2.cpp
#include <string.h>
#include <iostream>
#include <fstream>
class MyException {
public:
MyException() {}
int func(std::ofstream& fout )
fout << "func: About to throw exception in func()" << std::endl;
throw MyException();
extern "C"
void xp_nuhash2 ()
std::ofstream fout("/home/jchamber/xp_nuhash2.txt");
try {
fout << "xp_nuhash2: About to call func()" << std::endl;
func(fout);
catch (MyException& ex) {
fout << "xp_nuhash2: caught MyException" << std::endl;
fout << std::flush;
fout.close();
Here is how we build the library on HP-UX:
# compile
aCC -g -AA DA2.0W DS2.0 +z -c xp_nuhash2.cpp -o xp_nuhash.o
#link using aCC
aCC -g -AA DA2.0W DS2.0 +z -b -o /home/jchamber/datasecure/lib/libxp_nuencryption.sl xp_nuhash.o \
/usr/lib/pa20_64/libstd_v2.a \
/usr/lib/pa20_64/libCsup_v2.a
chatr +dbg enable /home/jchamber/datasecure/lib/libxp_nuencryption.sl
Here is how we test:
SQL> @nuhash2
Library created.
Package created.
Package body created.
SQL> @testnuhash2
DECLARE
ERROR at line 1:
ORA-28576: lost RPC connection to external procedure agent
ORA-06512: at "JCHAMBER.XP_NUENCRYPTION", line 0
ORA-06512: at line 3
Now, if i use classic C++ (aCC -AP) it works. The trouble is, we have a lot of code that uses the Standard C++ library and we don't have the time to port it back to classic C++.
The problem seems to be with an incompatibility with the standard C++ library. What is the magic potion of linker and/or compiler switches that would enable my extended procedures to use the standard C++ library?
Here is the environment we are using:
Oracle 9i (64-bit)
HP UX 11.11
Regards -
I am enrolled in an online university program that uses Sakai. Fire Fox updated something that attaches computer script to my Word documents when I upload them. I use a PC and Word 2010
sigh...this is quite idiotic, but I have found a solution. It was quite simple, really, and yet quite idiotic. I share it for all those reading so that, if you know of anyone else that did what i did, you can easily be the "hero" in their lives.
After a continued search via youtube or what have you for any possible solutions, I kept coming back to the fact that I was told by my computer that I didn't have "permission" to do the file deletion. I stumbled upon a youtube video that talked about "unlocking", "locking", certain files and what not.
Long story short, the reason why I couldn't do anything to the files that were on my desktop was due to my "locking" the desktop folder. I must have done this a while back not knowing what I was doing nor the ramifications of clicking a simple box.
I undid this by:
Opening Up Finder
then, going to MacHD --> Users --> My Account Folder
clicking on Desktop Folder, I "cmd+I"
I then, unclicked the "locked" option
I went down to the cog/settings and selected "Apply to enclosed items"
resulting then in having all my files on my desktop free accessiblity and delete-ability....
oi...at least I now know what "locking" a folder (even the desktop folder) can do to other files held within it -
Revision: 5029
Author: [email protected]
Date: 2009-02-20 16:10:37 -0800 (Fri, 20 Feb 2009)
Log Message:
Extending the mxmlc warning to apply to any application that uses a type selector (i.e. not a universal selector) in the subject when the
QE: If we could create a negative test cases for the warning that'd be great.
Doc: Not yet, this will be captured in the Advanced CSS spec.
Checkintests: Pass
mustella: Advanced CSS, Button, MenuBar all Pass
Reviewer: For Paul.
Bugs:
SDK-19272 - [Advanced CSS] Pseudo selectors shouldn't be allowed in mxml components
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19272
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.javaThanks for the crash log It looks like you have AIR 3.2 installed. Could you try updating to 3.3 and generate another log?
http://get.adobe.com/air -
How can I use an activeX component that has no creatable objects
I have got an activeX component that I want to use with LabVIEW. When I want to access that activeX component via LabVIEW I see no creatable objects from that component. If I select one of the non creatable objects, everything seems to be fine and I can build my application. I can see all properties and methods of the object as expected. But when I start the application it fails with error 3005 saying 'object specified is not creatable...'. Does anyone know a solution for this problem?
Thanks
RainerDid you ever resolve your problem?
I am having exactly the same problem. I want to use labview 7.0 to control a 3rd party's application (which controls a lab instrument). I can see all the methods and properties I need, but only if I uncheck "show creatable objects only" on the relevant type library.
I have a working visual basic (as an xls macro) example of how to control the 3rd party application and it uses the non-creatable objects quite happily.
But in the VB example VB first uses GetObject to connect to a running instance of the 3rd party's application using GetObject. As I understand it, this checks the Running Object Table (ROT) to return an interface pointer.
"COMNAME" in the GetObject (, COMNAME) used in the VB application I can see listed in the Windows registry, but cannot find it (and I have looked!) anywhere in the "select object from type library" navigation dialog window.
I think it is because they are dependant objects, but how to I generate an automation refnum for them if I can't find the higher level object? Perhaps I should use CINs? -
when extending my wifi network using an Extreme as my main and an Express to extend.. does it help to make sure that both devices are on the same channel or does it even make a difference if they are on different channels?
Have you even tried the process in which i have described in my previous post?
Yes, many times. If you are setup to "extend a wireless network, the screen looks like this:
If you click the Wireless Options button, the screen looks like this:
Where is it on this screen that you see a setting to adjust the channel? It sounds like you are confusing "create a wireless network"....which does allow you to adjust channels.....with "exend a wireless network" which does not.
Normally, when you extend a wireless network, AirPort Utility used to always assign the same channel to the extending device. That is no longer the case. It might be the same, or it might be different. You have no control over this, so you have to accept what AirPort Utility thinks is best.
Maybe you are looking for
-
CO-PA forms: how to add a column which is a ratio
Dear fellows, I'm trying to build a CO-PA form, which has "Product Quantity" (among other several other CO-PA value fields) as a line in the first column. In the second column, I'd like to have each of the other lines (eg. Sales Value, Discounts, etc
-
Rfc(Syn)- BPM- JDBC connection breaks for job in 2Hrs
Hi All, I have a scenario Rfc(Syn)->BPM->JDBC. Problem i am facing is after 2Hr of execution of scenario. SAP & XI connectivity breaks down. But to process full data it requires 5-6Hr connectivity because store procedures taking time(for 500 records)
-
Which Objects should I target for integrating Eloqua REST API 2.0?
Which Objects should I target for integration? and What are the possible use cases for the additional objects other than core objects?
-
Was having problems with Flash not playing some videos on my MacPro. They worked fine on my MacBookPro. Uninstalled Flash, using the supplied Adobe uninstaller and tried to re-install. I get an error message showing a newer version exists on the syst
-
How to add just songs I don't already have?
I use Itunes for my iphone from my windows laptop. I have about half my music on itunes so far, and have a USB drive with all my songs (mp3) which is all I have on the laptop plus way more. How can I add just the songs that are NEW to itunes?