Slide show ignores only when it is online
Hi all
I would really appreciate the help on this... I have a slide show that works quite well when it is on my machine, however, once he has published on the web, instead of having a smooth transition between external SWF, he jumps and shows a white background with a second charger... Not only when it is load the first time, but all the time... Any help in this would be SUPER APPRECIATED. Here is the code:
I thank very you much in advance!
package
{
IMPORT FLASH
import flash.display. *;
import flash.events. *;
flash.net import. *;
import flash.text. *;
import flash.geom.ColorTransform;
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.net.URLRequest;
import flash.media.SoundTransform;
import flash.media.SoundMixer;
Import fl.transitions.Tween;
Fl.transitions.easing import. *;
Import fl.transitions.TweenEvent;
import flash.utils.Timer;
import flash.events.TimerEvent;
Import caurina.transitions.Tweener;
//--------------------------------------------------------------------------------------- -------------
// MAIN CLASS
//--------------------------------------------------------------------------------------- -------------
Slideshow/public class extends MovieClip
{
-YOU CAN CUSTOMIZE THE VALUES VAR!
color for the original text is: 0xA28565 for bkg is: 0xECD7B2, at the border is: 0xC8B18F
private var numberOfSlides:Number = 3; number of slides, it's going to be a
private var spacingBtn:Number = 25; the distance between the buttons
private var bkgColorStart:uint = 0xf2d0b0; the first loading bkg color button
private var borderColorStart:uint = 0xC8B18F; the border color of the button on the first load
private var txtColorStart:uint = 0xA28565; the color of text on the first load button
private var bkgColorOver:uint = 0xffeddb; the bkg on mouse over event color button
private var borderColorOver:uint = 0xC8B18F; the border color of the button on the mouse on the event
private var txtColorOver:uint = 0xA28565; the text color of the button on the mouse on the event
private var bkgColorOut:uint = 0xECD7B2; the color of bkg button on the mouse of the event
private var borderColorOut:uint = 0xC8B18F; the event's mouse button border color
private var txtColorOut:uint = 0xA28565; the text color of the button on the mouse of the event
private var bkgColorActive:uint = 0x1fbbfc; When the bkg color button is active
private var borderColorActive:uint = 0xffffff; the border color of the button when is active
private var txtColorActive:uint = 0xffffff; the text of the button when the color is active
private var my_speed:Number = 8; the next loading in swf format speed
private var my_swfs:Array = new Array("swfs/one_btn.swf","swfs/two_btn.swf","swfs/three_btn.swf");
//------------------------------------------------------------------------------------- PRIVATE VAR
private var slideBtn:_SlideBtn; make new instance
private var myBkgColorTransform = new ColorTransform();
private var myBorderColorTransform = new ColorTransform();
private var currentlyActive: *;
private var activeSet:Boolean = false;
private var slideButtons:Array;
private var urlSong:String = "ocean2.mp3";
private var urlSong2:String = "squeeak.mp3";
private var song: SoundChannel;
private var song2:SoundChannel;
private var myTransform = new SoundTransform();
private var myTransform2 = new SoundTransform();
private var my_total:Number = numberOfSlides;
private var my_preloader:TextField;
private var my_timer:Timer = new Timer(my_speed * 1000);
private var my_success_counter:Number = 0;
private var my_playback_counter:Number = 0;
private var my_loader:Loader;
//--------------------------------------------------------------------------------------- -------------
// MAIN
//--------------------------------------------------------------------------------------- -------------
public void show (): void
{
init();
}
private function init (): void
{
slideButtons = new Array;
for (var i: Number = 0; i < numberOfSlides; i ++)
{
slideBtn = new _SlideBtn();
controlsContainer.addChild (slideBtn);
slideBtn.x = 59 + (I * spacingBtn);
slideBtn.y = 8;
slideBtn.txt.text = String (i + 1);
slideBtn.buttonMode = true;
slideBtn.mouseChildren = false;
slideBtn.useHandCursor = true;
slideBtn.addEventListener (MouseEvent.MOUSE_OVER, buttonEventsHandler);
slideBtn.addEventListener (MouseEvent.MOUSE_OUT, buttonEventsHandler);
slideBtn.addEventListener (MouseEvent.CLICK, buttonEventsHandler);
slideBtn.name = "slideBtn" + (i + 1);
myBkgColorTransform.color = bkgColorStart;
slideBtn.bkg.transform.colorTransform = myBkgColorTransform;
myBorderColorTransform.color = borderColorStart;
slideBtn.border.transform.colorTransform = myBorderColorTransform;
slideBtn.txt.textColor = txtColorStart;
slideButtons.push (slideBtn);
slideBtn.urlPath = my_swfs [i];
slideBtn.itsID = i;
}
setFirst();
startSound1();
startSound2();
controlsContainer.play_btn.addEventListener (MouseEvent.CLICK, playSound);
controlsContainer.stop_btn.addEventListener (MouseEvent.CLICK, stopSound);
controlsContainer.go_btn.addEventListener (MouseEvent.CLICK, playTimer);
controlsContainer.pause_btn.addEventListener (MouseEvent.CLICK, stopTimer);
controlsContainer.play_btn.visible = false;
controlsContainer.go_btn.visible = false;
}
private void changeColor(e:*,_bkgColor:uint,_borderColor:uint,_txtColor:uint):void
{
myBkgColorTransform.color = bkgColor;
e.bkg.transform.colorTransform = myBkgColorTransform;
myBorderColorTransform.color = borderColor;
e.border.transform.colorTransform = myBorderColorTransform;
e.txt.textColor = txtColor;
}
private function setFirst (): void
{
slideButtons [0] .dispatchEvent (MouseEvent (MouseEvent.CLICK)) of new;
my_timer.addEventListener (TimerEvent.TIMER, timerListener);
}
//--------------------------------------------------------------------------------------- -------------
// BUTTON METHODS
//--------------------------------------------------------------------------------------- -------------
private void buttonEventsHandler(e:MouseEvent):void
{
Switch (e.type)
{
case MouseEvent.MOUSE_OVER:
changeColor (e.target, bkgColorOver, borderColorOver, txtColorOver);
break;
case MouseEvent.MOUSE_OUT:
changeColor (e.target, bkgColorOut, borderColorOut, txtColorOut);
break;
case No. MouseEvent.CLICK:
my_playback_counter = e.target.itsID;
Loadimages() (e.target.urlPath);
stayActive (e);
my_timer. Reset();
my_timer. Start();
break;
by default:
trace ("no matches found for switch (e.type) '");
}
}
private void stayActive(e:MouseEvent):void
{
changeColor (e.target, bkgColorActive, borderColorActive, txtColorActive);
e.target.removeEventListener (MouseEvent.MOUSE_OVER, buttonEventsHandler);
e.target.removeEventListener (MouseEvent.MOUSE_OUT, buttonEventsHandler);
e.target.removeEventListener (MouseEvent.CLICK, buttonEventsHandler);
If (Meridio73)
{
currentlyActive.target.addEventListener (MouseEvent.MOUSE_OVER, buttonEventsHandler);
currentlyActive.target.addEventListener (MouseEvent.MOUSE_OUT, buttonEventsHandler);
currentlyActive.target.addEventListener (MouseEvent.CLICK, buttonEventsHandler);
changeColor (currentlyActive.target, bkgColorOut, borderColorOut, txtColorOut);
}
currentlyActive = e;
Meridio73 = true;
}
//--------------------------------------------------------------------------------------- -------------
// SOUND METHODS
//--------------------------------------------------------------------------------------- -------------
public function startSound1 (): void
{
var request: URLRequest = new URLRequest (urlSong);
var soundFactory:Sound = new Sound();
soundFactory.load (request);
song = soundFactory.play ();
song.addEventListener (Event.SOUND_COMPLETE, soundComplete);
myTransform.volume =. 1;
song.soundTransform = myTransform;
}
public function startSound2 (): void
{
var request2:URLRequest = new URLRequest (urlSong2);
var soundFactory2:Sound = new Sound();
soundFactory2.load (request2);
Song2 = soundFactory2.play ();
Song2.addEventListener (Event.SOUND_COMPLETE, soundComplete2);
myTransform2.volume =. 7;
Song2.SoundTransform = myTransform2;
}
private void soundComplete(e:Event):void
{
startSound1();
}
private void soundComplete2(e:Event):void
{
startSound2();
}
function playSound(event:MouseEvent):void
{
SoundMixer.stopAll ();
controlsContainer.play_btn.visible = false;
controlsContainer.stop_btn.visible = true;
startSound1();
startSound2();
}
function stopSound(event:MouseEvent):void
{
Song.Stop ();
Song2.stop ();
SoundMixer.stopAll ();
controlsContainer.stop_btn.visible = false;
controlsContainer.play_btn.visible = true;
}
//--------------------------------------------------------------------------------------- -------------
// SLIDESHOW METHODS
//--------------------------------------------------------------------------------------- -------------
private void loadImages(thePath:String):void
{
var my_url:String = path;
my_loader = new Loader();
my_loader. Load (new URLRequest (my_url));
my_loader.contentLoaderInfo.addEventListener (Event.COMPLETE, onComplete);
If (holder.numChildren == 0)
{
holder.addChildAt (my_loader, 0);
my_loader.Alpha = 0;
Tweener.addTween (my_loader, {alpha: 1, time: 1, transition: "linear"});
} Else if (holder.numChildren == 1)
{
holder.addChildAt (my_loader, 1);
my_loader.Alpha = 0;
Tweener.addTween (my_loader, {alpha: 1, time: 1, transition: "linear", onComplete: fact, onCompleteParams:[0]});})
} Else if (holder.numChildren == 2)
{
holder.addChildAt (my_loader, 0);
my_loader.Alpha = 0;
Tweener.addTween (my_loader, {alpha: 1, time: 1, transition: "linear", onComplete: fact, onCompleteParams:[1]});})
}
function done(theNum:Number)
{
holder.removeChildAt (theNum);
}
my_preloader = new TextField();
my_preloader. Text = "Loading";
my_preloader. AutoSize = TextFieldAutoSize.Center;
my_preloader.x = (stage.stageWidth - my_preloader.width) / 2;
my_preloader.y = (stage.stageHeight - my_preloader.height) / 2;
addChild (my_preloader);
}
private void onComplete(e:Event):void
{
var my_loaderInfo:LoaderInfo = LoaderInfo (e.target);
my_loaderInfo.removeEventListener (Event.COMPLETE, onComplete);
removeChild (my_preloader);
my_preloader = null;
}
private void timerListener(e:TimerEvent):void
{
my_playback_counter ++;
If (my_playback_counter == my_total) {}
my_playback_counter = 0;
}
slideButtons [my_playback_counter] .dispatchEvent (MouseEvent (MouseEvent.CLICK)) of new;
}
private void stopTimer(e:MouseEvent):void
{
my_timer. Stop();
controlsContainer.pause_btn.visible = false;
controlsContainer.go_btn.visible = true;
}
private void playTimer(e:MouseEvent):void
{
my_timer. Reset();
my_timer. Start();
controlsContainer.pause_btn.visible = true;
controlsContainer.go_btn.visible = false;
}
End of the course
}
}
Not too many people will descend through all this code to try to figure out how it works and what part relates to your question. Since the problem occurs online and not locally, it's probably a problem with loading times. What you need to do if you have not already, is to wait until a file is fully loaded before add you it to the screen. So if you use a charger and a COMPLETE receiver for this be, use the COMPLETE event handler function to add the file newly loaded to the screen.
Tags: Adobe Animate
Similar Questions
-
How to save the slide show settings so when I press on Ctrl + enter only what I want?
How to save the slide show settings so when I press on Ctrl + enter only what I want?
huh?
R
I tested what you gave me there Rob. On my Mac, I have two monitors:
-Blacken / display slide show on a monitor (the primary monitor, if I move LR in my secondary follow-up, the slide show is still on the first, but the second still works normal with LR just sitting there).
-If I turn off slide durration I manually advance the slides with the right arrow.
-I don't have 'Lightroom' (or with my settings current all) text on the screen.
-Does not repeat itself.
My Windows machine is not two monitors, but the others work properly...
In other words, until I thought about it differently. As we seek to change the slideshow settings, I was naturally in the slideshow module. But I then remembered that the interest of the Impromtu Slideshow is that you can view the slide show playback from any module. Once I went back to the library and click Command / Ctrl + Enter, then I saw exactly what you're talking about. Both monitors are blackened, duration of the slide is ignored, etc.
You know why? As the Impromptu slideshow uses one of the models outside the slideshow Module. Which one? Well, by default +, of course. How do change you that? Right-click (Cmde) slideshow model you prefer to use and select «Use for Impromptu slide show»
-
slide show, works not when uploaded to the query server
Site uploaded to the domain: http://www.menterderm.com -does not work
Site downloaded on my student server: http://www.tammy4u2.aisites.com/MDRI/index.html -works well
I use jquery slidshow on my site.
" < script type =" text/javascript"src =" http://AJAX.googleapis.com/AJAX/libs/jQuery/1.10.1/jQuery.min.js "> < / script > .
"< script type =" text/javascript"src="js/jquery.cycle.all.js "> < / script >
< script type = "text/javascript" >
{$(document) .ready (function ()}
$('#slideshow').cycle ();
}); document ready
< /script >
It works very well in Dreamweaver and it still works very well when I download on my student server. But when I went to download on the field (on the Godaddy server), it does not work.
I don't have a lot of problems when I try to download a file using Dreamweaver... it get so frustrating. I am also using Cyberduck to upload files that I seem to be more effective than the use of Dreamweaver, but for some reason I was not able to connect to godaddy using Cyberduck so I had to download using Dreamweaver (this could be related to my problem).
Someone suggests a better way to download using FTP?
Any help or advice would be so appreciated.
I tried the single and double quotes, and it doesn't seem to make a difference. My problem seems to be resolved by the suggestion of Jon.
The slide show is not just working in Chrome and Firefox.
-
Show LOV only when the field is empty
Hi all
My surroundings:
Oracle 10g on Windows
Forms [32 bit] Version 9.0.4.1.0 (Production)
Oracle Database 10 g Enterprise Edition Release 10.2.0.5.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
Oracle Toolkit Version 9.0.4.1.0 (Production)
PL/SQL Version 9.0.1.5.1 (Production)
My problem:
I have a field in a block, which is text_item and is linked to an element of LOV. I want the LOV appears automatically, whenever I tab in there, only when the element is EMPTY (for example when I try to insert in the block). When, upon request, it should show only the value in the field, and user can choose to activate the LOV, by pressing F9, if she wants to. It now displays automatically each time text agenda is a debate (works very well when the user is inserted, but annoying when she questioned the shape and trying to tab thru.) Every time she focuses on the field, LOV is popping up!)
The current setting for the property on the element of text field: Type: text element
The list of values: MY_LOV_NAME
Validation of list: Yes
Properties on MY_LOV_NAME
Auto display: Yes
Any suggestions? Or trigger level I can use, and if so, what build_in can use?
New forms and will greatly appreciate advice from pros!
Thank you
Libran_girlIt's very simple,
IN once - new - item - Instance
DECLARE
V_LOV BOOLEAN;
BEGIN
IF: NOM_ELEMENT IS NULL
THEN
V_LOV = SHOW_LOV (LOV_NAME);
END IF;
END;Try it, you will get your result, if it doesn't work, try: block_name.item_name
Abbas
-
LR 2.3 (x 64) slide show Impromptu only plays in the "second window".
LR 2.3 (x 64) on Vista x 64. Two LCDs - different resolutions ('Second window' = 1024 x 768 & "Main window" = 1920 x 1200).
I can't get the 'impromptu slide show' to play in the 'main' window - he only plays in the second "window".
I cannot encourage the slideshow to play in the main window?
I'm not in the land of Monitor 2 for the moment (pending the new main monitor), but there is an option in the slideshow appearing If 2 monitors are attached, which allows you to select the one that the slide show is running on. Impromptu slideshow settings are based on the most recent settings in slideshow, so this may solve your problem. As I said, I have no way to check here what told the Committee.
-
When I click on the + sign up open a new empty tab, I don't see any of my favorite sites / pins. I see this when I start a new window browser and only for the 'landing page '. Once I go to any other page, I can't get my new tabs tabbed page to display.
I fixed it. I went in: config and had to change browser.newtab.url to about: newtab
Thank you very much! Mark as resolved, have a nice day
-
Change the background color of the slide show full-screen when the option fit content proportionally
I signed up for a demo of Muse and I must say that I am very impressed. After using Dreamweaver in the past in school, often get bogged down in the code, Muse is a designers dream. I even told a few friends about it, calling for «InDesign for web designers» The features and tutorials on Adobes site, are fab but I need now to a little help.
I want several images to fit the entire screen on a specific section of my Muse site, just below the navigation bar. I noticed the best way to do this is to create a slideshow full screen. With this option I can add one or more images fade in and out - communicate various messages and points of sale. By default, as the widget options are defined in the charging framework, which extends from my image to completely fill the browser. Unfortunately with this selected the image loses some quality and seems to zoom in, getting cropped in the process. When you change the settings to adjust the content proportionally everything looks great. The chart is smack bang under my sailing as I desire however there is also a horrible gray area each side because the graph is now its original size. Grey on each side seems to be the background color of the slideshow, but I can't find a way to change this - from grey to black. Please check the link for more information: https://dl.dropboxusercontent.com/u/50403221/Screen%20Shot%202014-08-14%20at%2018.00.34.pn g
If any colleague Musers know of a way around this? Or maybe it's an enhancement request?
Thanks, Chris
Hi Chris,
You can select the slideshow widget that you added and check the fill color in the control panel.
Please refer to the following screenshot:
Kind regards
Akshay
-
Hide/show columns only when exporting to CSV on an IR
Hello
I would not include a column displayed in my interactive report when you export one. CSV.
I've seen on the blog of andy that it is possible to do it on a region in relation WWV_FLOW.g_excel_format = false;
Is is it possible to do it also on an IR with something else?
Thank you
Published by: Ujitsu on June / 09/2010 20:00Hello
You can set the column conditionally by request.
For example the condition function body of PL/SQL returning a Boolean column set that you do not exportRETURN NVL(:REQUEST,'EMPTY') NOT IN('CSV','XLS','PDF','XML','RTF');
I have some examples here
http://Apex.Oracle.com/pls/OTN/f?p=40323:63
EMPNO column is not exported by the reportBR, Jari
-
The images appear tense when played using the slide show in full screen
The images appear tense when played using the slide show in full screen in Windows Vista Basic. That means that a picture of resolution 1920 x 1200 appears full screen covering although a 1920 x 1080 image seems letterbox in fullscreen. My screen resolution was put to the native resolution of 1920 x 1080. It is clear that this slide show program only keeping the proportions of the image. Earlier this problem wasn't there. I think that the slide show program addresses in such a way that my monitor could have 16:10 display of report resolution l / h. thanks for giving me a solution.
This happens usually when the image resolution is high.
Keep your screen resolution of 1024 x 768 and it should work fine.
-
Slow laptop only when playing online games
HelloSo I noticed that my laptop has become suddenly very slow BUT! Slow down its only when I play online games, it's going to be ok for the 1st 5 minutes but after that it will really slow down, his strange since I can watch videos on youtube, etc and surf the web without problem. But if I try the game it will be slow.My specs are: Intel (r) Core (TM) i3 m350 2.27 GHz 2.26 GHz CPURAM: 4 GB with 3.80 GB usableand the type of system is the 64-bit operating systemI have windows 7And no, it's not a connection problem.Also my CPU usage when you play the game will no more than 54% (mainly bounces between 23% and 40%). and my ram is stable enough to 53%I use google chrome, I noticed he blames only when I use chrome, its fine with firefox.
Going to uninstall chrome and download the latest version to see if that helps. -
Lightroom works only when online?
Lightroom works only when I'm online? I have to be online to deal with or work on files? If I can't be online, for example, when, in a remote area without service, how to treat my photos?
You can easily test this by cutting off all access to the network to your computer (turn off wi - fi or unplug the network cable). You will find that you can still get stuff done if there is no Internet. Especially if you use the version without subscription of Lightroom, which didn't need archiving at all once it is first licensed.
If you use Lightroom via a subscription to creative cloud, the annual plan has a limit of 99 days offline (more than 3 months); the limit is 30 days offline for the monthly plan. And if you stop your subscription, you always have access to your images and some features of Lightroom.
-
Hello.
I tried and tried all day.
I even started to check the adobe edge animate to help you.
but so far I couldn t find a solution.
Hopfully somebody can help me.
Here´s idea:
I want to create a clean and simple website.
There should be pictures, one under the other.
When the visitor hovers over one of the images, it should disappear (fade out).
Behind this image is a slideshow in the same format.
When the cursor changes from space, the image is displayed again (fade in).
Another idea is, it's a slide show, which begins when you mouseover
and stops and shows the first picture when you mouesout the area.
There should be no button or anything.
Sounds easy, but I found no solution.
Is there a possibility?
Kind regards
Jan
You can try using compositions, the active State for the triggers of otherwise fair and transparent setting for the target containers. Same thing for all.
Thank you
Sanjit
-
I can't stop slide show of Photos showing the file name at the beginning?
I made a slideshow for a crowdfunding charity event, but the Organizer is hampered by the fact that the file name displayed in large characters, hiding part of the actual text, when the slideshow begins to play. I can't find anything in the controls or insufficient preferences to stop what is happening, someone at - it ideas? I admit it is a bit ridiculous.
Thank you!
Kit.
Using Photos or iPhoto to run your slide show? Only the project title appears automatically on the first slide and does not display the names of files. The user needs to add additional text/filename to each slide with Photosl
If you use iPhoto then click the gear pinion and check the Show Legend checkbox is unchecked in the slideshow settings window:
-
Offline files very slow when it is online
Hello
I have a Dell laptop XPS L702X that I use as a desktop replacement. Because sometimes, I travel with her I use offline files because it is a member of a Windows Server 2003 domain. I synchronize my folder that is very large (approximately 69 GB).
Due to the size of my files offline, I recently moved my folder CSC of my C: drive which is SSD for my more big D: motor pin hard disk drive (I was running out of space on C :). Because then I am experiencing navigation folders on my home folder, 1 or 2 minutes, long delays, but only when I'm online, which is a full-duplex connection of 1 GB to the field.
If I have mapped another player with the same proportion, it shows the same poor performance. If I map a drive to the administrative share of the disk hard server and browse that car performance is great, as I expect.
I don't think that this has nothing to do with network settings because I have good access to work around. What is - this on offline files which is the origin of this performance degradation? Has it to do with the performance of the SSD against the disk hard traditional spindle motor? This seems a little hard to believe.
Navigation of the D drive $ mapped is OK, but I think I'm missing out on something here...
Thanks in advance,
Steve Marak
HelloThe question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.I hope this helps. -
How can I increase the size of a video in a slide show?
I have compiled a number of pictures and video clips in the same slide show.
When I run the show the size of the increase of photos, making them more attractive
Unfortunately, some of the video clips are getting smaller on the screen, the size is about 5x5cm only.
Is there a feature to change the size of the video clips?
Thank you very much
Indeed, this video is only 640 x 480 pixels. Lightroom dimensionnera those not upward. The same thing happens with images that are too small.
Maybe you are looking for
-
Firefox crashes whenever I load a specific Web page
Whenever I load a page "steampowered.com" or its subsidiaries, Firefox seems to crash just after it is loaded. This only happens when I have more than one tab. This just started happening today. I have some crash logs if someone needs.
-
I will lose Norto sure identity if I reset Firefox?
I hate reset Firefox, even if it's slow, that I trust my Norton safe so identity.I just want to confirm that Iwill not lose
-
Switching between Windows Windows Vista
Windows vista has a program that switches between windows, which is pretty cool, but it doesn't work when I try to enter a shortcut key. Help?
-
How can I activate and save Microsoft Streets & Trips?
I installed Streets & Trips, but cannot find how to activate and register the software. I tried to help, but was not able to find the answer.
-
How can I get the Disk Defragmenter to work?
Disk Defragmenter won't start for defragmentation, what I do?