Preloader advancing to frame to quickly
I have 5 scenes in my fla so far. When I load my preloader
the dynamic text shows the percentage and when it gets to about 60%
(which is when the home scene is finished loading) it advances to
the home page while still loading the following scenes. I need to
figure out how to get it to load all scenes before advancing to my
home page. Thanks in advance for the advice.
Also, here is my link to it:
http://lilmansgraphics.bravehost.com/.
It isn't nearly completed because I can't get past this
loading-bar problem. Also i tried putting everything in one scene
and it still advanced when there was only 60% of it loaded.
Edit: Also taking out "gotoAndStop(percent);", didn't help
it.
Similar Messages
-
Advanced CAN Frame to Channel Conversion: Error with LV 8.5.1
Hello!
I´ve tried to read in a DBC-file with the "Advanced CAN Frame to Channel Conversion Example" on a LabVIEW 8.5.0 system and it works fine.
On a LabVIEW 8.5.1 System I get the error:
Scan From String (arg 6) in CAN FtoC Parse Channels and Mode.vi->CAN FtoC Parse CANdb Messages and Channels.vi->CAN Channel Data Import.vi
Does anybody know a solution for this error?
Thank you for your help,
demo66
regards,
demo66Hi!
It is a problem of localized decimal point.
In a german Windows, LabVIEW will use Komma as decimal point.
So the Scan From String.vi will convert string 0,21 in a double but not 0.21. From the file dbc you receive the values with period "." that's why it create the error 85.
You have 2 possibilities: change the localized decimal point in LabVIEW (Tools -> Options) or you say to the Scan From String.vi to use "." as a decimal point.
Go to CAN FtoC Parse Channels and Mode.vi and search the 2 Scan From String.vi
Add at the beginning of the Format String %.; so that the format String will use the "." as decimal point (see Attachement).
After that the example will work.
Best regards
Ken
Attachments:
Scan From String.jpg 51 KB -
Use preloader for individual frames?
I have followed this video on how to build a preloader and I was able to incorporate it into my own site. Now, I'm wondering now how to build a preloader for individual frames. For example, I have a link called "Videos" that, when clicked, jumps to frame 10. This is where I have all the videos visible in the main content area of my site. However, I'd like to add a preloader so that as the videos load, visitors can see the progress. Is there a way I can reuse the preloader.swf file I have already built for individual frames of my main site?
Here is the code for the preloader.swf file which consists of a single dynamic text field located in the center called preloaderTxt:
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
l.load(new URLRequest("WebsiteTest.swf"));
function loop(e:ProgressEvent):void
var perc:Number = e.bytesLoaded / e.bytesTotal;
preloaderTxt.text = Math.ceil(perc*100).toString() + "%";
function done(e:Event):void
removeChildAt(0);
preloaderTxt = null;
addChild(l);(1)Java class name should begin with a capital letter. See: http://java.sun.com/docs/codeconv/
JButton save = new JButton("Save");
JButton save2 = new JButton("Save and add another");
// ... etc. ...(2)Don't redeclare class members in a method as its local variable. Your class members become eternally null, a hellish null.
how to make them work when clicked on(3)Add action listener to them. -
ok,so this is probably a stupidly simple fix, BUT - i have tinkered with it for a few hours now and im getting no where....
i have my site tween in a graphic ( my logo ), and then the preloader pops up......
the preloader is on frame 15 inside its own MC....
inside the MC is another MC named loadBar, and here is the code:
function loadProgress(root:ProgressEvent):void {
var percent:Number = Math.floor( (root.bytesLoaded*100)/root.bytesTotal );
loadBar.width = percent * 3;
function loadComplete(e:Event):void {
loadBar.width = 300;
MovieClip(root).gotoAndPlay("begin");
loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
loaderInfo.addEventListener(Event.COMPLETE, loadComplete);
now, if you have the MC that has the preloader on frame 1, it works....but since its on frame 15, its not doing anything.....
what am i overlooking? im sure this question is on the newbie level - any help or direction is appreciated...
as always - thanks!
wr3ckyou're not out of luck.
there's just no point to having a preloader appear long after everything's loaded. you can use the following if it makes you feel better:
var t:Timer=new Timer(500,1);
t.addEventListener(TimerEvent.TIMER,f);
t.start();
function f(e:Event){
MovieClip(root).gotoAndPlay("begin");
function loadProgress(e:ProgressEvent):void {
var percent:Number = Math.floor( (e.bytesLoaded*100)/e.bytesTotal );
t.stop();
loadBar.width = percent * 3;
function loadComplete(e:Event):void {
loadBar.width = 300;
MovieClip(root).gotoAndPlay("begin");
this.parent.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);this.parent.loaderInfo.addEventListener(Event.COMPLETE, loadComplete); -
Problems removing Advanced Pulldown frames
I'm relatively new to 24PA, until now, I have captured quite a few projects now without any problems. The footage is always shot DVCPRO 50, I use the Panasonic AJ-SD93 Deck to capture the footage, selecting "remove advanced pulldown frames" in the FCP capture settings, and end up with great 23.98 progressive advanced footage.
The most recent project I've been working on, we received tapes that were shot by the same production group, same settings, same camera, and I was capturing with the same deck, same FCP settings, etc...however, after capturing, the files were not 23.98, but 29.97 (as a test, I captured from tapes in a previous project, it immediately came in as 23.98).
I tried to solve the issue after the fact by selecting the "Remove Advanced Pulldown" selection in the tool menu and received the error message *"File does not contain frames encoded using Advanced Pulldown".*
The 29.97 footage, based on my knowledge, seemed to indicate that it was, in fact, 24PA. For two reasons, one - every fifth frame in the 29.97 footage was a "split" frame, and two, breaking the footage down into fields, it seemed to have the 2-3-3-2 cadence associated with 24PA. However, for whatever reason, Final Cut could not find the cadence.
Why might this be?
I'd appreciate any informed opinions, but I can say that my guess is it has something to do with timecode and timecode breaks. The footage had an awful lot of timecode breaks and the timecode was being forced. I am wondering if this has something to do with why FCP could not pick up the cadence in the footage. (The only other variable that changed from previous successful 24PA projects is that these tapes were dubbed, and perhaps the dub house - which has shown itself prone to the occasional mistake - messed something up, but in this instance, don't see any evidence of that.)
Ultimately - I worked around the issue just fine, but it only makes matters more confusing, I brought the footage into Cinema Tools and did a Reverse Telecine (3:2 pulldown) and the footage turned it into clean-looking 23.98 progressive footage. Like I said before, analyzing the footage appeared to reveal that it was certainly 24PA with a 2-3-3-2 cadence and not 24P with a 2-3-2-3 cadence.
Any thoughts are welcome, thanks -Just a thought: if the dub house made the dubs over SDI or analog, then the 24PA "flags" that were on the originals were likely not retained. That may be why FCP isn't seeing the pulldown cadence. I believe the only way to retain those advanced pulldown flags is to dub via firewire.
You can try capturing at 29.97 and running the files through Cinema Tools. Or see if the production company can send you the camera originals.
Jay -
PS3 Extended - keyboard shortcut for advancing one frame?
HI,
I just can't find any keyboard shortcut to advance one frame forward/backwards while working with a video file in PS3 Extended.
Would be very helpfull while painting, cloning etc.
Thanks,
MichalIn case, exporting single frames is your prefered share-option:
Open Prefs/Destinations
ctrl-click on 'Export actual frame'
set to 'Standard:
From now on, hit cmd-E to export the actual frame ...
And no '' here, this is a User2user board ... -
Advance one frame at a time. Quick question.
Hi, sorry for the really bad question but my keyboard does not have a page up and a page down button So what other short cut is there to do this? Is there a way I can assign my own shortcuts like FCP and Premiere? Thanks!...
These keyboard shortcuts are given in After Effects Help.
So is information about modifying keyboard shortcuts. -
Movie playback lags SMPTE counter, self-corrects when advance by frame
Recently playback of my QT movies has begun to lag the SMPTE counter by about 15 frames. At any given point when playback is stopped, the timecode burn in the QT reads appx 15 frame behind the SMPTE counter. Curiously, when I advance by 1 frame (using key command), or advance by measure, or jump to marker, pickup clock of region, etc., the video instantly snaps forward to the exact SMTPE code in the counter. Lag only occurs during playback. This actually makes the problem worse, because I can't merely change the start time of the movie to compensate.
I've been using Logic for years without any sync problems. The problem is not file specific — the same lag occurs in Logic sessions I did just weeks ago with no sync problem.
Any thoughts or insights much appreciated.Solved it – hope this helps someone else.
By moving (and saving elsewhere) my Logic preferences, I narrowed it down a preferences problem. Turned out to be my setting for plugin delay compensation – not an early suspect, given that it is for AUDIO. I had it set to "All", in order to eliminate the several frame shift rendered to my bounces when using the AdaptiveLimiter. After setting it to "audio tracks and instruments", the video lag ceased.
It will difficult to remember to change that setting every time I bounce a final mix, but at least the problem is solved. -
Preloader and splash frame?
I'm not sure how to approach this, but right now I have a
preloader before my movie starts - and it works great. But it also
works as a quick intro/splash screen. I'd also like it to remain on
the screen for at least 5 seconds. Right now when I test it on
high-speed internet it loads so fast that it doesn't give enough
time for visitors to read what it says.
Is there a way to make it remain on screen for at least 5
seconds - even if the movie has completely loaded?
I'm not sure how to approach this.here is a demo project set up similar to the main project having the problem.
https://dl.dropboxusercontent.com/u/154782/assetMultiProjectTestfield.zip
If you adjust the linkage on the directory ./export/normal/swc to external, on the web project it makes absolutely no difference. While in FB 4.6 or using ant build it is smaller and requires a swf to be loaded at runtime.
That being said, I am now in the process of seeing if the method we are trying to use will actually work, since the iOS packager refuses to make a release build if it cannot find the class definitions at compile time.
The idea is basically that the compiler uses external linkage to flash assets, and then depending if the device is retina or not it loads the appropriate swf. -
Possible to continuous advance video frame by frame?
In the prior program I was using I could do a frame by frame advance by holding down the arrow key (either forward or reverse). LR4 seems to want me to keep "pressing" the frame advance key for each frame (I am aware shift adavances by 10 but you still have to keep pressing repeatedly).
ThanksNot that I know of.
-
Preloader export to frame scenario
I decided to move my preloader to the main timeline of my SWF
instead of it's own scene in an attempt to simplify things. As
before, everything works fine other than the blank white screen for
about 15 secs and then the progress bar hitting the scene at about
50%. I see that this is a common surmountable issue. I am
preloading an embedded font component which is taking up a little
time. I tried to uncheck "Export in first frame" on the text
component in the library and loading classes in publish settings
into frame 2, (and also 3 when that didn't work, where the main
movie event takes place.) The preloader is a standard 2-Frame
breaking loop deal. Everything works great but my embedded font
doesn't load at all when I do this. Everything else works. However,
if I purposely comment out the embedded font for testing purposes,
the preloader appears on the scene at about 20% so I know that the
embedded font loading is bogging the preloader down. Of course I
would like the preloader to start as close to the beginning as is
possible as we all do. The font in question is in a nested movie
clip starting on it's own Frame 1 where I build the first text
field using AS. This embedded font is the only linkage "Export for
Action Script" in the entire SWF. I can't get my text fade-in/out
to work unless I use an embedded font. At least not the way that I
am doing it. Here is the code for the textfield:
//Create text field
onClipEvent( enterFrame ){
this.createTextField("textframe",this.getNextHighestDepth(),-92,-72,177,160);
textframe.wordWrap = true;
textframe.html = true;
textframe.htmlText = "<p align = 'center'> First text
string here. </center>";
textframe.embedFonts = true;
var textFieldFormat:TextFormat = new TextFormat();
textFieldFormat.font = "textFieldFont"; // embedded font
textFieldFormat.size = 16;
textframe.setTextFormat(textFieldFormat);
//End create text field
I use this exact chunk of code repeatedly on the timeline of
the movie clip and change the _alpha of the clip for the fade
effects and change the .htmlText property to change the textfield
itself after x amount of frames. Question is, How can I force my
preloader to load first and have the embedded font preload before
it is needed if not the way that I am doing it? Perhaps the movie
clip being nested is my problem? Or, do I need to add another frame
to the main timeline? This is all I need to wrap up my first SWF.
Once I nail this down and can actually begin to approach
"productiviosity". I know it's not a word, but it should be.I see that, I tested it online and the SWF locked on the
preloader. It's all good now, thank you. I will try to figure out
the preloader itself now. It seems that no matter what I do the
preloader progress bar appears at about 50%. Otherwise everything
is fine. If I uncheck "Export in first frame" on my embedded font
component and load classes into the 3rd frame where my main movie
starts on the 4th frame, my text never loads. I am going back to
school :) -
In FCPx I exported a 4min video with stats: 1920x822, 30fps, mp4
And when I open it in quick time (X and 7) I've got drop frames during the playback. When I open whis video in VLC everythig is ok, very smooth video.
What the problem?
I've got iMac mid2011, 10.9.1 2,5GHz core i5, 12gb ram radeon 6750M 512 Mb.What the problem?
Basically, the QT Players are, in some respects, less efficient than the VLC Player as many users have frequenty complained. Unfortunately, this is normal. QT players are, by default, programmed to drop frames if they cannot keep up with the "full" rendering of data at the encoded throughput data rate while other players may lower rendering quality, drop fields, or drop alternate lines in the rendering of progressive frames to "keep up." Such strategies allow multimedia players to work on a very wide range of platforms with varied CPU clocking rates. If this bothers you, you might try encoding or transcoding your conttent more efficiently by either reducing the encoding dimensions or limiting the encoding data rate setting. Unfortunately, many "modern" MPEG-4 AVC encoders have the potential to create files with data rates as high as 720 Mbps and some users tend to use unrealistic "quality" settings for the content they create. For instance, the average BD is encoded with a data rate on the order of 20 Mbps (MPEG-4 AVC) to 30 Mbps (VC-1) while the same 1080 video may perceptually look just as well using anamorphic encoding with data rates in the 5 to 13 Mbps range and 720p versions can frequently play very well in the 1.6 to 3.5 Mpbs range. Such encodeing strategies. In short, lower data rates allow smoother playback and smaller files at the potential expense of quality. The question then becomes, "Which aspect is most important to you depending on the targeted use of your files?" -
Exporting Still Frames - A quicker Way?
Is there a way to sort of automate the export of still frames? I have cmd-e mapped to "Export QuickTime Conversion," but still every time I have to name the file and change the setting to "Still Frame." Is there a plug-in or script so that I can just hit one button on the timeline and have a still on my desktop or something. This is something that's bothered for a long time.
Thanks,
Madame PsychosisIn the viewer, set an in-out on the frame you want to export, drag from the viewer to a bin (creating a sub clip of sorts).
Do this for each frame you wan to export.
Select all clips in bin and export to compressor. Use compressor for the single frame setting and that should do the trick. -
Advanced CAN Frame to Channel Conversion Reference Example
Hi!
I wonder if any of you guys can help me converting this example into LV7.1.
The example is under:
http://zone.ni.com/devzone/cda/epd/p/id/5826
Thanks in advance!!!
Ogulcan
Solved!
Go to Solution.Ogulcan,
The example that you are asking for is built with a different version of the NI-RIO and Real-Time drivers. Downgrading this example would require a system with LabVIEW 8.5 or 8.6 with the most current RIO and Real-Time drivers, and a system with LabVIEW 8.0 and an older version of the RIO and Real-Time driver. It may also require a third system set up up LabVIEW 7.1 and even older versions of the RIO and Real-Time drivers. The changes in these drivers and the included VI's since LabVIEW 7.1 would also likely make this example not work with LabVIEW 7.1, which may be why it was posted for LabVIEW 8.5.
Eric K
Applications Engineering
National Instruments -
Advanced editing in iCal Quick add
when you double click a day in month view or drag a new event in week or day view, iCal auto-creates a new event for you. the only then editable in this is the name of the event however, is there a way that i can input a place and a time and specify which calendar to use while doing this, and not having to go into the edit menu?
podsorcerer,
FWIW, I have found FlexCal to be a useful addition for iCal.
;~)
Message was edited by: Ferd II
Maybe you are looking for
-
ClassNotFoundException trying to load classes in a .war file inside an .ear file
Hi. I've deployed an EJB2 enterprise app as an ear file on WebLogic 6 without errors. The ear file contains web app and ejb components in war and jar files. The web component is set to be the default web app in the confi
-
VAT for in-house training on non-VAT paying customer
Hi .. Newby here & hoping for a result ! I need to set up a sales order to cover the cost of some training provided in the UK for a customer billed-to in Sweden and therefore usually not subject to VAT. In this scenario, I am advised that VAT is paya
-
Pickup without Group Configuration
We're migrating from a CME environment to a CUCM6.1 environment. In CME it was possible to just hit Pickup, dial the extension and pickup the call that was ringing on the extension you just dialed. Is this possible in CUCM? I'm aware of the Group Pic
-
Incorrect exchange rate for Actual cost documents
Dear all experts, I have an actual cost documents which was created on 02.10.2006,it should be taking the value date for currency exchange as 01.09.2006,but it is taking 01. 04.2006 hence it resulting in picking wrong exchange rate.Any solution to
-
3rd time trying to download additional content for mainstage....takes 15-20 hours each time...then asks for my password/id for permission...starts installing and about 1/4 of the way..it dissapears and nothing is installed....confused and frustrated.