[solved] vim ftplugin vim-latexsuite doesn't load changes with chars

Hello!
I'd like to use some european characters and I found this thread.
Unfortunately I still get "/mathbf{}" when I type the ã. (My problem is the ö but I think if I manage to have the ã it will work with ö...)
The second problem is that I have to press escape twice to go to normal mode in a .tex file.
(In the other files one press is enough.)
All these troubles happen only on my x86_64 desktop.
I have vim-latexsuit-svn 1106-1 on both laptop and desktop from the AUR.
On my i686 laptop everything works fine with the 'default' .vimrc advised in the vim-latexsuite-manual.
There is also a different mapleader for compiling by default. (Which is not as annoying as the ö problem.)
I also get the ö-trouble when I log in from the laptop to my desktop.
Why are there so much differences?
I only remember having put some "set winaltkeys=no" in the wrong files on my laptop before I understood where is the right place.
(Where everything works fine.)
Here's my .vimrc
1 set tabstop=2
2 set number
3
4 syntax on
5 filetype plugin on
6 filetype indent on
7 set grepprg=grep\ -nH\ $*
8 let g:tex_flavor = "latex"
9 set runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,~/.vim/after
10 "To solve the propleme with vim-latexsuite has with ã and â
11 imap <buffer> <silent> <M-C> <Plug>Tex_MathCal
12 imap <buffer> <silent> <M-B> <Plug>Tex_MathBF
13 imap <buffer> <leader>it <Plug>Tex_InsertItemOnThisLine
14 imap <buffer> <silent> <M-A> <Plug>Tex_InsertItem
15 "imap <buffer> <silent> <M-E> <Plug>Tex_InsertItem
16 "imap <buffer> <silent> <M-e> <Plug>Tex_InsertItemOnThisLine
17 imap <buffer> <silent> <Plug>Traditional <Plug>Traditional
18 map <buffer> <silent> é é
19 map <buffer> <silent> á á
20 map <buffer> <silent> ã ã
21 "imap ã <Plug>Tex_MathCal
22 "imap é <Plug>Traditional
~/.vim/ftplugin/tex.vim
1 set winaltkeys=no
2
3 let g:Tex_AdvancedMath = 0
4 let g:Tex_SmartKeyQuote = 0
5 let g:Tex_SmartKeyQuote = 0
6
7 imap <C-b> <Plug>Tex_MathBF
8 imap <C-c> <Plug>Tex_MathCal
9 imap <C-l> <Plug>Tex_LeftRight
~/.vim/after/ftplugin/tex.vim
(The macros of call IMAP work well. When I type `ö I also get a \mathbf)
1 call IMAP('`w', '\omega', 'tex')
2 call IMAP('`j', '\cdot', 'tex')
3 call IMAP('`A', '\forall', 'tex')
4 call IMAP('`E', '\exists', 'tex')
5 call IMAP('`ö', 'ö', 'tex')
6
7 let g:Tex_AdvancedMath = 0
8 imap <C-b> <Plug>Tex_MathBF
9 imap <C-c> <Plug>Tex_MathCal
10 imap <C-l> <Plug>Tex_LeftRight
runtimepath:
runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,~/.vim/after
Last edited by Maximalminimalist (2010-05-30 17:00:03)

I just removed vim, vim-auctex (didn't remember there was this...) and vim-latexsuite and reinstalled vim and vim-latexsuite.
I was obviously using a vim-auctex macro and I didn't know it... (This was a memorable lesson for removing packages you don't need. )
I realized that the Esc-issue happens if a placeholder is still active. Is it possible to change this behaviour? (I won't really care about that. => [solved])
Last edited by Maximalminimalist (2010-05-30 16:59:32)

Similar Messages

  • ITunes store doesn't load correctly with iTunes9.

    Since upgrading to iTunes9, iTunes store doesn't load correctly on my machine running Windows XP Pro SP3. When I go to the iTunes store, it connects and the images are large and don't load up so I can see the entire store. And when scrolling down, the images disappear for a while then show up and titles are just plain text. Any help?

    Nonsense. NetNanny was disabled on my PC (trial had expired) yet I still had this problem. It's some sort of conflict in the way Apple are using the Windows IP stack when NetNanny's interceptor is installed.
    Apple have documented it here http://support.apple.com/kb/TS4123 and their recommendation is "remove the 3rd party software". Nice.
    NetNanny's site has a suggestion that you add "the executable" but I'm not sure if they mean itunes.exe or apsdaemon.exe to the Security Exceptions List. I haven't tried that as I simply removed it.    

  • Facebook doesn't load correctly with Safari 5.1.7

    After updating to the newest version of Safari, Facebook no longer loads correctly.
    When loading the page it looks like this....
    I'm trying to figure out if this is happening for everyone or just me. Any help would be greatly appriciated.

  • [SOLVED] KDE Plasma doesn't load correctly sometimes

    Hi!
    I have strange problem, if i remember correctly since the last qt upgrade. Sometimes the plasma desktop just doesnt load fully, my desktop doesn't react on hotkeys, panels doesn't work on any click, superkaramba doesn't load. The only thing that works is the KDE menu, ant if I run an application from there, plasma starts to finish loading (superkaramba appeares, hotkeys start to work, so it finishes the initialization). It doesn't happen at every startup. This wasn't a too big problem, I thought it would be corrected with a new upgrade, but today my kde desktop froze. My computer didn't react to anything, sometimes  was able to move the cursor, but after a click, this only function also disappeared. I restarted my computer with the reset button, and I also had some strange things on my monitor at boot, and kdm didn't load correctly, I had only two input areas, with unrecognizable characters. So reset again, and I started windows (i have a dual-boot system), and it also had some stranges stripes at startup, and didn't load correctly. So I turned my computer off, and back again (so not with the reset button), and that time nothing strange happened at boot time, KDE started correctly, but I got a freeze again after some time.
    Has anybody had similar problems? Does anybody have an idea what could cause this? I'm not sure it's a software related problem, but it started like one.
    Last edited by Ben_the1st (2010-12-04 12:35:55)

    It looks like it has to do something with the Nvidia driver, cause I have:
    (EE) NVIDIA(0): Error recovery failed.
    (EE) NVIDIA(0): *** Aborting ***
    lines in kdm.log

  • [SOLVED]Amarok doesn't load

    Hey there,
    As the topic says, amarok doesn't load. If I try it on the konsole it doesn't output any errors. I'm really not seeing what the issue is. I've tried reinstalling amarok, to no avail. I have the same issue as this guy, unfortunately, he chose to reinstall the system. I've installed amarok 2.0 beta1, and it has the same problem. I thought that it might have been a bug in the code of amarok 2.0beta1, so I unistalled and tried the /opt/kde/bin/amarokapp and the same thing happens.
    Last edited by tmafcerqueira (2008-09-17 01:07:37)

    tmafcerqueira wrote:
    tmafcerqueira wrote:Yes, there was. I've deleted it, still nothing. I'm starting to think that this might be something else other than the settings of amarok, because 2.0beta1 doesn't work(and they don't share the same settings). You said .xine, and it's already deleted. Nothing happens. Can you think of anything else?
    I just thought of something... I'm going to pass one config file at a time to a new user, and see when amarok stops loading. Hopefully, I'll come up with an answer. Boy, it's going to take a while...
    And I found it!!! The config folder causing the problem was .rcc. Does anyone know what configs does the folder hold?
    Last edited by tmafcerqueira (2008-09-17 01:13:48)

  • Hi everyone i tried to modify BCA so i can use a usb to load windows via BCA but now it doesn't load when i double click it!?

    i tried to modify BCA so i can use a usb to load windows via BCA but now it doesn't load when i double click it!? any ideas?

    iv solved it now

  • Safari doesn't load a special page

    hello,
    I've got a problem with Safari. It doesn't load a special page. I always got a timeout. It's the admin page from my pixelpost site. Other Browsers like Firefox or Camino etc didn't work too, but when I start Parallels and load this page in Internet Explorer all browsers under Mac OS X works perfect after I load it once in windows.
    Deleting cache or deinstalling Safari completly and reinstall with Pacifist didn't solve the problem. I couldn't explain it for me, so I hope that some of you know a solution.
    I've got always the newest version of all Mac OS X Browsers
    Thank you,
    Marek

    Hi again Marek,
    Thanks for the info, perhaps some one will pipe in with more for you, I hope so.
    I suggest you look at Parallels support, & contact them.
    See if there is an update for it, that may help.
    Other wish if I were you i would try uninstalling the Parallels software,
    to see if that makes any difference to your accessabity to said site.
    It is indicated that it may be the issues simce you say you can load the page if the application parallels is running, it's as if you mac is behaving like a windows box.
    http://www.parallels.com/products/desktop/faq/
    I don't know how else to help, good luck! & please keep us posted.
    Eme'~{)

  • Doesn't load embedded tweets

    Since I reloaded, Firefox doesn't load embedded tweets from any site. All I get is a blue line that shows where the tweet should be. Any ideas? I run the ABP add on.

    You can check the settings of AdBlock plus to see if you have blocked the tweets?
    or see if it has been added to the exceptions list in the preference/options.
    If it is Abp you will be able to see them in Safe Mode.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • Images of gallery doesn't load when I upload the files on server

    The gallery works fine when the files is on my computer but when I upload the files on my server the images doesn't load.
    I'm using xml file to load the images. Here is the code of the gallery:
    function loadPlayList(url:String) {
              delete myMO.onMouseWheel;
              delete myKO.onKeyDown;
              for (var i in infostruc) {
                        root["_ref"+i] = root["_bmd"+i]=false;
              loadedAll = false;
              infostruc = [];
              for (var i in root) {
                        if ((root[i]._name.substr(0, 3) == "art" || root[i]._name.substr(0, 10) == "reflection") && (parseInt(root[i]._name.split("art")[1]) || parseInt(root[i]._name.split("reflection")[1]))) {
                                  root[i].swapDepths(root.getNextHighestDepth());
                                  root[i].removeMovieClip();
              current = 1;
              root.createEmptyMovieClip("loader", root.getNextHighestDepth());
              xmlData.load(url);
    function init(Void):Void {
              myMO = {};
              myKO = {};
              Mouse.addListener(myMO);
              Key.addListener(myKO);
              for (var i in infostruc) {
                        loader.clear();
                        loader.gradient_mc.removeMovieClip();
                        loader.attachMovie("default", "art", 1);
                        root["_shelveCDWidth"+i] = shelveCDWidth;
                        root["_shelveCDHeight"+i] = shelveCDHeight;
                        root["_frontCDWidth"+i] = frontCDWidth;
                        root["_frontCDHeight"+i] = frontCDHeight;
                        this["_bmd"+i] = new BitmapData(loader._width, loader._height);
                        this["_ref"+i] = new BitmapData(loader._width, loader._height);
                        this["_bmd"+i].draw(loader);
                        var mc:MovieClip = loader.createEmptyMovieClip("gradient_mc", loader.getNextHighestDepth());
                        matrix = new Matrix();
                        matrix.createGradientBox(loader._width, loader._height, reflectionRotation/180*Math.PI, 0, 0);
                        mc.beginGradientFill(reflectionFillType, reflectionColors, reflectionAlphas, reflectionRatios, matrix, reflectionSpreadMethod, reflectionInterpolationMethod, reflectionFocalPointRatio);
                        mc.moveTo(0, 0);
                        mc.lineTo(0, loader._height);
                        mc.lineTo(loader._width, loader._height);
                        mc.lineTo(loader._width, 0);
                        mc.lineTo(0, 0);
                        mc.endFill();
                        loader.art._alpha = reflectionAlpha;
                        loader.beginFill(reflectionBackgroundColour);
                        loader.moveTo(0, 0);
                        loader.lineTo(0, loader._height);
                        loader.lineTo(loader._width, loader._height);
                        loader.lineTo(loader._width, 0);
                        loader.lineTo(0, 0);
                        loader.endFill();
                        this["_ref"+i].draw(loader);
              for (var i:Number = count=0; count<stageWidth-(centerDistance*3); count += shelveCDSpacing, i++) {
                        var cArt:MovieClip = this.createEmptyMovieClip("art"+this.getNextHighestDepth(), this.getNextHighestDepth());
                        var rArt:MovieClip = this.createEmptyMovieClip("reflection"+(this.getNextHighestDepth()-1), this.getNextHighestDepth());
                        rArt.id = cArt.id=rArt.cid=cArt.cid=Number(i)+1;
                        rArt._x = cArt._x=stageWidth;
                        cArt.DistortImage(this["_bmd"+cArt.id]);
                        controlTheObject(cArt);
                        rArt.DistortImage(this["_ref"+cArt.id]);
                        controlTheObject(rArt);
                        var tmpFilter:BlurFilter = new BlurFilter(reflectionBlurX, reflectionBlurY, reflectionQuality);
                        rArt.filterArray = cArt.filterArray=[];
                        rArt.filterArray[0] = tmpFilter;
                        rArt.filters = rArt.filterArray;
                        tmask = mask.duplicateMovieClip("_mask"+cArt.id, this.getNextHighestDepth(), {_x:mask._x, _y:mask._y});
                        rmask = mask.duplicateMovieClip("_rmask"+cArt.id, this.getNextHighestDepth(), {_x:mask._x, _y:mask._y});
                        cArt.setMask(tmask);
                        rArt.setMask(rmask);
                        rArt._visible = cArt._visible=false;
              myMO.onMouseWheel = function(delta:Number):Void  {
                        if (delta>0) {
                                  next();
                        } else if (delta<=0) {
                                  previous();
              myKO.onKeyDown = function():Void  {
                        if (Selection.getFocus() != "_level0.goto") {
                                  if (Key.isDown(Key.RIGHT)) {
                                            next();
                                  } else if (Key.isDown(Key.LEFT)) {
                                            previous();
              scrollBar.scroller.onPress = function():Void  {
                        dist = this._parent._xmouse-this._x;
                        this.onMouseMove = function():Void  {
                                  tmp = 1+Math.ceil(((this._parent._xmouse-dist)-scrollBarStart)/(scrollBar._width-scrollBarStop)*(infostruc.length-1));
                                  if (tmp>infostruc.length) {
                                            tmp = infostruc.length;
                                  if (tmp<1) {
                                            tmp = 1;
                                  current = tmp;
                                  updateInfo();
              scrollBar.scroller.onRelease = scrollBar.scroller.onReleaseOutside=function ():Void {
                        stopDrag();
                        delete this.onMouseMove;
              scrollBar.left.onPress = function():Void  {
                        previous();
                        shifter = setInterval(previous, scrollerDelay);
              scrollBar.right.onPress = function():Void  {
                        next();
                        shifter = setInterval(next, scrollerDelay);
              scrollBar.onMouseUp = function():Void  {
                        clearInterval(shifter);
              scrollBar.onMouseDown = function():Void  {
                        if (this.hitTest(_xmouse, _ymouse, true) && !this.left.hitTest(_xmouse, _ymouse, true) && !this.right.hitTest(_xmouse, _ymouse, true)) {
                                  if (this._xmouse<this.scroller._x) {
                                            previous();
                                            shifter = setInterval(previous, clickDelay);
                                  if (this._xmouse>this.scroller._x+this.scroller._width) {
                                            next();
                                            shifter = setInterval(next, clickDelay);
              goto.restrict = "0-9";
              goto.onKillFocus = function():Void  {
                        if (!isNaN(Number(this.text)+1)) {
                                  if (this.text>infostruc.length) {
                                            this.text = infostruc.length;
                                  if (this.text<1) {
                                            this.text = 1;
                                  current = Number(this.text);
                        } else {
                                  this.text = current;
                        updateInfo();
              fscreen.onPress = function():Void  {
                        fscommand("fullscreen", !(this._currentframe-1));
                        this.gotoAndStop(!(this._currentframe-1)+1);
              slideShow.onPress = function():Void  {
                        if (this._currentframe == 1) {
                                  sliderShow = setInterval(function ():Void {
                                            if (current<infostruc.length) {
                                                      next();
                                            } else if (slideshowLooping) {
                                                      current = 0;
                                                      next();
                                  }, slideshowSpeed);
                        } else {
                                  clearInterval(sliderShow);
                        this.gotoAndStop(!(this._currentframe-1)+1);
              distance = Number(i);
              mask.removeMovieClip();
              fscreen.swapDepths(1102);
              slideShow.swapDepths(1103);
              scrollBar.swapDepths(1101);
              i2.swapDepths(1105);
              i1.swapDepths(1106);
              loader.removeMovieClip();
              loadNext();
              updateInfo();
    function concat(m1, m2):Object {
              var mat:Object = {};
              mat.a = m1.c*m2.b;
              mat.b = m1.d*m2.b;
              mat.c = m1.a*m2.c;
              mat.d = m1.b*m2.c;
              mat.tx = m1.a*m2.tx+m1.c*m2.ty+m1.tx;
              mat.ty = m1.b*m2.tx+m1.d*m2.ty+m1.ty;
              return mat;
    function updateInfo():Void {
              goto.text = current;
              info = infostruc[current-1].info;
              author = infostruc[current-1].auth;
              album = infostruc[current-1].album;
              displayAlternArt(root["_bmd"+(current-1)], artDisplay._width, artDisplay._height);
              scrollBar.scroller._x = scrollBarStart+((current-1)/(infostruc.length-1)*(scrollBar._width-scrollBarStop));
    function brightness(_prop:String, _old:Number, _new:Number, target:MovieClip):Void {
              var brightness_array:Array = [1, 0, 0, 0, _new, 0, 1, 0, 0, _new, 0, 0, 1, 0, _new, 0, 0, 0, 1, 0];
              target.filterArray[1] = new ColorMatrixFilter(brightness_array);
              target.filters = target.filterArray;
    function controlTheObject(mc):Void {
              if (mc._name.indexOf("reflection") == -1) {
                        mc.onPress = function():Void  {
                                  if ((getTimer()-this.pressTime<=doubleClickRegister && this.pressTime) || !doubleClickURL) {
                                            if (infostruc[this.cid].urlToGet) {
                                                      getURL(infostruc[this.cid].urlToGet, "_"+infostruc[this.cid].urlAction);
                                  this.pressTime = getTimer();
                                  current = this.cid+1;
                                  updateInfo();
              mc.watch("_brightness", brightness, mc);
              mc.onEnterFrame = function():Void  {
                        this._visible = true;
                        if (infostruc[this.cid].loaded && !this.loadedImage) {
                                  this.allowUpdate = true;
                                  this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
                                  this.setTransform(this.px1, this.py1, this.px2, this.py2, this.px3, this.py3, this.px4, this.py4);
                                  this.loadedImage = true;
                        if (Math.round(Math.abs(this._x-this.x))>=1 || this.allowUpdate) {
                                  if (this._name.indexOf("reflection") == -1) {
                                            this._y = centerY+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2));
                                            if (this._x>=centerX+centerDistance) {
                                                      this.swapDepths(-this._x);
                                                      this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), this._parent["_shelveCDWidth"+this.cid]/2, -(this._parent["_shelveCDHeight"+this.cid]/2), this._parent["_shelveCDWidth"+this.cid]/2, this._parent["_shelveCDHeight"+this.cid]/2, -(this._parent["_shelveCDWidth"+this.cid]/2), (this._parent["_shelveCDHeight"+this.cid]/2)-((Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                            } else if (this._x<=centerX-centerDistance) {
                                                      this.swapDepths(this._x);
                                                      this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2), this._parent["_shelveCDWidth"+this.cid]/2, -(this._parent["_shelveCDHeight"+this.cid]/2)+(Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid]), this._parent["_shelveCDWidth"+this.cid]/2, (this._parent["_shelveCDHeight"+this.cid]/2)-(Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid]), -(this._parent["_shelveCDWidth"+this.cid]/2), this._parent["_shelveCDHeight"+this.cid]/2);
                                            } else if (this.cid == current-1 || this.cid == current || this.cid == current-2) {
                                                      if (this._x>centerX-centerDistance && Math.floor(this._x)<centerX && angle-((this._x-(centerX-centerDistance))/centerDistance*angle)>autoJump) {
                                                                this.swapDepths(1002);
                                                                var sum:Number = this._parent["_shelveCDWidth"+this.cid]+((this._x-(centerX-centerDistance))/centerDistance*(this._parent["_frontCDWidth"+this.cid]-this._parent["_shelveCDWidth"+this.cid]));
                                                                var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
                                                                var sum3:Number = this._parent["_shelveCDHeight"+this.cid]+((this._x-(centerX-centerDistance))/centerDistance*(this._parent["_frontCDHeight"+this.cid]-this._parent["_shelveCDHeight"+this.cid]));
                                                                this.setSides(-(sum/2), -(sum3/2), sum/2, -(sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), sum/2, (sum3/2)-((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), -(sum/2), sum3/2);
                                                      } else if (this._x<centerX+centerDistance && Math.ceil(this._x)>centerX && angle-(((centerX+centerDistance)-this._x)/centerDistance*angle)>autoJump) {
                                                                this.swapDepths(1003);
                                                                var sum:Number = this._parent["_shelveCDWidth"+this.cid]+(((centerX+centerDistance)-this._x)/centerDistance*(this._parent["_frontCDWidth"+this.cid]-this._parent["_shelveCDWidth"+this.cid]));
                                                                var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
                                                                var sum3:Number = this._parent["_shelveCDHeight"+this.cid]+(((centerX+centerDistance)-this._x)/centerDistance*(this._parent["_frontCDHeight"+this.cid]-this._parent["_shelveCDHeight"+this.cid]));
                                                                this.setSides(-(sum/2), -(sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), sum/2, -(sum3/2), sum/2, sum3/2, -(sum/2), (sum3/2)-((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                                      } else {
                                                                this.swapDepths(1004);
                                                                this.setSides(-(this._parent["_frontCDWidth"+this.cid]/2), -(this._parent["_frontCDHeight"+this.cid]/2), this._parent["_frontCDWidth"+this.cid]/2, -(this._parent["_frontCDHeight"+this.cid]/2), this._parent["_frontCDWidth"+this.cid]/2, this._parent["_frontCDHeight"+this.cid]/2, -(this._parent["_frontCDWidth"+this.cid]/2), this._parent["_frontCDHeight"+this.cid]/2);
                                            } else {
                                                      if (this._x>centerX-centerDistance && Math.floor(this._x)<centerX && angle-((this._x-(centerX-centerDistance))/centerDistance*angle)>autoJump) {
                                                                this.swapDepths(1002);
                                                                var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
                                                                this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2), this._parent["_shelveCDWidth"+this.cid]/2, -(this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), this._parent["_shelveCDWidth"+this.cid]/2, (this._parent["_shelveCDHeight"+this.cid]/2)-((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), -(this._parent["_shelveCDWidth"+this.cid]/2), this._parent["_shelveCDHeight"+this.cid]/2);
                                                      } else if (this._x<centerX+centerDistance && Math.ceil(this._x)>centerX && angle-(((centerX+centerDistance)-this._x)/centerDistance*angle)>autoJump) {
                                                                this.swapDepths(1003);
                                                                var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
                                                                this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), this._parent["_shelveCDWidth"+this.cid]/2, -(this._parent["_shelveCDHeight"+this.cid]/2), this._parent["_shelveCDWidth"+this.cid]/2, this._parent["_shelveCDHeight"+this.cid]/2, -(this._parent["_shelveCDWidth"+this.cid]/2), (this._parent["_shelveCDHeight"+this.cid]/2)-((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                  } else {
                                            this._yscale = -100;
                                            this._y = centerY+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2))+this._parent["_shelveCDHeight"+this.cid]+reflectionSpace;
                                            if (this._x>=centerX+centerDistance) {
                                                      this.swapDepths(-this._x-333);
                                                      this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2)+(Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid]), -(this._parent["_shelveCDWidth"+this.cid]/2)+this._parent["_shelveCDWidth"+this.cid], -(this._parent["_shelveCDHeight"+this.cid]/2), -(this._parent["_shelveCDWidth"+this.cid]/2)+this._parent["_shelveCDWidth"+this.cid], this._parent["_shelveCDHeight"+this.cid]/2, -(this._parent["_shelveCDWidth"+this.cid]/2), (this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                            } else if (this._x<=centerX-centerDistance) {
                                                      this.swapDepths(this._x-333);
                                                      this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2), -(this._parent["_shelveCDWidth"+this.cid]/2)+this._parent["_shelveCDWidth"+this.cid], -(this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), -(this._parent["_shelveCDWidth"+this.cid]/2)+this._parent["_shelveCDWidth"+this.cid], (this._parent["_shelveCDHeight"+this.cid]/2)+(Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid]), -(this._parent["_shelveCDWidth"+this.cid]/2), this._parent["_shelveCDHeight"+this.cid]/2);
                                            } else if (this.cid == current-1 || this.cid == current || this.cid == current-2) {
                                                      if (this._x>centerX-centerDistance && this._x<centerX && !validateOk(this)) {
                                                                this.swapDepths(999);
                                                                var sum:Number = this._parent["_shelveCDWidth"+this.cid]+((this._x-(centerX-centerDistance))/centerDistance*(this._parent["_frontCDWidth"+this.cid]-this._parent["_shelveCDWidth"+this.cid]));
                                                                var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
                                                                var sum3:Number = this._parent["_shelveCDHeight"+this.cid]+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2))+((this._x-(centerX-centerDistance))/centerDistance*(this._parent["_frontCDHeight"+this.cid]-this._parent["_shelveCDHeight"+this.cid]));
                                                                this._y = centerY+sum3+reflectionSpace;
                                                                this.setSides(-(sum/2), -(sum3/2), sum/2, -(sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), sum/2, (sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), -(sum/2), sum3/2);
                                                      } else if (this._x<centerX+centerDistance && this._x>centerX && !validateOk(this)) {
                                                                this.swapDepths(998);
                                                                var sum:Number = this._parent["_shelveCDWidth"+this.cid]+(((centerX+centerDistance)-this._x)/centerDistance*(this._parent["_frontCDWidth"+this.cid]-this._parent["_shelveCDWidth"+this.cid]));
                                                                var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
                                                                var sum3:Number = this._parent["_shelveCDHeight"+this.cid]+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2))+(((centerX+centerDistance)-this._x)/centerDistance*(this._parent["_frontCDHeight"+this.cid]-this._parent["_shelveCDHeight"+this.cid]));
                                                                this.setSides(-(sum/2), -(sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), sum/2, -(sum3/2), sum/2, sum3/2, -(sum/2), (sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                                                this._y = centerY+sum3+reflectionSpace;
                                                      } else if (!validateOk(this)) {
                                                                this.swapDepths(995);
                                                                this._y = centerY+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2))+this._parent["_frontCDHeight"+this.cid]+reflectionSpace;
                                                                this.setSides(-(this._parent["_frontCDWidth"+this.cid]/2), -(this._parent["_frontCDHeight"+this.cid]/2), this._parent["_frontCDWidth"+this.cid]/2, -(this._parent["_frontCDHeight"+this.cid]/2), this._parent["_frontCDWidth"+this.cid]/2, this._parent["_frontCDHeight"+this.cid]/2, -(this._parent["_frontCDWidth"+this.cid]/2), this._parent["_frontCDHeight"+this.cid]/2);
                                  this.allowUpdate = false;
                                  this._x -= Math.min(Math.max((this._x-this.x)/albumEase, -maxSlide), maxSlide);
                                  this.setTransform(this.px1, this.py1, this.px2, this.py2, this.px3, this.py3, this.px4, this.py4);
                                  if (this._x<deleteMinDistance && this._parent["_ref"+(this.cid+distance)]) {
                                            this.cid += distance;
                                            this._x = deleteMaxDistance;
                                            controlTheObject(this);
                                            this._visible = false;
                                            this.loadedImage = infostruc[this.cid].loaded;
                                            this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
                                  if (this._x>deleteMaxDistance && this._parent["_ref"+(this.cid-distance)]) {
                                            this.cid -= distance;
                                            this._x = deleteMinDistance;
                                            controlTheObject(this);
                                            this._visible = false;
                                            this.loadedImage = infostruc[this.cid].loaded;
                                            this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
                        } else if (Math.ceil(Math.abs(this._x-this.x)) == 0) {
                                  this._x = this.x;
                        if (this.cid+1>current) {
                                  this.x = (centerX+((this.cid+1-current)*shelveCDSpacing))+centerDistance;
                        } else if (this.cid+1<current) {
                                  this.x = (centerX+((this.cid+1-current)*shelveCDSpacing))-centerDistance;
                        } else {
                                  this.x = centerX+((this.cid+1-current)*shelveCDSpacing);
                        if (fadeType == "brightness") {
                                  if (this._x<fadePointMin+fadeDist) {
                                            this._brightness = -(250-((this._x-fadePointMin)/fadeDist*250));
                                  } else if (this._x>fadePointMax-fadeDist) {
                                            this._brightness = -(250-((fadePointMax-this._x)/fadeDist*250));
                                  } else {
                                            this._brightness = 0;
                        } else if (fadeType == "alpha") {
                                  if (this._x<fadePointMin+fadeDist) {
                                            this._alpha = ((this._x-fadePointMin)/fadeDist*100);
                                  } else if (this._x>fadePointMax-fadeDist) {
                                            this._alpha = ((fadePointMax-this._x)/fadeDist*100);
                                  } else {
                                            this._alpha = 100;
    function next():Void {
              if (current<infostruc.length) {
                        current += 1;
              updateInfo();
    function previous():Void {
              if (current>1) {
                        current -= 1;
              updateInfo();
    function displayAlternArt(art, width:Number, height:Number):Void {
              artDisplay.attachBitmap(art, 1);
              artDisplay._width = width;
              artDisplay._height = height;
    function loadNext():Void {
              if (!loadedAll) {
                        var num:Number = current-1;
                        if (infostruc[current-1].loaded) {
                                  var num:Number = current-Math.floor(distance/2)-1>=0 ? current-Math.floor(distance/2)-1 : 0;
                                  while (infostruc[num].loaded && num<infostruc.length) {
                                            num++;
                                  if (num>=infostruc.length) {
                                            var num:Number = current-1;
                                            while (infostruc[num].loaded && num>0) {
                                                      num--;
                                            if (num<=0) {
                                                      loadedAll = true;
                        var newLoad:MovieClip = this.createEmptyMovieClip("artLoad"+num, this.getNextHighestDepth());
                        newLoad.createEmptyMovieClip("art", newLoad.getNextHighestDepth());
                        newLoad._alpha = 0;
                        var mc:Object = {};
                        mc.number = num;
                        var artLoader:MovieClipLoader = new MovieClipLoader();
                        artLoader.addListener(mc);
                        artLoader.loadClip(infostruc[num].httpType+infostruc[num].art, newLoad.art);
                        mc.onLoadError = function() {
                                  infostruc[this.number].loaded = true;
                                  loadNext();
                        mc.onLoadInit = function(target:MovieClip) {
                                  tw = target._width;
                                  ty = target._height;
                                  if (_CDProportions == "auto") {
                                            if (target._width>target._height) {
                                                      target._width = Math.min(frontCDWidth, target._width);
                                                      target._yscale = target._xscale;
                                            } else {
                                                      target._height = Math.min(frontCDHeight, target._height);
                                                      target._xscale = target._yscale;
                                  root["_frontCDWidth"+this.number] = Math.min(frontCDWidth, target._width);
                                  root["_frontCDHeight"+this.number] = Math.min(frontCDHeight, target._height);
                                  target._width = tw;
                                  target._height = ty;
                                  root["_bmd"+this.number] = new BitmapData(target._width, target._height);
                                  root["_ref"+this.number] = new BitmapData(target._width, target._height);
                                  root["_bmd"+this.number].draw(target);
                                  var mc:MovieClip = target._parent.createEmptyMovieClip("gradient_mc", target._parent.getNextHighestDepth());
                                  matrix = new Matrix();
                                  matrix.createGradientBox(target._width, target._height, reflectionRotation/180*Math.PI, 0, 0);
                                  mc.beginGradientFill(reflectionFillType, reflectionColors, reflectionAlphas, reflectionRatios, matrix, reflectionSpreadMethod, reflectionInterpolationMethod, reflectionFocalPointRatio);
                                  mc.moveTo(0, 0);
                                  mc.lineTo(0, target._height);
                                  mc.lineTo(target._width, target._height);
                                  mc.lineTo(target._width, 0);
                                  mc.lineTo(0, 0);
                                  mc.endFill();
                                  target._parent.beginFill(reflectionBackgroundColour);
                                  target._parent.moveTo(0, 0);
                                  target._parent.lineTo(0, target._height);
                                  target._parent.lineTo(target._width, target._height);
                                  target._parent.lineTo(target._width, 0);
                                  target._parent.lineTo(0, 0);
                                  target._parent.endFill();
                                  target._alpha = reflectionAlpha;
                                  root["_ref"+this.number].draw(target._parent);
                                  infostruc[this.number].loaded = true;
                                  if (_CDProportions == "auto") {
                                            if (target._width>target._height) {
                                                      target._width = Math.min(shelveCDWidth, target._width);
                                                      target._yscale = target._xscale;
                                            } else {
                                                      target._height = Math.min(shelveCDHeight, target._height);
                                                      target._xscale = target._yscale;
                                  root["_shelveCDWidth"+this.number] = Math.min(shelveCDWidth, target._width);
                                  root["_shelveCDHeight"+this.number] = Math.min(shelveCDHeight, target._height);
                                  target._parent.removeMovieClip();
                                  updateInfo();
                                  loadNext();
    xmlData.onLoad = function(success:Boolean):Void  {
              if (success) {
                        for (var i:Number = -1; this.childNodes[0].childNodes[++i]; ) {
                                  var cNode:XMLNode = this.childNodes[0].childNodes[i].childNodes;
                                  var val1:String = cNode[1].childNodes[0].nodeValue ? unescape(cNode[1].childNodes[0].nodeValue) : unknownSong;
                                  var val2:String = cNode[2].childNodes[0].nodeValue ? unescape(cNode[2].childNodes[0].nodeValue) : unknownArtist;
                                  var val3:String = cNode[3].childNodes[0].nodeValue ? unescape(cNode[3].childNodes[0].nodeValue) : unknownAlbum;
                                  var val4:String = cNode[4].childNodes[0].nodeValue ? unescape(cNode[4].childNodes[0].nodeValue) : "./";
                                  var val5:String = cNode[5].childNodes[0].nodeValue ? unescape(cNode[5].childNodes[0].nodeValue) : undefined;
                                  var val6:String = cNode[6].childNodes[0].nodeValue ? unescape(cNode[6].childNodes[0].nodeValue) : undefined;
                                  infostruc.push({art:cNode[0].childNodes[0].nodeValue, info:val1, auth:val2, album:val3, httpType:val4, urlToGet:val5, urlAction:val6, loaded:false});
                                  root["_frontCDWidth"+i] = frontCDWidth;
                                  root["_frontCDHeight"+i] = frontCDHeight;
                                  root["_shelveCDWidth"+i] = shelveCDWidth;
                                  root["_shelveCDHeight"+i] = shelveCDHeight;
                        init();
                        loadStat = "";
              } else {
                        loadStat = "There was an error loading that data, sorry.";
    xmlData.ignoreWhite = true;
    loadPlayList("./albuminfo9.xml");
    loader._visible = false;
    mask._alpha = 0;
    scrollBar.scroller._y = 0;

    This won't work on most servers: "./albuminfo9.xml". It should be "../albuminfo9.xml". That may or may not solve the problem. Be sure that all of your files and folders are in the same relative location on the server as they are on your computer. Also be sure that the case for each referenced item is correct. Upper and lower case are sometimes more important on a server than they are on your computer. JPG is not the same as jpg. Be sure that your files are uploading correctly.

  • IPod Touch 5G doesn't load apps?

    Hello, I've been with Apple for a good two years, but I've never really used their website or ask a question on here, so sorry if this is in a wrong category. But anyways, my iPod Touch 5th Gen doesn't load up any apps besides Google. Whenever I load up an app it just says it's loading but never actually does. I've held down the home and power button and it has restarted but hasn't solved anything.

    UPDATE: I've recently deleted an app that was constantly loading. Seemed to get rid of this problem for now!

  • Apr 22, 2011 6:28 PM I've had my iPhone 4 for about 4 months now, and suddenly some apps aren't working. They open and appear to work, but as soon as you try to do something it doesn't load. I tried deleting the app and reinstalling it. I also force shut

    Apr 22, 2011 6:28 PM 
    I've had my iPhone 4 for about 4 months now, and suddenly some apps aren't working. They open and appear to work, but as soon as you try to do something it doesn't load. I tried deleting the app and reinstalling it. I also force shut down my phone. I synced it to iTunes. Nothing is working. Does anyone know what I can do?

    Basic troubleshooting steps oultlined in the User Guide are restart, reset, restore from backup, restore as new device.
    You need to go through all steps in succession until your problem is solved.  If going through ALL these steps fails to resolve your issue, then you'll need to bring your phone into Apple for evaluation and possible replacement.

  • New Icloud Terms and Conditions window pops up every time I try to check my email, or when I open setting. My email doesn't load because of this, so I haven't been able to check my email for months.

    'New Icloud Terms and Conditions' window pops up every time I try to check my email, or when I open setting. My email doesn't load because of this, so I haven't been able to check my email for months. When I click, 'view terms' it takes me to my Icloud section in settings, but the terms don't pop up. I plugged it into my iTunes to see if it would pop up, but that didn't work either. My phone is updated, and I'm pretty sure I already accepted the new terms and conditions on the last update a few months back.

    Hi munaxnight,
    If you are having issues with your iPhone continuing to ask you to accept terms and conditions, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    Force an app to close in iOS
    Next, I would try restarting and if needed resetting the iPhone -
    Restart or reset your iPhone, iPad, or iPod touch
    If the issue is still present, you may want to restore the iPhone as a new device -
    How to erase your iOS device and then set it up as a new device or restore it from backups
    Thanks for using Apple Support Communities.
    Best,
    Brett L  

  • I have downloaded my music off of my phone to my iTunes account on my computer, but when i download music on my laptop it doesn't load to my phone? How do i do it?

    I have downloaded my music off of my phone to my iTunes account on my computer, but when i download music on my laptop it doesn't load to my phone? How do i do it?

    Have you selected the music to sync?

  • When i connect to a wifi netwrok it connects just fine ..but the login page doesn't load and then i get the error cannot connect to login page because to many redirects occured

    when i connect to wifi  network the login page doesn't load and an error msg pops up sayin login page can't open because too many redirects occured and i get the same exact error msg with safari over wifi and with any application connecting to a wifi ( windows live messenger, skype, yahoo....)
    can anyone help me plz??
    thanks

    I got the same error the other day.  I'm not 100% sure what it is but I turned WiFi off, then back on again, and reconnected without the error.

  • My browser will not load a page or update unless I am actively moving my cursor or typing. If I select a page and don't do anything then it doesn't load at all. I have no idea how this happened or how to fix it. Thanks.

    My browser will not load a page or update unless I am actively moving my cursor or typing. If I select a page and don't do anything then it doesn't load at all. I have no idea how this happened or how to fix it. Thanks.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • ICal into iWeb?

    is there a way to import an iCal calendar into a website using iWeb? I've searched the support sites and have tinkered around with both programs but can't find out how to get my calendar on my website. Thanks for any help.

  • EJB problem (Seam 2.1.2 + WLS 10.3)

    Hi, I'm having some problems getting the EJB version of the booking example in Seam 2.1.2 working with WebLogic 10.3, and I'm hoping that someone here might have some advice. I followed the instructions in Chapter 39 of the Seam documentation for bui

  • BDC for FB50L...URGENT

    Hi, I am doing the BDC for FB50L but the code doesn't seem to execute...it is giving errors... I am attaching the code...Please review it and help me....its really urgent... Your help will be really appreciated... REPORT  ZTEST_BDC_PARK_ACC_GL. DATA:

  • Repeating header

    Hi All; I have searched for information that would address this question, but I can't seem to locate anything. If it has, please direct me to the link, if it is posted in this forum. I have jut started using DW 8 for the first time (I used Golive bef

  • Http adaptor on which factors we will use

    hi 1.pls details about http adaptor scenario ,on which buiseness criteria we have to consider? 2.difference between business system and business  service in ID, 3.file to idoc scinario using BPMs. thanks & regards