Newbie issue probably ?

Hi,
I was trying to play for the 1st time with flascc following https://github.com/adobe-flash/crossbridge/wiki/Using-C---code-for-path-finding-in-your-Ac tionScript-game to understand how to create a swc as I want to create an optimized version of the Math.sqrt() I could use in Flex.
The point is arriving at "Making the SWC more AS3 friendly" and creating a Flex 4.9.1 project when I type "flascc_", a lot of functions apprears in the list except the one created (move, createPather, etc...) I double checked I copy/paste all the code indicated.
So, I wonder, can I use the generated swc with other versions than SDK 4.7 ? If yes, how ?
I haven't been able to get the pathFinder.zip supposed to contain all the sample files, someone knows where I can get it ?
Thanks,
-Fred

Following the doc linked above, I had this error: [PathFinderAS3Project]: Error code: 1180: Call to a possibly undefined method flascc_createPather.
I created another swc for my custom MathUtil.squareRoot function but the result was the same, same kind of errors I mean with this as3api.cpp:
#include "MathUtil.h"
#include "AS3/AS3.h"
// First we mark the function declaration with a GCC attribute specifying the
// AS3 signature
////** flascc_createMathUtil **////
void flascc_createMathUtil() __attribute__((used,
    annotate("as3sig:public function flascc_createMathUtil():int"),
    annotate("as3package:com.doublefx.flascc_interface")));
void flascc_createMathUtil()
    // Create an instance of the Class
    MathUtil *result;
    result = (MathUtil *)new MathUtil();
    // Create int for the pointer into memory for this object instance
    AS3_DeclareVar(asresult, int);
    AS3_CopyScalarToVar(asresult, result);
    // return the pointer value of this object in memory
    AS3_ReturnAS3Var(asresult);
////** flascc_deleteMathUtil **////
void flascc_deleteMathUtil() __attribute__((used,
    annotate("as3sig:public function flascc_deleteMathUtil(self):void"),
    annotate("as3package:com.doublefx.flascc_interface")));
void flascc_deleteMathUtil()
    MathUtil *mathUtil = (MathUtil *) 0 ;
    AS3_GetScalarFromVar(mathUtil, self);
    delete arg1;
    AS3_ReturnAS3Var(undefined);
////** flascc_squareRoot **////
void flascc_squareRoot() __attribute__((used,
    annotate("as3sig:public function flascc_squareRoot(self, x:int):Number"),
    annotate("as3package:com.doublefx.flascc_interface")));
void flascc_squareRoot()
  int arg1 ;
  double result ;
    AS3_GetScalarFromVar(arg1, n);
  result = (double)sqrt(arg1);
    AS3_DeclareVar(asresult, Number);
    AS3_CopyScalarToVar(asresult, result);
    AS3_ReturnAS3Var(asresult);
