Need to loop an FLV

Hi guys,
I have a movie player that uses custom code instead of
components and all is well. But now I need to loop the videos
instead of just having them play through and stop. Does anyone have
a block of code that will pull that off?
My current code is attached.
Thanks!

Here's a bunch of custom video controller code. You can
probably get something from it:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.setBufferTime(30);
ns.onStatus = function(info) {
//trace(info.code);
if(info.code == "NetStream.Buffer.Full") {
bufferClip._visible = false;
if(info.code == "NetStream.Buffer.Empty") {
bufferClip._visible = true;
//if(info.code == "NetStream.Play.Stop") {
//ns.seek(0);
ns.play(vidPath);
//ns.play("
http://www.portfolionewengland.com/interviews/rKukalis150.flv");
playButton.onRelease = function() {
ns.pause();
rewindButton.onRelease = function() {
ns.seek(0);
var videoInterval = setInterval(videoStatus,100);
var amountLoaded:Number;
var duration:Number;
ns["onMetaData"] = function(obj) {
duration = obj.duration;
function videoStatus() {
amountLoaded = ns.bytesLoaded / ns.bytesTotal;
loader.loadbar._width = amountLoaded * 208.9;
loader.scrub._x = ns.time / duration * 208.9;
var scrubInterval;
loader.scrub.onPress = function() {
clearInterval(videoInterval);
scrubInterval = setInterval(scrubit,10);
this.startDrag(false,0,this._y,208,this._y);
loader.scrub.onRelease = loader.scrub.onReleaseOutside =
function() {
clearInterval(scrubInterval);
videoInterval = setInterval(videoStatus,100);
this.stopDrag();
function scrubit() {
ns.seek(Math.floor((loader.scrub._x/208)*duration));
var theMenu:ContextMenu = new ContextMenu();
theMenu.hideBuiltInItems();
_root.menu = theMenu;
var item1:ContextMenuItem = new ContextMenuItem("::::: Video
Controls :::::",trace);
theMenu.customItems[0] = item1;
var item2:ContextMenuItem = new ContextMenuItem("Play / Pause
Video",pauseIt,true);
theMenu.customItems[1] = item2;
var item3:ContextMenuItem = new ContextMenuItem("Replay the
Video",restartIt);
theMenu.customItems[2] = item3;
var item4:ContextMenuItem = new ContextMenuItem("© 2005
Lee Brimelow",trace,true);
theMenu.customItems[3] = item4;
function pauseIt() {
ns.pause();
function stopIt() {
ns.seek(0);
ns.pause();
function restartIt() {
ns.seek(0);
_root.createEmptyMovieClip("vSound",_root.getNextHighestDepth());
vSound.attachAudio(ns);
var so:Sound = new Sound(vSound);
so.setVolume(100);
mute.onRollOver = function() {
if(so.getVolume()== 100) {
this.gotoAndStop("onOver");
else {
this.gotoAndStop("muteOver");
mute.onRollOut = function() {
if(so.getVolume()== 100) {
this.gotoAndStop("on");
else {
this.gotoAndStop("mute");
mute.onRelease = function() {
if(so.getVolume()== 100) {
so.setVolume(0);
this.gotoAndStop("muteOver");
else {
so.setVolume(100);
this.gotoAndStop("onOver");
stop();

Similar Messages

  • Looping an flv

    Hi,
    I'm a novice After Effects user so I my question is probably due to a gap in my understanding:
    I've created an animation in After Effects. When I preview in the work area, the movie automatically loops. (I can shorten my work area and make it loop sooner, etc.) When I export the animation as a SWF, I can choose to 'loop' the movie and when I preview in a browser it loops. That's fine.
    However, for my purposes, I need to make a FLV file out of this animation (and I link it from my overall SWF project). So I add the animation to the render queue and then choose my settings (Render Settings: "best settings", output module: "flv with alpha") and AE makes a FLV. When I link it to my swf project it plays only once and stops. How do I get it to loop forever?
    Thanks

    That is a Flash question, since you will set up the looping of a video within an SWF using Flash Professional. I've moved this to the Flash forum.

  • Warning for Continuous Looping External flv or f4v as2

    Malfunction issued in Continuous Looping External flv or f4v in as2 from containers created in Flash Professional CS6 with code
    on (complete){
    this.autoRewind=true;
    this.play();
    solution: always make a new document!
    Mystic problems with x times resized documents, at media 2 or 3 times play and then not playing external fly/f4v

    use:
    kglad wrote:
    if all your buttons are attached to the same parent:
    on(press) {
      s = new Sound(this);
        s.setVolume(100);
        _parent.mcPlayer.seekToNavCuePoint("pict1");
        mcPlayer.play();
    on (release) {
        i = -100;
        s = new Sound(_parent);
        s.setVolume(0);
        gotoAndStop("reset");
    on (release) {
        i = -100;
        s = new Sound(_parent);
        s.setVolume(100);
        gotoAndStop("hold");

  • Help, I need a 720x540, 24fps .flv export without horizontal lines!

    Hi all,
    I need to export a .flv that is 720x540 and plays at 24fps (real-time).  I do not see a project preset that allows that.  I tried the NTSC Standard 48kHz (it's set at 29.97fps) and time-stretched my video to the correct framerate to sync my audio correctly.  However, my video contained horizontal lines, particularly during areas of motion.  I enabled the "Always Deinterlace" option, as well as the "Reverse Field Dominance" option, but I still see the lines.  Next, I tried the NTSC AVCHD LITE 720p24 setting (set at 24fps); the problem here is that this setting is for 1280x720 video, so it shrunk the exported video and increased the size of the black border.  I have another 720x540 video (but at 29.97fps), so that one had no problems with the first setting (as I believe the aforementioned time-stretching caused those horizontal lines).
    What should I do?  I am completely stuck.  I am using Premiere Elements 9.
    Thank you very much,
    Chris

    Another option on Steve's suggestion would be to choose an HD Preset. Note: the Frame Size will be larger, say 1440 x 720, so your 720 x 540 image will sit, surrounded by black bars, all around. Do not check Scale to Default Frame Size, or similar syntax. Edit, as is needed, and then choose an Export/Share format, that permits one to crop in the Export, like FLV, or WMV. You will be limited in your Export settings, but that will get you output without the black bars.
    Personally, I would output from Maya in a standard Video Aspect Ratio, rather than this odd one.
    Last, PrPro allows one to create a Desktop Preset, where you could choose 720 x 540. Then, you would be able to Export to a few more formats, but some, like DVD-Video, would still not be available, as they have set Frame Sizes and Aspect Ratios.
    How do you plan on doing the delivery of the output files?
    Good luck,
    Hunt
    PS - Steve's suggestion to use one of the ProShow slideshow programs is a good one.

  • Help writing a excel macro to do a copy of 4 cells and paste transpose. I need to loop the copy and paste through 6900 rows of data.

      I need help writing a excelmacro to do a copy of 4 cells and paste transpose.  I need to loop the copy and paste through 6900 rows of data.  I started the macro with two rounds of copying & paster transposed but I need help getting it
    to loop through all rows.  Here is what macro looks like now.
        Range("I2:I5").Select
        Application.CutCopyMode = False
        Selection.Copy
        Range("J2").Select
        Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
            False, Transpose:=True
        Range("I6:I9").Select
        Application.CutCopyMode = False
        Selection.Copy
        Range("J6").Select
        Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
            False, Transpose:=True
    End Sub

    Thanks Jim for the solution above.
    Hi Brogents,
    Thanks for posting in our forum. Please note that this forum focuses on questions and feedback for Microsoft Office client. For any
    VBA/Macro related issues, I would suggest you to post in the forum of
    Excel for Developers, where you can get more experienced responses:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Need to loop a  0 0 2 0 length region every 0 1 0 0 interval......

    Hello, I need to loop a  0 0 2 0 length region every 0 1 0 0 interval. Is there an easy way to do this without adding silence to the region to match the region length to my loop length?

    I found a way by packing the region into a folder, setting the folder length, then looping. This works, but just seems like a lot of unnecessary steps....

  • Need to Loop if No Data Found

    Hi,
    I have been tasked with writing an Oracle Function to query a set of tables to locate data that best matches what a user needs.
    If data is not returned in a given query, we need the procedure to loop and run a modified query. If that query does not give data, we continue to loop and refine until we reach a point where we have expended all of our filtering levels.
    I am new to writing PL SQL and have been doing a lot of googling trying to figure out how to do this, but I am stuck :(
    I have not been able to figure out how to continue looping in the Procedure when there are no results in the record set.
    It is probably something simple, I just haven't been able to figure it out.
    HERE'S WHAT SEEMS TO BE THE PERTINENT PART OF THE CODE:
    OPEN v_cursor FOR v_sql;
    DBMS_OUTPUT.PUT_LINE(v_sql);
    --THIS IS THE PORTION I AM HAVING PROBLEMS WITH:
    --If there are results I want to set the following
    --haveResultsOrAllQueriesDone := TRUE;
    --Otherwise, I want to leave haveResultsOrAllQueriesDone := FALSE; and continue to loop
    RETURN v_cursor;
    END LOOP;
    Thanks in advance for any direction any one can give me.
    Thanks!
    :) Anne
    PS:
    HERE IS THE COMPLETE FUNCTION AS I HAVE IT SO FAR:
    create or replace
    FUNCTION LOCATEACONSULTANT_function
    p_action IN VARCHAR2,
    p_first_name IN VARCHAR2,
    p_last_name IN VARCHAR2,
    p_exact_match IN VARCHAR2,
    p_country_code IN VARCHAR2,
    p_state IN VARCHAR2,
    p_city IN VARCHAR2,
    p_zip_or_postalcode IN VARCHAR2,
    p_language_code IN VARCHAR2)
    RETURN types.ref_cursor
    AS
    v_cursor types.ref_cursor;
    v_temp_cursor types.ref_cursor;
    BEGIN
    DBMS_OUTPUT.ENABLE(1000000);
    DECLARE
    type ref_cursor
    IS
    REF
    CURSOR;
    cursor_locateAConsultant ref_cursor;
    v_select VARCHAR2(3000);
    v_from VARCHAR2(2000);
    v_where VARCHAR2(4000);
    v_sql VARCHAR2(4000);
    stateMapped ref_zip_mappings.state%type;
    countyMapped ref_zip_mappings.county%type;
    cityMapped ref_zip_mappings.city%type;
    haveQueriedLanguage BOOLEAN := FALSE;
    haveQueriedZip BOOLEAN := FALSE;
    haveQueriedCity BOOLEAN := FALSE;
    haveQueriedCounty BOOLEAN := FALSE;
    haveQueriedState BOOLEAN := FALSE;
    haveResultsOrAllQueriesDone BOOLEAN := FALSE;
    haveDoneAllQueries BOOLEAN := FALSE;
    tempLikeZip VARCHAR2(100);
    BEGIN
    v_select := 'SELECT customers.customer_id, customers.last_name, customers.first_name, ';
    v_select := v_select || ' customer_contacts.email_address, addresses.state, addresses.city, ';
    v_select := v_select || ' customer_contacts.web_site, customer_languages.language_code, customer_titles.pqv ';
    v_from := ' FROM customers, customer_addresses, addresses, customer_contacts, customer_titles, customer_languages';
    v_where := ' WHERE customers.customer_id = customer_addresses.customer_id ';
    v_where := v_where || ' AND customer_addresses.address_id = addresses.address_id ';
    v_where := v_where || ' AND customers.customer_id = customer_contacts.customer_id ';
    v_where := v_where || ' AND customers.customer_id = customer_titles.customer_id ';
    v_where := v_where || ' AND customers.preferred_language_code = customer_languages.language_code ';
    v_where := v_where || ' AND UPPER(addresses.country_code) = UPPER(''' || p_country_code || ''') ';
    v_where := v_where || ' AND UPPER(customers.exclude_locate) = '||''''||'N'||''''||'';
    v_where := v_where || ' AND UPPER(customer_titles.customer_type) = '||''''||'CON'||''''||'';
    v_where := v_where || ' AND UPPER(customer_titles.dp_id) LIKE '||''''||'CN%'||''''||'';
    -- Line below assumes that 1 is the billing_address_type
    v_where := v_where || ' AND customer_addresses.address_type_code = 1 ';
    v_where := v_where || ' AND ';
    v_where := v_where || ' ( ';
    v_where := v_where || ' UPPER(customer_contacts.web_site) LIKE '||''''||'%MYARBONNE.COM%'||''''||' ';
    v_where := v_where || ' OR ';
    v_where := v_where || ' UPPER(customer_contacts.web_site) LIKE '||''''||'%MYARBONNE.COM.AU%'||''''||' ';
    v_where := v_where || ' OR ';
    v_where := v_where || ' UPPER(customer_contacts.web_site) LIKE '||''''||'%MYARBONNE.CA%'||''''||' ';
    v_where := v_where || ' OR ';
    v_where := v_where || ' UPPER(customer_contacts.web_site) LIKE '||''''||'%MYARBONNE.UK%'||''''||' ';
    v_where := v_where || ' ) ';
    IF (UPPER(p_action) =UPPER('search')) THEN
    v_where := v_where || ' AND UPPER(addresses.state) = UPPER(trim(''' || p_state || ''')) ';
    IF UPPER(p_exact_match) = UPPER('y') THEN
    v_where := v_where || ' AND UPPER(customers.first_name) = UPPER(trim(''' || p_first_name || ''')) ';
    ELSE
    v_where := v_where || ' AND UPPER(SOUNDEX(customers.first_name)) = UPPER(SOUNDEX(trim(''' || p_first_name || '''))) ';
    END IF;
    IF UPPER(p_last_name) <> '' THEN
    IF UPPER(p_exact_match) = UPPER('y') THEN
    v_where := v_where || ' AND UPPER(customers.last_name) = UPPER(trim(''' || p_last_name || ''')) ';
    ELSE
    v_where := v_where || ' AND UPPER(SOUNDEX(customers.last_name)) = UPPER(SOUNDEX(trim(''' || p_last_name || ''')) ';
    END IF;
    END IF;
    IF UPPER(p_city) <> '' THEN
    v_where := v_where || ' AND UPPER(addresses.city) = UPPER(''' || p_city || ''') ';
    END IF;
    IF UPPER(p_zip_or_postalcode) <> '' THEN
    v_where := v_where || ' AND UPPER(addresses.zip_or_postalcode) = UPPER(''' || p_zip_or_postalcode || ''') ';
    END IF;
    END IF;
    WHILE (haveResultsOrAllQueriesDone = FALSE)
    LOOP
    IF (p_action = 'locate') THEN
    IF (haveQueriedLanguage = FALSE) THEN
    IF (p_language_code <> '') THEN
    v_where := v_where|| ' AND UPPER(customer_languages.language_code) = UPPER(''' || p_language_code || ''') ';
    haveQueriedLanguage := TRUE;
    END IF;
    --ELSE
    -- haveQueriedLanguage := FALSE;
    END IF;
    IF (haveQueriedZip = FALSE) THEN
    v_where := v_where|| ' AND UPPER(addresses.zip_or_postalcode) = UPPER(''' || p_zip_or_postalcode || ''') ';
    IF (haveQueriedLanguage = FALSE) THEN
    haveQueriedZip := TRUE;
    END IF;
    ELSIF (haveQueriedCity = FALSE) THEN
    IF (p_city <> '') THEN
    v_where := v_where|| ' AND UPPER(addresses.city) = UPPER('||''''|| p_city ||''''||') ' ;
    ELSE
    IF (p_country_code = 'UK') THEN
    tempLikeZip := SUBSTR(p_zip_or_postalcode,( LENGTH(TRIM(p_zip_or_postalcode)) - 2 ));
    v_where := v_where || ' AND UPPER(addresses.zip_or_postalcode) LIKE UPPER(TRIM('||'''%'||tempLikeZip ||''''||')) ' ;
    ELSE
    OPEN cursor_locateAConsultant FOR 'SELECT city FROM ref_zip_mappings where UPPER(zip_or_postalcode) = UPPER(TRIM('||''''|| p_zip_or_postalcode ||''''||')) ' ;
    -- OPEN v_temp_cursor FOR 'SELECT city FROM ref_zip_mappings where UPPER(zip_or_postalcode) = UPPER(TRIM('||''''|| p_zip_or_postalcode ||''''||')) ' ;
    LOOP
    FETCH cursor_locateAConsultant INTO cityMapped;
    EXIT
    WHEN cursor_locateAConsultant%NOTFOUND;
    END LOOP;
    CLOSE cursor_locateAConsultant;
    -- RETURN v_temp_cursor;
    v_where := v_where || ' AND UPPER(addresses.city) = UPPER('||''''|| cityMapped ||''''||') ' ;
    END IF;
    END IF;
    haveQueriedCity := TRUE;
    ELSIF haveQueriedCounty = FALSE THEN
    IF (p_country_code = 'UK') THEN
    tempLikeZip := UPPER(SUBSTR(p_zip_or_postalcode,( LENGTH(TRIM(p_zip_or_postalcode)) - 3 )));
    v_where := v_where|| ' AND UPPER(addresses.zip_or_postalcode) LIKE '||'''%'||tempLikeZip ||''''||' ' ;
    ELSE
    OPEN cursor_locateAConsultant FOR 'SELECT county FROM ref_zip_mappings where UPPER(zip_or_postalcode) = UPPER('||''''|| p_zip_or_postalcode ||''''||') ' ;
    LOOP
    FETCH cursor_locateAConsultant INTO countyMapped;
    EXIT
    WHEN cursor_locateAConsultant%NOTFOUND;
    END LOOP;
    CLOSE cursor_locateAConsultant;
    v_where := v_where|| ' AND UPPER(addresses.county) = UPPER('||''''|| countyMapped ||''''||') ' ;
    END IF;
    haveQueriedCounty := TRUE;
    END IF;
    ELSIF haveQueriedState = FALSE THEN
    IF (p_state <> '') THEN
    v_where := v_where|| ' AND UPPER(addresses.state) = UPPER('||''''|| p_state ||''''||') ' ;
    ELSE
    IF (p_country_code = 'UK') THEN
    tempLikeZip := UPPER(SUBSTR(p_zip_or_postalcode,( LENGTH(TRIM(p_zip_or_postalcode)) - 4 )));
    v_where := v_where|| ' AND UPPER(addresses.zip_or_postalcode) LIKE '||'''%'||tempLikeZip ||''''||' ' ;
    ELSE
    OPEN cursor_locateAConsultant FOR 'SELECT state FROM ref_zip_mappings where UPPER(zip_or_postalcode) = UPPER('||''''|| p_zip_or_postalcode ||''''||') ' ;
    LOOP
    FETCH cursor_locateAConsultant INTO stateMapped;
    EXIT WHEN cursor_locateAConsultant%NOTFOUND;
    END LOOP;
    CLOSE cursor_locateAConsultant;
    v_where := v_where|| ' AND UPPER(addresses.state) = UPPER('||''''|| stateMapped ||''''||') ' ;
    END IF;
    haveQueriedState := TRUE;
    END IF;
    END IF;
    v_sql := v_select || v_from || v_where;
    OPEN v_cursor FOR v_sql;
    DBMS_OUTPUT.PUT_LINE(v_sql);
    --THIS IS THE PORTION I AM HAVING PROBLEMS WITH:
    --If there are results I want to set the following
    --haveResultsOrAllQueriesDone := TRUE;
    --Otherwise, I want to leave haveResultsOrAllQueriesDone := FALSE; and continue to loop
    RETURN v_cursor;
    END LOOP;
    END;
    END;

    Thank you so very much for your kindness in answering my question.
    Your suggestion helped.
    We will be accessing this Procedure from a Java Class... I'm not sure how... but I know it is possible and probably not hard... If any one has suggestions, that would be helpful, but I am not concerned about that right now, as I think it should be straight forward... Hopefully I'm right :)
    Thank you again!
    Anne
    Here's the code... which works, though may still need some more fine tuning:
    create or replace
    FUNCTION LOCATEACONSULTANT_function
    p_action IN VARCHAR2,
    p_first_name IN VARCHAR2,
    p_last_name IN VARCHAR2,
    p_exact_match IN VARCHAR2,
    p_country_code IN VARCHAR2,
    p_state IN VARCHAR2,
    p_city IN VARCHAR2,
    p_zip_or_postalcode IN VARCHAR2,
    p_language_code IN VARCHAR2)
    RETURN types.ref_cursor
    AS
    v_cursor types.ref_cursor;
    BEGIN
    DBMS_OUTPUT.ENABLE(1000000);
    DECLARE
    type ref_cursor
    IS
    REF
    CURSOR;
    cursor_locateAConsultant types.ref_cursor;
    v_select VARCHAR2(3000);
    v_from VARCHAR2(2000);
    v_where VARCHAR2(4000);
    v_where_filter VARCHAR2(4000);
    v_sql VARCHAR2(4000);
    v_select1 VARCHAR2(4000):= 'SELECT 1 ';
    v_temp VARCHAR2(1000);
    stateMapped ref_zip_mappings.state%type;
    countyMapped ref_zip_mappings.county%type;
    cityMapped ref_zip_mappings.city%type;
    v_hasRecords NUMBER := 0;
    haveQueriedLanguage BOOLEAN := FALSE;
    haveQueriedZip BOOLEAN := FALSE;
    haveQueriedCity BOOLEAN := FALSE;
    haveQueriedCounty BOOLEAN := FALSE;
    haveQueriedState BOOLEAN := FALSE;
    haveResultsOrAllQueriesDone BOOLEAN := FALSE;
    haveDoneAllQueries BOOLEAN := FALSE;
    tempLikeZip VARCHAR2(100);
    BEGIN
    v_select := 'SELECT customers.customer_id, customers.first_name, customers.last_name, ';
    v_select := v_select || ' addresses.country_code, addresses.state, addresses.city, ';
    v_select := v_select || ' addresses.zip_or_postalcode, customer_contacts.email_address, ';
    v_select := v_select || ' customer_contacts.web_site, customer_languages.language_code';
    v_from := ' FROM customers, customer_addresses, addresses, customer_contacts, customer_titles, customer_languages';
    v_where := ' WHERE customers.customer_id = customer_addresses.customer_id ';
    v_where := v_where || ' AND customer_addresses.address_id = addresses.address_id ';
    v_where := v_where || ' AND customers.customer_id = customer_contacts.customer_id ';
    v_where := v_where || ' AND customers.customer_id = customer_titles.customer_id ';
    v_where := v_where || ' AND customers.preferred_language_code = customer_languages.language_code ';
    v_where := v_where || ' AND UPPER(addresses.country_code) = UPPER(''' || p_country_code || ''') ';
    v_where := v_where || ' AND UPPER(customers.exclude_locate) = '||''''||'N'||''''||'';
    v_where := v_where || ' AND UPPER(customer_titles.customer_type) = '||''''||'CON'||''''||'';
    v_where := v_where || ' AND UPPER(customer_titles.dp_id) LIKE '||''''||'CN%'||''''||'';
    -- Line below assumes that 1 is the billing_address_type
    v_where := v_where || ' AND customer_addresses.address_type_code = 1 ';
    v_where := v_where || ' AND ';
    v_where := v_where || ' ( ';
    v_where := v_where || ' UPPER(customer_contacts.web_site) LIKE '||''''||'%MY%.COM%'||''''||' ';
    v_where := v_where || ' OR ';
    v_where := v_where || ' UPPER(customer_contacts.web_site) LIKE '||''''||'%MY%.COM.AU%'||''''||' ';
    v_where := v_where || ' OR ';
    v_where := v_where || ' UPPER(customer_contacts.web_site) LIKE '||''''||'%MY%.CA%'||''''||' ';
    v_where := v_where || ' OR ';
    v_where := v_where || ' UPPER(customer_contacts.web_site) LIKE '||''''||'%MY%.UK%'||''''||' ';
    v_where := v_where || ' ) ';
    WHILE (haveResultsOrAllQueriesDone = FALSE)
    LOOP
    CASE
    WHEN (UPPER(p_action) =UPPER('search')) THEN
    v_where_filter := '';
    v_where_filter := v_where_filter || ' AND UPPER(addresses.state) = UPPER(trim(''' || p_state || ''')) ';
    IF UPPER(p_exact_match) = UPPER('y') THEN
    v_where_filter := v_where_filter || ' AND UPPER(customers.first_name) = UPPER(trim(''' || p_first_name || ''')) ';
    ELSE
    v_where_filter := v_where_filter || ' AND UPPER(SOUNDEX(customers.first_name)) = UPPER(SOUNDEX(trim(''' || p_first_name || '''))) ';
    END IF;
    IF UPPER(p_last_name) <> '' THEN
    IF UPPER(p_exact_match) = UPPER('y') THEN
    v_where_filter := v_where_filter || ' AND UPPER(customers.last_name) = UPPER(trim(''' || p_last_name || ''')) ';
    ELSE
    v_where_filter := v_where_filter || ' AND UPPER(SOUNDEX(customers.last_name)) = UPPER(SOUNDEX(trim(''' || p_last_name || ''')) ';
    END IF;
    END IF;
    IF UPPER(p_city) <> '' THEN
    v_where_filter := v_where_filter || ' AND UPPER(addresses.city) = UPPER(''' || p_city || ''') ';
    END IF;
    IF UPPER(p_zip_or_postalcode) <> '' THEN
    v_where_filter := v_where_filter || ' AND UPPER(addresses.zip_or_postalcode) = UPPER(''' || p_zip_or_postalcode || ''') ';
    END IF;
    WHEN (p_action = 'locate') THEN
    v_where_filter := '';
    IF (haveQueriedLanguage = FALSE) THEN
    IF (p_language_code <> '') THEN
    v_where_filter := v_where_filter|| ' AND UPPER(customer_languages.language_code) = UPPER(''' || p_language_code || ''') ';
    haveQueriedLanguage := TRUE;
    END IF;
    --ELSE
    -- haveQueriedLanguage := FALSE;
    END IF;
    CASE
    WHEN (haveQueriedZip = FALSE) THEN
    v_where_filter := v_where_filter || ' AND UPPER(addresses.zip_or_postalcode) = UPPER(''' || p_zip_or_postalcode || ''') ';
    IF (haveQueriedLanguage = FALSE) THEN
    haveQueriedZip := TRUE;
    END IF;
    WHEN (haveQueriedCity = FALSE) THEN
    IF (p_city <> '') THEN
    v_where_filter := v_where_filter || ' AND UPPER(addresses.city) = UPPER('||''''|| p_city ||''''||') ' ;
    ELSE
    IF (p_country_code = 'UK') THEN
    tempLikeZip := SUBSTR(p_zip_or_postalcode,( LENGTH(TRIM(p_zip_or_postalcode)) - 2 ));
    v_where_filter := v_where_filter || ' AND UPPER(addresses.zip_or_postalcode) LIKE UPPER(TRIM('||'''%'||tempLikeZip ||''''||')) ' ;
    ELSE
    v_temp := 'SELECT city FROM ref_zip_mappings where UPPER(zip_or_postalcode) = UPPER(TRIM('||''''|| p_zip_or_postalcode ||''''||')) ';
    OPEN cursor_locateAConsultant FOR v_temp ;
    LOOP
    FETCH cursor_locateAConsultant INTO cityMapped;
    EXIT
    WHEN cursor_locateAConsultant%NOTFOUND;
    END LOOP;
    CLOSE cursor_locateAConsultant;
    cityMapped := TRIM(cityMapped);
    v_where_filter := v_where_filter || ' AND UPPER(addresses.city) = UPPER('||''''|| cityMapped ||''''||') ' ;
    END IF;
    END IF;
    haveQueriedCity := TRUE;
    WHEN (haveQueriedCounty = FALSE) THEN
    IF (p_country_code = 'UK') THEN
    tempLikeZip := UPPER(SUBSTR(p_zip_or_postalcode,( LENGTH(TRIM(p_zip_or_postalcode)) - 3 )));
    v_where_filter := v_where_filter || ' AND UPPER(addresses.zip_or_postalcode) LIKE '||'''%'||tempLikeZip ||''''||' ' ;
    ELSE
    OPEN cursor_locateAConsultant FOR 'SELECT county FROM ref_zip_mappings where UPPER(zip_or_postalcode) = UPPER('||''''|| p_zip_or_postalcode ||''''||') ' ;
    LOOP
    FETCH cursor_locateAConsultant INTO countyMapped;
    EXIT
    WHEN cursor_locateAConsultant%NOTFOUND;
    END LOOP;
    CLOSE cursor_locateAConsultant;
    countyMapped := TRIM(countyMapped);
    v_where_filter := v_where_filter || ' AND UPPER(addresses.province_county) = UPPER(TRIM('||''''|| countyMapped ||''''||')) ' ;
    END IF;
    haveQueriedCounty := TRUE;
    WHEN (haveQueriedState = FALSE) THEN
    IF (p_state <> '') THEN
    v_where_filter := v_where_filter || ' AND UPPER(addresses.state) = UPPER('||''''|| p_state ||''''||') ' ;
    ELSE
    IF (p_country_code = 'UK') THEN
    tempLikeZip := UPPER(SUBSTR(p_zip_or_postalcode,( LENGTH(TRIM(p_zip_or_postalcode)) - 4 )));
    v_where_filter := v_where_filter || ' AND UPPER(addresses.zip_or_postalcode) LIKE '||'''%'||tempLikeZip ||''''||' ' ;
    ELSE
    OPEN cursor_locateAConsultant FOR 'SELECT state FROM ref_zip_mappings where UPPER(zip_or_postalcode) = UPPER('||''''|| p_zip_or_postalcode ||''''||') ' ;
    LOOP
    FETCH cursor_locateAConsultant INTO stateMapped;
    EXIT
    WHEN cursor_locateAConsultant%NOTFOUND;
    END LOOP;
    CLOSE cursor_locateAConsultant;
    stateMapped := TRIM(stateMapped);
    v_where_filter := v_where_filter || ' AND UPPER(addresses.state) = UPPER(TRIM('||''''|| stateMapped ||''''||')) ' ;
    END IF;
    haveQueriedState := TRUE;
    END IF;
    END CASE;
    END CASE;
    v_select1 := 'SELECT 1 ' || v_from || v_where || v_where_filter;
    OPEN v_cursor FOR v_select1;
    DBMS_OUTPUT.PUT_LINE(v_select1);
    FETCH v_cursor INTO v_hasRecords;
    IF (v_hasRecords = 1) THEN
    haveResultsOrAllQueriesDone := TRUE;
    ELSE
    haveResultsOrAllQueriesDone := FALSE;
    END IF;
    IF ((haveResultsOrAllQueriesDone = TRUE) OR (haveQueriedState = TRUE)) THEN
    v_sql := v_select || v_from || v_where || v_where_filter;
    OPEN v_cursor FOR v_sql;
    DBMS_OUTPUT.PUT_LINE(v_sql);
    RETURN v_cursor;
    END IF;
    END LOOP;
    END;
    END;

  • Need SWF to accept FLV source at runtime from flashvar

    Hi I need to build an SWF with a FLVPlayback component that gets its
    FLV source from flashvars pased in at runtime via javascript.
    This  is the code I am using on the page:
                     <script type="text/javascript"  src="../../../js/swfobject2.js"></script>
                      <script type="text/javascript">
                              var flashvars = {};
                             flashvars.dSource =  "rtmp://www.xxxxx.com/live/xxxx"; 
                             var params = {};
                              params.scale = "noscale";
                             var attributes  = {};
                             swfobject.embedSWF("swfObj.swf",  "mediaspace", "550", "400", "9.0.0", false, flashvars, params,  attributes);
                     </script>
    Using  swfobject 2.2
    I need a full example of the Actionscript 3  part of this.
    I have only this in my Flash file
    if(root.loaderInfo.parameters["dSource"]  != null)
             mattVid.contentPath =  root.loaderInfo.parameters["dSource"]
    when I compile I get:
    1119: Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.

    OK. I think you got it.
    I really wish I knew more about Flash.
    When I set it to MattVid.source, it still didn't work. However in the file that I *did* have working with a hard coded source, there was one additional line that I did not have in this file. On line 1 I added:
    MattVid.isLive=true;
    And it worked. Therefore it was a combination of two issues, I had set them both right before but not right at the same time in the same file. Once done, it appears to work fine. This is HUGE for us as we are doing dozens of streams a week and I would have to have hardcoded individual files each time. THANK YOU!

  • I have made a script but i need it to run again and again. i mean i need  simple looping pls help me.

    // this is my script  I Want to run this script again nd again 
    doc = activeDocument;
           doAction("Action 4","Set 1");
               doc = activeDocument;
               if (doc.height > doc.width)
                   doAction("Action 1n","Set 1");
              doc = activeDocument;
               if (doc.height > doc.width)
                doAction("Action 1nn","Set 1");
                         else {
              doAction("Action 5","Set 1");     
          if (doc.height < doc.width)
                  doAction("Action 1n","Set 1");
                    doc = activeDocument;
               if (doc.height < doc.width)    
                doAction("Action 1nn","Set 1");
             else {
            doAction("Action 5","Set 1");
    and also before this i want to open folder in that it should open psd 001 and so on...and when after looping it should folder in that it should open psd 002.... OR explain me easy way to looping. as i dont no scripting language.
         Thanks ...

    It is easy to create a template for a collage like you show and populate it with your images with a script. However there are some limitations in Photoshop that may impose limitation on you.  It may also be hard to support some thing and make it easy to create templates.  Something like rotating image and perspective placement most likely can only be done by using complex templates that are hard to create and the scripts would need to replace smart object layers embedded object contents with image that are the same size as the current embedded object.  I chose to make it easy to make templates and not support rotation and perspective with automation.  You can still create template like you show, but images will be place in without rotation and perspective.  However images will be placed image layers in the populated collage that you can change its transform manually to add rotation and perspective.  You can even create a batch if these collages and add the  rotation and perspective  later. View Screen Capture in new browser tab or window so you can scale to actual pixels this site scales uploaded image poorly.
    A video showing on how script population works http://www.mouseprints.net/old/dpr/Populate911_720p.mp4
    Photo Collage Toolkit UPDATED Made Rotate for Best Fit an option in PasteImageRoll.jsx Edit to customize your default settings.
    Photoshop scripting is powerful and I believe this package demonstrates this.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    There are twelve scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    PCTpreferences.jsx - Edit This File to Customize Collage Populating scripts default setting and add your own Layer styles.
    Documentation and Examples

  • Looping a .flv

    I made a .flv file for my website but the thing it i would
    like it to loop non-stop at the moment it runs once then
    stops..what is the action script for it to
    loop?

    If you're using the FLV playback component, write a listener
    for the "complete" event:
    var myListener:Object = new Object();
    myListener.complete = function(evt:Object):Void {
    myFLV.play();
    myFLV.addEventListener("complete", myListener);
    Hope that helps!

  • I need to loop through 1 table and read another until a value changes

    i need to read a table and sum the quantity field until a reason code changes.  how do I go about doing this?

    sort itab by reasoncode.
    Loop at itab.
    quantiy = quanity  + itab-quantity.
    at end of reasoncode.
    jtab-reasoncode = itab-reasoncodee.
    jtab-sum = quantity.
    append jtab.
    clear quantity.
    endat
    endloop.
    or
    sort itab  by reasoncode.
    loop at itab.
    at end of reasoncode.
    sum.
    jtab = itab.
    append jtab.
    endat.
    endloop.
    or
    let us say itab and jtab are two tables and you want to loop through itab and read jtab for reasoncodes.
    if jtab has only one entry for each entry in itab then use read else use loop.
    loop at itab.
    loop at jtab where reasoncode = itab-reasoncode.
    quantiy = quantiy + jtab-quanity.
    endloop.
    endloop.
    or
    loop at itab.
    read table jtab with key reasoncode = itab-reasoncode.
    if sy-subrc eq 0.
    endif
    endloop.

  • Need to loop through Recursive node

    Hi Everyone,
    I am having troubles looping through a node to get a boolean value called "Check".
    Basically I am using the TreeNesteedInTable UI.  One of the columns I display is the "Check" mentioned above.  Basically the user can go through the tree structure and check his/her options.  I should then be able to loop through this structure to get all the records "Checked".  My application is not doing this.
    At the moment I am looping through the top level node - think this is where my probelm is because this node can only be singleton!  This means that I then have to loop through the Recusrsive node of this type to get the values as the recusrive is always non-singleton en must therefor contain the elements I am looking for.  But, i do not know how tho get access to this node.  Is this the correct way of doing it, or how should it be done otherwise?
    Many thanks,
    Christiaan

    HI,
    I got it to work like this:
    public void addICAMForIncident( )  {
        //@@begin addICAMForIncident()
           IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
              try {
                   int count;
                   Bapi1240_Rc rootCause;
                   IPublicEhs_icam.IAbsentOrFailedControlsElement existingAbsentOrFailedControlsElement;
                   IPublicEhs_icam.IAbsentOrFailedControlsElement recursive;
                   IPublicEhs_icam.IAbsentOrFailedControlsElement recursiveChildElement;
                   IPublicEhs_icam.IAbsentOrFailedControlsNode      recursiveChildNode;
              //     if(wdContext.nodeAbsentOrFailedControls() != null){
                             // set header data:
                             wdContext.currentHeader_CreateElement().setRecord_No(wdContext.currentHeader_GDElement().getRecord_No());
                             wdContext.currentHeader_CreateElement().setRecno_Root(wdContext.currentHeader_GDElement().getRecno_Root());
                             wdContext.currentHeader_CreateElement().setIncident(wdContext.currentGPInputNodeElement().getIPIncidentNum());
                             //Top Level Node (Singleton)
                             existingAbsentOrFailedControlsElement = wdContext.currentAbsentOrFailedControlsElement();
                             //We need to go through the values of the RECURSIVE node as that is where the values are!
                             //Each time we expand a node in the tree this recursive node is filled with values
                             for(int i = 0;i<existingAbsentOrFailedControlsElement.nodeRecursiveAbsentOrFailedControl().size();i++)
                                       recursiveChildNode = existingAbsentOrFailedControlsElement.nodeRecursiveAbsentOrFailedControl().nodeRecursiveAbsentOrFailedControl(i);
                                       for(int m = 0;m<recursiveChildNode.size();m++)
                                            recursiveChildElement = recursiveChildNode.getAbsentOrFailedControlsElementAt(m);
                                            if(recursiveChildElement.getCheck())
                                                 //New line in the "table":
                                                 rootCause = new Bapi1240_Rc();
                                                 rootCause.setFunction("009");
                                                 rootCause.setHierarchy_Key("EHS_IAL_STD");
                                                 rootCause.setNode_Key(recursiveChildElement.getNODE_ID());
                                                 rootCause.setRef_Recno(wdContext.currentHeader_GDElement().getRecord_No());
                                                 rootCause.setRef_Object("IAL");
                                                 rootCause.setRef_Recno_Smeas("0");
                                                 rootCause.setPrimarykey("00000000000000000001");
                                                 rootCause.setForeignkey("00000000000000000001");
                                                 rootCause.setFlgfrgnkey(true);
                                                 rootCause.setFlgprimkey(true);
                                                 rootCause.setFlag_Selected(true);
                                                 //add the line to the "table":
                                                 createInput.addRootcause(rootCause);
                                            }//end if
                                       }//end for
                        }// end for
                   // execute:
                   wdContext.currentBapi_Bus1240_Create_InputElement().modelObject().execute();
                   // invalidate the output structure:
                   wdContext.nodeOutput_Create().invalidate();
              } catch (CMIException ex) {
                   msgMgr.reportException(ex.getLocalizedMessage(), true);
        //@@end

  • Looping, Clickable FLV Preview - Click Event not being recognized

    I have tried the following code to create a thumbnail preview that loops and is clickable to go to a new page with a video gallery... The video plays anbd loops, but, it does not seem to recognize the mouse click -- i have a trace that isn't being triggered an nothing happens... code is below. any help appreciated...
    import fl.video.VideoEvent;
    import flash.events.MouseEvent;
    player.fullScreenTakeOver = false;
    player.source =
    "YadWebPreview.flv";
    player.autoRewind = true;
    player.autoPlay = true;
    function Loop(event:VideoEvent):void
    player.play();
    function Link(event:MouseEvent):void
    trace("Clicked");
    navigateToURL(
    new URLRequest(
    "http://yad.nyckatz.com/index.php/about-us/meet-our-people"),
    "_blank");
    player.addEventListener(VideoEvent.AUTO_REWOUND, Loop);
    player.addEventListener(MouseEvent.CLICK, Link);

    I added a button on top of the video and made it transparent.  added the  following code to the button:
    import flash.events.MouseEvent;
    function Link(event:MouseEvent):void
    trace("Clicked");
    navigateToURL(
    new URLRequest(
    "http://yad.nyckatz.com/index.php/about-us/meet-our-people"),
    "_blank");
    myButton.addEventListener(MouseEvent.CLICK,Link);
    getting the following compler errors:
    5000: The class 'fl.controls.Button' must subclass 'flash.display.SimpleButton' since it is linked to a library symbol of that type.
    and the following in the output tab
    ReferenceError: Error #1065: Variable Icon is not defined.
    ReferenceError: Error #1065: Variable FLVPlayback is not defined.
    ReferenceError: Error #1065: Variable ComponentShim is not defined.
    have the following code on the video:
    import fl.video.VideoEvent;
    player.fullScreenTakeOver = false;
    player.source =
    "YadWebPreview.flv";
    player.autoRewind = true;
    player.autoPlay = true;
    function Loop(event:VideoEvent):void
    player.play();
    player.addEventListener(VideoEvent.AUTO_REWOUND, Loop);
    Can't find anything to help figure out how to correct these...  Any help much appreciated.

  • Need a loop

    What kind of loop syntax can be added to...
    SELECT TRUNC(SYSDATE) dt FROM dual
    ... such that it returns all dates between 3/1/2007 and SYSDATE?

    well, perhaps Tom was trying to "dumb it down" for other people. I really find it hard to accept that Tom believes in magic in an oracle database. Perhaps Tom was busy those days, and had ghost writers?
    I don't see the humor in dual that Jonathan does, howver I will agree that it is "special" and an "irritant". special in that you assume there is only one row, and as such, can write code to rely on that, and you ignore the "full" scans in explain plans. An irritant in that you assume it has one row, and then some knucklehead runs a catalog script by mistake, adding a second row to it, and things no longer work as expected; plus some blowhard is always complaining about the full scan from dual.
    Chuck? Hmmm, well, he's a special, magical case, isn't he. I'd give more credence to that quote if I could find it published by oracle (instead of on random blogs and forums). But, for the sake of argument, I'll assume it's true (but if you have a link to it from oracle, I would appreciate it). Regardless of his intentions, the table has existed as a normal, regular, accessible table since at least v5 (that's when I started using oracle, and dual was there then). and even today, in my 10g database, dual is no different than any other table - just check dba_tables.
    the only distinction to be made is the distinction between data, not tables. if you know that a table has one row, you can use it without worrying about extra where, connect by, or group clauses. dual works the same as any other table:
    select dummy, level
    from dual
    connect by level < 5
    and prior dummy=dummy
    and prior dbms_random.value is not null;
    D      LEVEL
    X          1
    X          2
    X          3
    X          4so, the solution that I gave (the one that nobody ever asked for, even though it was the one they wanted all along) works the same for DUAL and for EMPLOYEE. but since the DATA in dual is different than the DATA in employee, you can write a shorter statement when using dual. is that really magic? no, it's just the laws and rules of sql.
    and I never accused the OP of saying dual is "imaginary" (although I chuckled when I read it from you). I'm simply trying to straighten him out, and get him to understand that dual is no different than any other table with one column and one row. that's for his benefit going forward. he'll write much better code if he actually understands what he's doing.
    and the OP did make a blanket statement that "connect by level" does not work on other tables. but it does. like everything in oracle, it just needs to be done correctly. however, I give the OP credit for retracting his statement after he was corrected - "without sufficient syntax to avoid what happened". as I stated, because the data in dual is different than the data in other tables, the "sufficient" sql is different.
    defensive, no. just stating the facts for the edification of the OP, and anyone else reading this thread.
    rude, maybe. depends on how overly sensitive you are.

  • All I need from this sweet .flv to play.

    Hi,
    I have placed a .flv in the application on its first frame
    <means when the application loads, the first frame of .flv is
    showing>. I made its autoPlay to false. I want when I click on
    this .flv it starts playing in the same view. I dont want any other
    window to open just simple playing the movie on a click.
    Any idea???
    This is my code.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" backgroundColor="#ffffff"
    backgroundGradientAlphas="[1.0, 1.0]"
    backgroundGradientColors="[#000000, #000000]">
    <mx:Script>
    <![CDATA[
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    import flash.events.Event;
    public function launch1(event:MouseEvent):void
    myVid.addEventListener(MouseEvent.CLICK, playMovie);
    public function playMovie():void
    myVid.play();
    ]]>
    </mx:Script>
    <mx:VideoDisplay id="myVid" height="270" width="290"
    source="MachineDefrag.flv"
    autoPlay="false" buttonMode="true" useHandCursor="true"
    click="launch1(event)"/>
    </mx:Application>

    The following code should work. When you specify the "click"
    event in the VideoDisplay tag, you don't need to add an event
    listener manually.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" backgroundColor="#ffffff"
    backgroundGradientAlphas="[1.0, 1.0]"
    backgroundGradientColors="[#000000, #000000]">
    <mx:Script>
    <![CDATA[
    public function launch1():void {
    myVid.play();
    ]]>
    </mx:Script>
    <mx:VideoDisplay id="myVid" height="270" width="290"
    source="MachineDefrag.flv"
    autoPlay="false" buttonMode="true" useHandCursor="true"
    click="launch1()"/>
    </mx:Application>

Maybe you are looking for

  • Unable to install CSS3 Mobile Pack on Windows 7 computer

    Adobe Extension Manager says: "This extension cannot be installed, it requires Fireworks version in range inclusively between 11.0 and 11.1." Windows 7 Home Premium 64bit Service Pack 1 Intel Core i7 1.60 GHz Installed memory: 6GB Fireworks CS5 - 11.

  • How to fill values  to custom fields created by EEWB

    Hi All, I am working in CRM 5.0,We have extended the BP transaction with two new fields using EEWB transaction. ZZABC ZZDEF Here goes my problem , i wanted to update data to the new fields using FM. I tried using BUPA_CENTRAL_CHANGE,where i found the

  • Writing in a file

    Hello, I have a JSP which displays the reports and the year in a dropdown list. I am selecting the year in the Servlet and invoking the servlet to run the report and write in a file. For some reasons, it is not writing and is there any better way. Th

  • AE CS4 to FL CS4 becomes Grayscale?

    I have an flv created from AE. I wanted this to loop without resorting to the fake loop in AE which basically repeats the same film x times so I resorted to creating a new project by adding the processed flv file twice; making the timeline twice as l

  • Airport: Web page changes prompts "Airport: Scanning...." and slow access

    This has been an issue for a while. Every time a new page is loaded, the airport does a scanning and eventually the page will load. This also causes some issues with ichat or YIM and server access. Not sure if it hardware or software