Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about loading 2 pages at the same time



On Dec 6, 2005, at 2:20 AM, huaixing zhang wrote:

What I wanna do is downloading 2 pages (both of which contain flash)
at the same time.
I put both of them into one window, but the difference is one is just
put inside, another one is removed after loadRequest is called. like
this:
[superView addSubview:aWebView];
[[aWebView mainFrame] loadRequest:url];
[aWebView removeFromSuperview];
[aWebView setHostWindow:window];
But now the problem is the second window does not start loading even i
set the host window. (Actually only the html page is loaded, flash is
not loaded)
Anyone know how to load them at the same time (only one window avaliable)?

I'm not sure I understand your question, but I can tell you that you need to call setHostWindow: before removing the web view from its superview.


    -- Darin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden
References: 
 >Question about loading 2 pages at the same time (From: huaixing zhang <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.