So, I tried to go by Swig.
MathUtil .h:
class MathUtil {
public:
          double sqrt(int n);
swig.h:
#ifdef SWIG
#include <stdint.h>
#include "MathUtil.h"
%include "stdint.i"
%include "MathUtil.h"
#endif
Makefile:
all: check
          @echo "-------- MathUtil --------"
          @echo "-> Generate SWIG wrappers around the functions in the library"
  "$(FLASCC)/usr/bin/swig" -c++ -as3 -module MathUtil -outdir . -includeall -ignoremissing -o MathUtil_wrapper.c swig.h
          @echo "-> Compile the SWIG wrapper to ABC"
          $(AS3COMPILERARGS) -import $(call nativepath,$(FLASCC)/usr/lib/builtin.abc) -import $(call nativepath,$(FLASCC)/usr/lib/playerglobal.abc) MathUtil.as
          # rename the output so the compiler doesn't accidentally use both this .as file along with the .abc file we just produced
          mv MathUtil.as MathUtil.as3
          @echo "-> Compile the library into a SWC"
          "$(FLASCC)/usr/bin/g++" $(BASE_CFLAGS) MathUtil.abc MathUtil_wrapper.c MathUtil.cpp main.cpp -emit-swc=com.doublefx.flascc -o MathUtil.swc
          # @echo "-> Compile an example SWF that uses that SWC"
  "$(FLEX)/bin/mxmlc" -static-link-runtime-shared-libraries -compiler.omit-trace-statements=false -library-path+=MathUtil.swc swigdemo.as -debug=false -o swigdemo.swf
include ../Makefile.common
clean:
  rm -f *.swf *.swc *.abc *.bc MathUtil_wrapper.c MathUtil.as3
AsusFred@AsusFred-PC /cygdrive/d/Crossbridge_1.0.1/samples/MathOptim
$ make
-------- MathUtil --------
-> Generate SWIG wrappers around the functions in the library
"/cygdrive/d/Crossbridge_1.0.1/sdk/usr/bin/swig" -c++ -as3 -module MathUtil -outdir . -includeall -ignoremissing -o Math
Util_wrapper.c swig.h
-> Compile the SWIG wrapper to ABC
java  -jar D:/Crossbridge_1.0.1/sdk/usr/lib/asc2.jar -merge -md  -import D:/Crossbridge_1.0.1/sdk/usr/lib/builtin.abc -i
mport D:/Crossbridge_1.0.1/sdk/usr/lib/playerglobal.abc MathUtil.as
D:\Crossbridge_1.0.1\samples\MathOptim\MathUtil.as:100
Erreurá: DÚfinition class en doubleá: MathUtil.
public class MathUtil {
^
D:\Crossbridge_1.0.1\samples\MathOptim\MathUtil.as:103
Erreurá: DÚfinition class en doubleá: MathUtil.
public class MathUtil {
^
D:\Crossbridge_1.0.1\samples\MathOptim\MathUtil.as:109
Erreurá: RÚfÚrence ambiguÙ Ó la MathUtil
        public static function create():MathUtil {
                                        ^
D:\Crossbridge_1.0.1\samples\MathOptim\MathUtil.as:110
Erreurá: RÚfÚrence ambiguÙ Ó la MathUtil
                var obj = new MathUtil();
                              ^
4 errors found
Makefile:3: recipe for target `all' failed
make: *** [all] Error 1
So, I tried to manually removed the duplicated MathUtil class definition and force the make to continue but I had :
AsusFred@AsusFred-PC /cygdrive/d/Crossbridge_1.0.1/samples/MathOptim
$ make
-------- MathUtil --------
-> Generate SWIG wrappers around the functions in the library
#"/cygdrive/d/Crossbridge_1.0.1/sdk/usr/bin/swig" -c++ -as3 -module MathUtil -outdir . -includeall -ignoremissing -o Mat
hUtil_wrapper.c swig.h
-> Compile the SWIG wrapper to ABC
java  -jar D:/Crossbridge_1.0.1/sdk/usr/lib/asc2.jar -merge -md  -import D:/Crossbridge_1.0.1/sdk/usr/lib/builtin.abc -i
mport D:/Crossbridge_1.0.1/sdk/usr/lib/playerglobal.abc MathUtil.as
MathUtil.abc, 1397 bytes written in 2,942 seconds
# rename the output so the compiler doesn't accidentally use both this .as file along with the .abc file we just produce
d
mv MathUtil.as MathUtil.as3
-> Compile the library into a SWC
"/cygdrive/d/Crossbridge_1.0.1/sdk/usr/bin/g++" -Werror -Wno-write-strings -Wno-trigraphs MathUtil.abc MathUtil_wrapper.
c MathUtil.cpp main.cpp -emit-swc=com.doublefx.flascc -o MathUtil.swc
MathUtil_wrapper.c: In function ‘void _wrap_MathUtil_sqrt()’:
MathUtil_wrapper.c:160: error: ‘MathUtil’ was not declared in this scope
MathUtil_wrapper.c:160: error: ‘arg1’ was not declared in this scope
MathUtil_wrapper.c:160: error: expected primary-expression before ‘)’ token
MathUtil_wrapper.c:160: error: expected `;' before numeric constant
MathUtil_wrapper.c:165: error: invalid lvalue in asm output 0
MathUtil_wrapper.c: In function ‘void _wrap_new_MathUtil()’:
MathUtil_wrapper.c:183: error: ‘MathUtil’ was not declared in this scope
MathUtil_wrapper.c:183: error: ‘result’ was not declared in this scope
MathUtil_wrapper.c:185: error: expected primary-expression before ‘)’ token
MathUtil_wrapper.c:185: error: expected `;' before ‘new’
MathUtil_wrapper.c: In function ‘void _wrap_delete_MathUtil()’:
MathUtil_wrapper.c:198: error: ‘MathUtil’ was not declared in this scope
MathUtil_wrapper.c:198: error: ‘arg1’ was not declared in this scope
MathUtil_wrapper.c:198: error: expected primary-expression before ‘)’ token
MathUtil_wrapper.c:198: error: expected `;' before numeric constant
MathUtil_wrapper.c:203: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
MathUtil_wrapper.c:201: error: invalid lvalue in asm output 0
Makefile:3: recipe for target `all' failed
make: *** [all] Error 1
I hope I've been clear enought, any thoughts ?

Similar Messages

  • Olympus EM5 - profile issue (probably), raw file example provided

    Olympus EM5 - profile issue (probably)
    raw file in question, posted by somebody in dpreview forum = https://dl.dropbox.com/u/50147350/P8261159.ORF

    As evident from your screenshot, those letters are not blown in raw - there are only a few pixels where one of the channels (blue) is reaching saturation. However, that blue color is very saturated and is mostly falling outside output color space (which is usually sRGB or Adobe RGB) or in other words, your monitor isn't able to display that color
    Conversion from raw color space to output color space is done using profiles and can be colorimetric or perceptual. If conversion is colorimetric, colors outside output color space are simply clamped into the range (for instance RGB  -15, -30, 270 --> 0, 0, 255). If conversion is perceptual, colors that would fall outside color space are compressed into it (for instance it could be  -15, -30, 270 --> 10, 5, 253). In first case, colors inside output color space are 'correct', while those outside are wrong - less saturated and possibly with wrong hue. In the second case, colors outside color space are 'less wrong', but colors inside color space are also 'less correct', but overall result is mostly more pleasing to the eye. This compression is performed differently by each manufacturer.
    Each camera model has own set of profiles. Most simple profile is an 3x3 array named color matrix, used for this color conversion - it is embedded in ACR for all supported cameras and can be also written in raw file. It is colorimetric. Then there is Adobe standard profile for all supported cameras in form of dcp file. It is a combination of matrix and lookup table conversion, which is still close to being colorimetric (however, there are several versions). Other profiles that are emulating camera rendering are perceptual (on some cameras there is also one profile said to be colorimetric, for instance Faithful profile in Canon cameras). Unfortunately, there are no camera profiles for Olympus yet, so colorimetric conversion is the only option (ok, another option is using new version of sRGB profile and its perceptual rendering intent, but it is not possible directly in ACR).
    In this particular case, you can improve the look of those letters by moving saturation slider of blue primary (camera calibration tab) from 0 to about -15, which will modify color matrix used for conversion and desaturate whole blue range. Or do the similar thing with slider in HSL tab
    If PV2010 used, some of blown blue color turns violet. It's also a know issue, actually I also reported it several years ago, and is caused by usage of Photo pro color space as intermediate and some clamping of values in ACR workflow. In this case it may be corrected in calibration tab by moving blue hue slider a bit to left, which will change hues of blue range towards cyan.
    Etc. This area is quite complex, I'm familiar only with a small part of it, which I needed for making camera profiles

  • What am I doing wrong with this filter (counter/frequency issue), probably another newb question.

    I extracted the part of my VI that applies here.  I have a 6602 DAQ board reading a counter for frequency, using a Cherry Corp proximity sensor.  Getting a lot of noise and errant ridiculously high readings.  Speed of shaft which it's measuring is currently 2400rpm with one pulse per revolution so 40hz. 
    Trying to use the express filter VI to clean up the signal and ignore anything over, say, 45hz and under 35hz.  No matter what setting I choose I continually get the  20020 error, Analysis:  The cut-off frequency, fc, must meet:  0 <= fc <= fs/2.  I know this relates to sample period somehow, but for the life of me I can't understand what I'm doing wrong. 
    I used this VI without filtering on bench tests with a hand-drill and got perfect output every time.  Now it's on the machine and being erratic.  Any help here will ease my stress level significantly, thanks.
    VI attached
    Still confused after 8 years.
    Attachments:
    RPM.vi ‏92 KB

    Hello Ralph,
    I'm not sure about mounting your sensor to your rig, but I can provide a couple ideas about the filtering. Depending on the type of noise, the digital filters on the PCI-6602 could help eliminate the behavior you are seeing. If the noise manifests as a "glitches" or a bouncing signal, you could use another counter with a minimum period to help eliminate the noise. This concept is discussed in greater detail in this KnowledgeBase. I noticed that you are using NI-DAQmx; the practical application of the digital filters on the PCI-6602 in NI-DAQmx is discussed in this KnowledgeBase. A more detailed description of the behavior of these filters is provided in the NI-DAQmx Help (Start>>All Programs>>National Instruments>>NI-DAQ) in the book entitled "Digital Filtering Considerations for TIO-Based Devices".
    I also wanted to comment on your original post and explain why you were receiving error -20020. For convenience, I have copied the text of the error code below.
    Error -20020 occurred at an unidentified location
    Possible reason(s):
    Analysis:  The cut-off frequency, fc, must meet:  0 <= fc <= fs/2.
    I think you may have misunderstood exactly what the Filter express VI does. The Filter express VI takes a series of values in a waveform and performs filtering on those signals. So, it will look at a waveform made up of X and Y values and apply the defined filter to this waveform. Specifically in your application, the cut-off frequency (fc) is the Upper Cut-Off level that you specified in the Filter express VI; any frequency components of the waveform outside of the range you have defined will be filtered. The fs is the sample rate based on the data that you wire to the Signal input of the Filter express VI. In your VI, this data is coming from the DAQ Assistant. So, fs will be the sample rate of the DAQ Assistant and is associated with the rate at which points are acquired. The sample rate does NOT relate to the bandwidth of the signal, except that the Nyquist theorem tells us that the sample rate must be at least twice the signal bandwidth in order to determine periodicity of the signal. So, in this case, the sample rate of the DAQ Assistant would need to be at least double the high cut-off frequency.
    However, you are performing a frequency measurement using a counter. I think this is where the confusion comes in. For the frequency measurement using a counter, the DAQ Assistant returns a decimal value which represents the rate of the pulse train being measured by the counter. It does not return the actual waveform that is being read by the counter. It is this waveform that would be band-pass filtered to eliminate frequency content outside of the filter's bandwidth. Instead of the Filter express VI, I would recommend that you simply discard values that are outside the range you specify. I have modified the code you posted earlier to perform this operation. The image below shows the changes that I made; rather than using the Filter express VI, I simply compare the frequency to the "Low Threshold" and "High Threshold". I use a Case structure to display the value on if it is within the limits. Otherwise, I display a "NaN" value. I have also attached the modified VI to this post.
    Message Edited by Matt A on 09-04-2007 07:58 PM
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments
    Attachments:
    RPM (Modified).JPG ‏17 KB
    RPM (modified).vi ‏72 KB

  • Can no longer move or copy files between drives (not a newbie issue!)

    Copying and moving files between internal and external devices, and external to external devices is no longer working.
    *For the first time in my life, I get a "Circle with a Bar through it" when attempting to move or copy files.*
    This doesn't happen between the two internal drives at all (though I'm worried it might start). It happens between two HFS+J devices as well as HFS+J and FAT32 devices. I can delete files, create folders, and in some instances where things are acting funny, copy to, but not from the device. A noticed side effect that is now happening is that I can no longer move drive icons (CDs, DVDs, HDs) to their upper-right hand corner position on the desktop, if they didn't start there. They don't drop there, just staying where they originally sat (under a list of desktop shortcuts and files). It does not matter if the drives are USB or Firewire, and this never happened previous to about a month ago.
    I have done all the basic stuff -- verify/repair drives, reboot multiple times, mount & dismount, change connection ports, backed up-reformatted-and restored the smallest drive, fixed preferences (not at all relevant), Disk Warrior repair the devices, set all permissions to R/W, check all device related infos, researched on-line for a week... Nothing. I have even taken the devices to PCs, where they work perfectly, and as expected.
    This issue is apparently either a corruption, or a bug induced by Software Update, in the part of the system that handles files and file structures, or possibly the _USB and Firewire_ interfaces.
    I just need to know where all those relevant parts are in the system folders, so I can attempt to restore them from a backup previous to the last "Software Update," (to be sure. And to bring this one step closer to being solved).
    A system restore really is not an option, as that would require nearly two weeks of re-tweaking everything from the system to every piece of software included (updating the system about 10 times via software update, reinstalling 90% of the actual software packages... and then updating those multiple times, looking-up all the serials that get killed, etc.)
    I have to correct this fast, as we need to move the files from the work drives to the archive drives before we run out of room. So any help would be very appreciated... even if you only know where a few of the system components are located (it just might be one of those, causing the issue).
    ---TIA

    {The last link in this post is most relevant, except for your recent finding.}
    The reference was to the User permissions, per each; as when these
    become corrupted, the simple 'repair disk permissions' and other
    basic duties do not find an error with them. That is because there is
    nothing really wrong with them from that standpoint.
    Another odd error can happen if one is resizing partitions in an Intel
    based Mac, and also if one has or had a BootCamp partition and
    wanted to reclaim space. But not always. Thankfully, the only time
    I tried Windows on a Mac, the media install disc was corrupted so
    it just didn't happen. That was Virtual PC and Windows on PPC.
    Tiger brought with it the ability to non-destructively resize partitions.
    However, it was not thought to be successful in non-Intel based Macs.
    The discussion on that matter came up a few years ago, so someone
    has undoubtably tried that in a PPC and reported findings online.
    When file sharing between user-account created content runs amok,
    then the system(s) will not allow the content to be moved or shared.
    So, if any shared user-account created content (including drives
    initialized or handled without permissions ignored, clones wrong,
    etc) are not the problem, then how does one explain these wrong
    ful action circles-with-lines, or action disallowed warning symbols?
    There must be a simpler answer. Do you have cats which have
    access to your computers in the off-hours? They do keyboard.
    Some have been thought to have technical skills outside of the
    usual coy and cute play-acting people think they are limited to.
    I'm sticking to the cats theory for now; the time is 3:21AM here
    and I only am up to get a drink and look outside at +5°F. calm.
    Mac OS X 10.4 Help: I can't move or copy a file or folder
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh194.html
    • _Rearranging Files (and renaming them)_ InformIT: Mac OS X unleashed
    http://www.informit.com/library/content.aspx?b=MacOS_XUnleashed&seqNum=122
    It is good to have a backup for the backup; plus a backup Mac.
    Good luck & happy computing!
    { edited: was distracted }

  • Binding to Active Directory Problem. I am a Newb! probably something stupid

    Hey All,
    Trying to get my apple xsever to join our windows domain. I got it to bind and the user accounts show up on the machine but then it askes me to join it to the Active Directory Kerberos realm. I am confused.
    what i am trying to do is joint it to the windows domain for my admin account on the actual server and then set up local user accounts on the machine so when my mac users log in they authenticate using the local mac account and not the windows domain account. Does this make sense? From what i read macs authenticate using the local account before going to the windows account which is what i want. I am a total newb to this so forgive me for the stupid questions.
    cheers all,
    jess

    Hi
    set up the xserve as an Open directory Master
    will it place nice on the network
    with the rest of the windows servers that we have.
    There should be no problem in doing this. All you need to do is decide whether you want your Mac Server to run its own DNS Service or to use the existing DNS service being provided by the AD Server. Open Directory Master requires DNS Services running somewhere.
    i just want to have a mac studio of about 35 people be
    kind of an island within a sea of windows users. If
    there can be cross over there then fine.. but really
    i want the mac to work well with the apple server and
    if i can get the windows clients hooked up also then
    fine.
    There should be no problem with this.
    When you say studio do you mean a graphics design studio? Or are you talking about a video production studio? If the answer is yes to either one or both then perhaps a simple file server would do. An Open Directory Master is OK in this environment but your network needs to be up to job. Ideally gigabit ethernet certainly for video production and also if your studio are heavy photoshop users. You could get away with 100Base-T but with 35 heavy users editing files stored on the server as well as Home folders it may be a bit too much. If this is the situation in your studio you would be better placed working locally and saving the files back to the server at the end of the day. You would set up your users with names and passwords in the OD directory node. Your studio can use those account details to log on to the server to access share points but still work locally if they need to. If you start windows services on the mac server then there should be no reason for windows clients to access share points on the mac server as well. Be careful how you configure windows services as you already have existing PC servers on the network.
    As you have already stated your aim is to keep the macs completely separate from the PCs then consider connecting all your macs to a separate switch and have them running of a different IP address range and subnet mask. You could then use an intervening router to handle traffic between the two networks, this way you control cross platform access to shared resources. If you understand networks, routers etc then you should be able to accomplish this without too much trouble. Again searching the Server forums should give you plenty of ideas and advice on the best way to achieve what you want. As ever defining and deciding what you want you want the server to do is half the problem.

  • Export quality (THE most popular newbie issue in this forum?)

    Here it is (again)
    1.) I'm starting with the "DV NTSC 48kHz" Sequence Preset
    2.) Importing a clip: DV/DVCPRO - NTSC 720x480
    3.) Exporting: Quick Time Movie, Self-Contained, Current Settings.
    4.) Resulting QT movie looks softer than original footage
    -Why? Is footage getting re-compressed or something?
    -Should I always export using Uncompressed 10-bit?
    -I am only using a computer monitor. Would the quality loss be visible on an NTSC monitor as well?
    What's the definitive answer?
    thanks.
    G5 2.0Ghz dual   Mac OS X (10.4.3)  

    4.) Resulting QT movie looks softer than original footage.<<</div>
    Probably because you're viewing it on a computer monitor and the default QT quality setting for the file hasn't been reset to "High." With the file open in QT, hit 'command j' to bring up the movie's properties. Choose Video Track and then Quality to reset it. There's a drag-n-drop freeware script to perform this for you: http://www.versiontracker.com/dyn/moreinfo/macosx/14255
    -Why? Is footage getting re-compressed or something?-<<</div>
    Not unless you checked the box to re-compressed all frames when you exported.
    -I am only using a computer monitor. Would the quality loss be visible on an NTSC monitor as well?<<</div>
    No.
    -DH

  • Newbie issues

    Hello all, I just started using Final Cut and I would really appreciate some help with a few issues. I am trying to make a demo reel for animation, I have all my animation clips as quicktime files and one .tif image, my problems are:
    1. Why is the quality of the preview render so crappy? In the viewer window it looks great, but once I render it (and export it) it looks like garbage. Are there any settings I can change to up the finished quality?
    2. In one of the clips, the first few frames of audio are dropped out. I've tried re-importing it, re-making the clip and making sure that it wasn't overlapping anything else, but it still misses those few frames; even though it's fine in the viewer window.
    3. When I try to export using Quicktime Conversion the resulting file can't be read by any program.

    Here is a list of all the compression types that I can choose from;
    Animation
    Apple Intermediate Codec - Preset options are HDV 720p, HDV 1080i or "other"
    Apple Pixlet Video
    Apple VC H.263
    BMP
    Cinepak
    Component Video
    DV - PAL - Aspect Ratios are 4:3 or 16:9, Interlaced or Progressive
    DV/DVCPRO - NTSC - " "
    DVCPRO - PAL - " "
    DVCPRO50 - NTSC - " "
    DVCPRO50 - PAL - " "
    Graphics
    H.263
    H.261
    H.264
    JPEG 2000
    Motion JPEG A
    Motion JPEG B
    MPEG-4 Video
    Photo JPEG
    Planar RGB
    PNG
    Sorenson Video
    Sorenson Video 3
    TGA
    TIFF
    Uncompressed 10-bit 4:2:2
    Uncompressed 8-bit 4:2:2
    Video
    XVID
    None
    The frame rates I can choose from are 24, 25, 30, 48, 50 and 60
    The sound file was originally a .wav format.
    The other files in my project are animation clips exported in the same way as the clip I am having issues with.

  • Soundfont Newbie Issues

    So I am reasonably new to soundfonts, but I find that the vast majority of sf2 soundfonts I download don't work. Some do, which makes me think that the others are just busted, they are freebies after all, but it is literally like 4 to 1, non-working to working. Most do not show up in the EXS-24 menu at all, but a few do and just produce no sound. Is this about par for the course or am I doing something wrong?
    Also, I have a lot of files in other formats floating around my soundfont folder in wav and .bk format. Is there a thread on how to get these to work in Logic.
    Cheers!

    Here is a list of all the compression types that I can choose from;
    Animation
    Apple Intermediate Codec - Preset options are HDV 720p, HDV 1080i or "other"
    Apple Pixlet Video
    Apple VC H.263
    BMP
    Cinepak
    Component Video
    DV - PAL - Aspect Ratios are 4:3 or 16:9, Interlaced or Progressive
    DV/DVCPRO - NTSC - " "
    DVCPRO - PAL - " "
    DVCPRO50 - NTSC - " "
    DVCPRO50 - PAL - " "
    Graphics
    H.263
    H.261
    H.264
    JPEG 2000
    Motion JPEG A
    Motion JPEG B
    MPEG-4 Video
    Photo JPEG
    Planar RGB
    PNG
    Sorenson Video
    Sorenson Video 3
    TGA
    TIFF
    Uncompressed 10-bit 4:2:2
    Uncompressed 8-bit 4:2:2
    Video
    XVID
    None
    The frame rates I can choose from are 24, 25, 30, 48, 50 and 60
    The sound file was originally a .wav format.
    The other files in my project are animation clips exported in the same way as the clip I am having issues with.

  • 2 Newbie issues

    Hi,
     1st issue:
      I am trying to show multiple lines of texts,but it seems that the last character  it is shown on the next line,when it should be on the same line,but at the end of it.
    textBox1.Text = "A = [" + A + "]" ;
    textBox1.AppendText("A = [ "+A+"]" );
    textBox1.Text += Environment.NewLine;
    textBox1.Text += "answer = flipud(A)";
    textBox1.Text += Environment.NewLine;
    textBox1.Text += "B = [" + x + "]";
    textBox1.Text += Environment.NewLine;
    textBox1.Text += "C = flipud(B)";
    The result after I run this code: 
    "A = [ Separate the columns with a semicolon ";".
    ]    I want this square bracket at the end of the line above 
    answer = flipud(A)
    B = [1 2 3 4
    ]  same here
    C = flipud(B)"
    2nd issue:
    How can I overwrite a file that has been created?I used this code to create my file,but each time the user inserts a new value in the textbox,and saves it,it doesn't overwrite it.:
    string yesfile = "E:\\matrix.i";
    if (!File.Exists(yesfile))
    string matrix = textBox2.Text;
    System.IO.StreamWriter file = new System.IO.StreamWriter("E:\\matrix.i", true);
    file.WriteLine(matrix);
    file.Close();
    this.mainForm.Show();
    this.Close();
    else
    MessageBox.Show("Your matrix have been updated!");
    this.mainForm.Show();
    this.Close();
    Thank you!

    Hi Bogdan,
    I tried replicating your code, and was not able to.  What are your values for variables 'A' and 'x'?  There could be a new line character escape within the text or something, because here are my results.
    string A = "some text";
    string x = "some other text";
    textBox1.Text = "A = [" + A + "]";
    textBox1.AppendText("A = [ " + A + "]");
    textBox1.Text += Environment.NewLine;
    textBox1.Text += "answer = flipud(A)";
    textBox1.Text += Environment.NewLine;
    textBox1.Text += "B = [" + x + "]";
    textBox1.Text += Environment.NewLine;
    textBox1.Text += "C = flipud(B)";
    Which produces:
    A = [some text]A = [ some text]
    answer = flipud(A)
    B = [some other text]
    C = flipud(B)
    I would double check your string values, and ensure your textbox is set to multi-line and wide enough to contain the strings on a single line.
    For the second issue, you simply pass the correct parameter to overwrite the file as such:
    System.IO.StreamWriter file = new System.IO.StreamWriter("E:\\matrix.i", false);
    Best of luck.

  • Cross product Color Rendering Issue (probably not profiles)

    I can't yet figure this scene out:
    I use a grayscale tif file as a slide/theme background in Apple's Keynote. Since it's grayscale, it prints using only K ink from both Preview and when imported into an InDesign page.
    Since the grayscale serves only as background, completed slides are of course full of color elements on top of the background. Trouble is when I print to my color laser the background area prints in CMYK (and as a further test, when I print to an inkjet the background area prints in RGB or RGBK). This "quatra-toning" massively shifts the variously shaded K background to very blue-ish. (the images is of a piece of slate stone).
    This color shift persists no matter how I can figure to save the slides: using Keynotes export to save slides as jpgs, pngs, or tifs. It also persists when printing from screen captures (which I believe OS X saves as pngs by default). Yet *all* these formats show a nice grayscale slate background onscreen.
    I guess there's some color rendering, or color management, or both issue. I'm no color management maven, but I have used Bridge to set a suite-wide colorspace, and have used Photoshop to change the export files' colorspace as needed.
    What's the fix? TIA. Bart

    Bart,
    Why not try the Color Management forum: http://www.adobeforums.com/cgi-bin/webx?14@@.eea5b31
    Neil

  • A newbie issue

    hi guys, i'm a newbie and i'm in the middle of creating my
    first website.
    the page i created is composed of 1 table divided to 3
    sections but if you'll look at the page
    there is a distance between the sections.
    how do i eliminated this space ?
    you can see the page here.
    http://www.advantamovers.com/newsite/indexnew.html
    thanks
    Ron

    On Mon, 22 Jan 2007 10:26:43 +0000 (UTC), "kurnas69"
    <[email protected]> wrote:
    >The empty place on the left ?
    >that was to center the page.
    >told you i'm a newbie. is there a smart way for doing so
    not a smart way - rather old - use align="center" in the
    table tag.
    a better way would be with css - but ........
    You also need to put the size of the image. Best way if your
    not sure
    is to use the insert/ image menu
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Your Answer to all aviation needs</title>
    <style type="text/css">
    <!--
    body {
    -->
    </style>
    </head>
    <body>
    </head>
    <body>
    <div id="maintable">
    <table width="100%" border="0" align="centre"
    cellpadding="0"
    cellspacing="0" bgcolor="#FFFF33">
    <td ><img src="Main_Upper.gif"></td>
    <tr>
    <td ><img src="main_bottom_left.gif" ><img
    src="Main_Left.gif"></td>
    </tr>
    </table>
    </div><!-- end maintable -->
    </body>
    </html>
    </body>
    </html>
    ~Malcolm N....
    ~

  • Hub and spoke VPN issue - probably simple

    Hello,
    I setup a Hub & Spoke VPN configuration as a temporary solution to get phones working at a client with 5 Sites. 
    Site A: HQ and main PBX System - Cisco ASA 5520
    Sites B-E: Remote Sites with PBX systems with ASA 5505's
    I configured my crypto access-lists to allow all interesting traffic to/from all sites, and it's working for the most part. 
    Refer to this short discussion for further reference
    https://supportforums.cisco.com/message/4162268#4162268
    Recently the customer started saying sometimes the call forwarding between sites isn't working correctly.  Upon further testing, it seems that you have to ping to/from both ends of the Spokes before traffic will start passing through properly.
    E.g.
    Site B wants to talk to Site C
    I need to initiate a ping on Site B to Site C which fails
    Initiate a ping on Site C to Site B and the first packet drops, then the rest go through
    Initiate Ping on Site B to Site C and all works just fine.
    Traffic going to/from Site A to/from any remote site (Sites B-E) works fine 100% of the time.
    This is happening for all remote sites.  When traffic has been initiated on both ends, it works just fine, but after a specific timeout it appears to stop working.
    Probably something simple I'm missing.  Any help is greatly appreciated.
    (Also, kind of silly but I realize that I didn't need same-security-traffic on each spoke, correct?)

    The purpose of doing VPN is that you want 2 or more different networks seamlessly become line 1 common network. Your class B network having 192.168.0.0 and class C networks 192.168.10.0 are in the same network sine both are in the network 192.168.x.x network. Try to consider changing the Class B network into 192.169.0.0 or you can change the Class C network into 192.169.10.0.

  • Newbie issue: export a report and/or email

    The application in question is a patch management system. I would like to create a report with charts, basically design a special pages of statistics, that could be emailed out to a group of individuals on a daily or weekly basis, or, alternatively, have the page send to an external web site which auto-updates daily.
    The purpose of this is to provide an easy overview of critical information to upper management without them having to wade through all of the additional reports and information the whole application provides.
    Does anyone know of a fairly simple way to accomplish this?
    Thanks.

    polite bump

  • SDK Newbie issues....

    Hello All...
    I am new at SDK and am trying to develop a master data interface to store packaging types available to inventory.
    So far ive
    1. installed the IDE tools for VS 2005 and generated a sample project
    2. able to generate the interface in screen painter and link it to the VS solution.
    Next i need to bind data...
    for ex - (as im used to a conventional vb.net based coding practice) how to access the controls on the designed form, read the data values and post them to a table ?
    Basically, How to proceed ahead...

    Gautam,
    My suggestion to get up to speed on using the SDK is to review the SAP Business One SDK eLearning that is located here on SDN at ...
    https://www.sdn.sap.com/irj/scn/elearn?rid=/webcontent/uuid/0039e82a-fcd7-2a10-c380-b17f1e02b543 [original link is broken]
    ... specifically looking at the DI and UI API learning.
    Hope that helps,
    Eddy

  • Java newbie issues

    Hi, I have never programmed before but I am interested in JAVA.
    I downloaded the java SE jdk and followed the insyallation notes.
    I am trying out the Hello world application and I get this message when I try to run the javac command in my shell window.
    C:\java>javac HelloWorldApp.java
    +'javac' is not recognized as an internal or external command,+
    operable program or batch file.
    I am using a windows xp machine. I need help.

    This is kinda crazy..I haven't written one line of code and already dealing with errors.
    I started another command shell and got a different error. I will post the error and result of the set PATH command below.
    C:\Documents and Settings\Administrator>cd\
    C:\>set PATH
    PATH=C:\Program Files\Java\jdk1.6.0_04\bin;C:\Program Files\Java\jdk1.6.0_04\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    C:\>cd java
    C:\java>javac HelloWorldApp.java
    HelloWorldApp.java:6: cannot find symbol
    symbol  : class string
    location: class HelloWorldApp
    +public static void main(string[] args) {+
    +^+
    HelloWorldApp.java:7: package system does not exist
    system.out.println("Hello World!"); // Display the string.
    +^+
    +2 errors+
    what is responsible for this?

Maybe you are looking for

  • Icloud as storage for photos

    I wish to see my photos on the icloud and use it as the storage. How can i do this

  • Report for issuing componets to subcontracting materials

    Hi I am trynig to develop a report for issung components  to subcontacrting maerial as per our scenerio... every day we are creating purchase orders item cat L for subcontract material                                   then issue the materials agains

  • URGENT ! Help to printing contents of a panel (Plz Help me)

    hi guys, i developed a application which consists of lot of information on a panel, i am using print utilities and printing the panel but its printing only the visible part of the panel and its printing a single page. is there any way i can print the

  • How to list dependencies of stored procedure in a package in oracle

    hi gurus, can any body help me to solve the below issue? how to list dependencies of stored procedure in a package in oracle? advanced thanks...

  • Parallels and internet explorer

    Im in the military and need to access certain websites and programs from internet explorer with a smart card reader. I am unable to get them to work correctly with mac software. I love my mac and would like to use it for everything and am wondering i